GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing github.com — Add Timer's Time Remaining to StatusIcons by JustScott · Pull Request #1967 · InfiniTimeOrg/InfiniTime Conversation
|
|
Build size and comparison to main:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
612500d to
5ef3a85
Compare
I like this feature a lot, as I use the timer regularly. Since you asked for opinions, how about making it part of the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
5ef3a85 to
071aebf
Compare
There was an error while loading. Please reload this page.
|
@vkareh Here's how the timer would look as a StatusIcon: There are currently 2 issues with this:
I'll implement these fixes/changes, but first I'd like some feedback on whether this is something people actually want. I personally think it could be nice, but honestly I don't see myself needing to know how much time is remaining on a timer in the second it takes me to switch between apps (but some people may). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@vkareh Ah I missed the part where the status icons update every 5 seconds. I think moving this timer to the status icons would be the best solution if the weather icon is moved as shown in your image above. I'll try this out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Alright I moved the timer from right above the time on the digital watchface, to the StatusIcons 'area'. Also, I'm VERY new to C++, and was just following what looked to be the right way to pass this timer controller around, but I feel it got added to too many places... so feedback on whether the code is correct or not would be much appreciated. To me it seems like it would be best if I could just define the timer controller within |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I created a PR to move the weather widget: #1998 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
8e55197 to
a36cde7
Compare
a36cde7 to
3fa9dbb
Compare
e289435 to
da482ba
Compare
217e5fc to
8681c2a
Compare
|
I've applied the changes from all of vkareh's reviews, and have been using this without issue for quite a while now. Here's some images of how it looks with the digital watch face weather changes. @JF002 would this be something you'd be interested in including in version 1.16.0? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
20c10c2 to
2580264
Compare
There was an error while loading. Please reload this page.
|
Adjusted the code to work with the new alarm icon in the status icons from #1884. To prevent crowding I moved the timer over a hair: It doesn't align well with the weather in the digital watch face... but I didn't think it aligned all that well before either: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
2580264 to
f4b341e
Compare
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Maybe to save space the timer could shorten to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Incredible timing, I was just working on something like this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
be6bd90 to
18855db
Compare
|
Minutes are now only shown if greate than 0. Another icon is also allowed if the user is using 24H time instead of 12H time. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
When a timer is active the time remaining will be displayed in the StatusIcons bar along with an hour glass symbol, and will be set to hidden when the timer's off.
This commit moves the timeRemaining and timerIcon into a timerContainer nested within the primary container. This ensures the timeRemaining and timerIcon stay closer together than the other items in the primary container, while still dynamically aligning with the rest of them. When two or more icons (excluding batteryIcon) are present, the timeRemaining and timerIcon are replaced by a soloTimerIcon to prevent overlap with the time in the top left corner.
Loop through the children of `container` to count visible icons instead of hardcoding each icon. Adding icons to the container no longer requires adding another hardcoded icon to the active Icon counter logic.
Removes the minute counter from the timer when under a minute to allow displaying the remaining second count with more icons.
18855db to
24cd41f
Compare
|
If you want to be more aggressive, I'd even remove the colon This looks great, BTW, and I use this feature every day. Looking forward to rebasing the new look into my daily-driver branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Reduced timer letter spacing to save space Allows up to four icons (using an example stopWatch icons for the fourth icon): Another example with hour support from PR #2243: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Most aggressive would be to replace the current time with the time remaining for as long as the timer is running 😄 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.