-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion: Setui proposal preview app #3487
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting from this iteration of the code: https://github.com/espruino/Espruino/blob/8f18a3002eb9d5b6b3d6c5fc8e35ddbecdf44ebd/libs/js/banglejs/Bangle_setUI_Q3.js
To make the ui feel snappier. First discussed around here: espruino#3435 (comment)
In addition to `btn` adds `btnRelease` to act on `falling` edge. Clears button handlers that maybe was set as part of one of the standard modes before adding the custom button handlers.
gfwilliams
reviewed
Jul 3, 2024
gfwilliams
reviewed
Jul 3, 2024
Thanks! Looks good - just the minor stuff I commented on, and then we can merge it in and post on the forum and see what the response is like |
thyttan
force-pushed
the
setui-proposal-preview
branch
2 times, most recently
from
July 3, 2024 20:32
a490a86
to
4f116f8
Compare
By prepending `Bangle.setUI =`
after trying it seemed like it was not necessary.
thyttan
force-pushed
the
setui-proposal-preview
branch
from
July 3, 2024 20:38
4f116f8
to
eaa2918
Compare
Here's a diff agains the firmware with changes as they are now:
|
Thanks - this looks great! Merging now |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@gfwilliams
Related issues:
#3435
#3452
As proposed here: espruino/Espruino#2526 (comment)
Updated the code on the companion spotrem PR: #3485
Both the setUI change app (
setuichange
) and the correspondingly updatedspotrem
can be installed from my app loader: https://thyttan.github.io/BangleApps/