Repository navigation
Animated progress bar for today's goal - #101
Merged
Merged
Conversation
|
Snapshot diff report vs
All 18 changed screenshotsAllActivitiesScreenshotTest
AnkiquestHomeScreenshotTest
CustomStudyScreenshotTest
DeckPickerScreenshotTest
DeckPickerTabletScreenshotTest
NavigationDrawerScreenshotTest
ReviewRemindersScreenshotTest
|
Lint's UseKtx check flags the manual save()/restore() pair.
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
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.
Replaces the two plain meters in Today's goal card with a progress bar that looks like a game, and adds a one-line version of it above the deck list.
Design:
AnkiquestGoalBar): an 18dp fully rounded track with a blue gradient fill (light #4FA8FF → #2B66D9, brighter in night mode). It has a glossy white stripe along the top and a glowing white knob at the leading edge. Milestone dots sit at 25/50/75% and pop when the fill passes them.onResume, so it updates after reviewing. It goes throughAnkiquestDeckPickerHooks.refreshGoal;DeckPickeronly gets that one call.Quest meters are unchanged. New strings are in en/es/de/fr/pt.
Tests:
AnkiquestGoalBarTestcovers clamping, over-target, reached and gold, labels and the time left, contentDescription, reduced motion, animating from the remembered value (and from 0 on a new day), chip states, and showing, hiding and reusing the deck-list line.AnkiquestHomeScreenshotTest.todayGoalcaptures Today with a goal at 48/140 and the streak at 7/10.