Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sjefferson99
Copy link
Member

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

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
@sjefferson99 sjefferson99 requested a review from samcorky August 1, 2024 23:02
@samcorky
Copy link
Contributor

samcorky commented Aug 2, 2024

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

@sjefferson99
Copy link
Member Author

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.

@samcorky
Copy link
Contributor

samcorky commented Aug 4, 2024

@sjefferson99 did you see my comments in the review?

@samcorky samcorky self-requested a review August 4, 2024 08:55
@sjefferson99 sjefferson99 merged commit e23d10c into master Aug 4, 2024
@sjefferson99 sjefferson99 deleted the Button-logger branch August 4, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log button presses and time and push to SMIB

3 participants