-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Step counter history added #2120
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
07fc444
Introduce an alias for the step counter's type
Hunman a1a45df
Inverted the circular dependency of MotionService and MotionController
Hunman cd1815b
Converted MotionController::nbSteps to CircularBuffer internally
Hunman 71cef51
Added an enum for the index of today and yesterday
Hunman f07a16f
Display yesterday's step counter on the Steps screen
Hunman 35129e9
At midnight, "shift" the step counter history
Hunman 24eab6f
Clang-format changes
Hunman cc8a381
Do not set unsigned step count to -1
Hunman a0b468d
Capitalising Day enum's members "Today" and "Yesterday"
Hunman 275c70e
MotionController::NbSteps should take a Days enum as parameter
Hunman 144c7d0
Removed step counter history getter
Hunman fcfdea7
Removed step_t
Hunman 0f2c2ff
Reverted to the original MotionController and MotionService dependency
Hunman a5f2d2c
Changed MotionController::Days from enum to enum class
Hunman e973125
Changed MotionController::stepHistorySize to hard-coded value again
Hunman 1b8ff02
Merge branch 'InfiniTimeOrg:main' into step-counter-history
Hunman b3695c6
Clang-format fix
Hunman 40fbf1c
Merge branch 'main' into step-counter-history
Hunman 08e56d8
Merge branch 'main' into step-counter-history
Hunman 1694333
Merge branch 'main' into step-counter-history
Hunman 4d9996b
Merge branch 'main' into step-counter-history
Hunman d3a2aa0
Merge branch 'main' into step-counter-history
Hunman d91a6b8
Refactored `MotionController::NbStepsRef()` into two functions
Hunman 2bff7a3
Merge branch 'main' into step-counter-history
Hunman 31f8d3c
Moved the `yesterdayStr` from the Steps header to the .cpp
Hunman c2908f1
Removed duplicate `GetSteps` method from the `MotionController`
Hunman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice one finding a wrong formatter. it has always been unsigned. now it is right!