somakeit / smib

1 stars 0 forks source link

feat: Add async UI log uploader to periodically upload UI log to server #211

Closed sjefferson99 closed 3 months ago

sjefferson99 commented 3 months ago

Add async method to upload UI log to server periodically in the HID class. This method checks for UI log data, uploads it to the server if necessary, and clears the UI log. Also handles error logging and disabling. This closes #209

sam57719 commented 3 months ago

What happens if someone presses closed when it's closed, do we get a log? Assuming not

sjefferson99 commented 3 months ago

The log is of button presses not outcomes, so any button press, even if no effect is recorded. Useful for seeing when someone presses a button presumably expecting an output even though it doesn't generate any. So close button pressed would be logged if state is closed.

sam57719 commented 3 months ago

@sjefferson99 did you see my comments in the review?