-
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
Alarm type and settings; fix drag keyboards colors settings #3001
Alarm type and settings; fix drag keyboards colors settings #3001
Conversation
I think this can make sense - thanks!
Did you notice that too long strings will draw outside of their menu entry? That's mainly why I implemented the "..." cut off. Is this handled when overflow is on? Or is that actually what you're after? Should the menu entry be able to change height to accommodate longer strings?
If the functionality isn't available yet I'd think it's better to not add this code now but later when it's done instead.
Please can you break these out in separate commits at least? Or even PRs. It makes it easier to undo the app specific changes if later we notice something broke. (If you want to I can do a PR to your fork/branch to do this) Thanks! |
For the overflow, yes, long strings will draw outside of their menu entry (and still generally be readable), and that's what I'm after. (maybe others won't find it "pretty enough", that's why this feature is behind a config) Yes, if you could please do a PR to my fork/branch and break it however you like, I'll just reopen PR(s) for the structure you send. |
To be recommitted in app specific commits. This reverts commit 4569f52.
Courtesy of @lauzonhomeschool
Courtesy of @lauzonhomeschool
Courtesy of @lauzonhomeschool
I just made a PR to lauzonhomeschool:alarm_type_and_settings, so if you pull that in it will update on this PR 👍 As for the rest I think that's fair enough - ping @gfwilliams. I haven't gone through the checklist yet. |
Split up "alarm settings (incl group), drag keyboard settings fix" in app specific commits
Just pinging you again @gfwilliams |
Ahh - I though I was waiting for you to go through the checklist... Please could you define the default values at the top when you load the settings, like:
And then you wouldn't need these My worry is that in future if someone were to try and change the default value, they'd have to do it all over the code and it wouldn't be very obvious Also the CI check threw up a warning about |
Sorry about that! |
Done. Thanks for the advices. |
That's great, thanks! Just made some minor tweaks, and merging now |
Screen real estate is important, it impacts how fast we can use and see important stuff on the Bangle.
I added settings to show or not certain Alarm features (e.g. I never use "Confirm", I just click the watch button to save); the default value for those settings match the current behaviour (i.e. no change to existing users unless they select an other config).
I also prefer to show overflow text rather than to have to see "..." and have to click once more to see the full text, so I added a setting to allow this. (OFF by default)
I also added one more optional (not shown by default) text input called "Group" (in a future PR, when the setting to show the Group is ON, Alarms/Events where the user typed the same "Group" string will appear under a sub-menu of the same name as the Group (e.g. "B-DAY").
I fixed the colors settings in the drag keyboards (not sure if this is a new behaviour or if I just happened to have the fixed version on my watch already and didn't notice).