Repository navigation
fix(app): make Offline Sync storage cards readable in light and dark mode - #20419
Merged
Git-on-my-level merged 2 commits intoOct 3, 2026
Merged
Git-on-my-level merged 2 commits into
Git-on-my-level merged 2 commits into
Conversation
Resolve storage cards, labels and badges from one palette. Keep the production clear handlers and verify readable labels/counts, empty Home visibility and clear eligibility with executed widget tests. Failure-Class: new
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Use the shared button for readable labels and minimum tap targets; contain localized titles and move actions below details on narrow or enlarged layouts. Failure-Class: new
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.
Offline Sync’s Manage Storage sheet mixed fixed dark card backgrounds with palette-dependent text, making category labels unreadable in light appearance and secondary labels too faint in dark appearance. Resolve card, badge, title and secondary text colors together for both themes.
The extracted production
OfflineSyncStorageSheetretains the page’s existing counts, confirmation dialogs and deletion handlers. Category Clear actions useOmiButton.secondaryfor readable primary text and a 48pt tap target. Titles truncate beside the count; actions move below the details on narrow sheets or enlarged text.Screenshots
Captured on the connected iPhone 16 and Android LAVA LZG411 using separate debug app identities. The isolated target renders the production storage sheet and existing Home empty-state widget, with zero counts or inert sample counts (2 synced / 3 pending). Before uses the original storage row; after runs the fix. The surrounding fixture is not the complete Offline Sync or Home page, and no auth, sync or recording operation is exercised.
Nonzero counts show the reviewed Clear actions:
The Home empty-state defect already has a merged fix in #20047. Its existing production widget was checked in both themes; this PR does not change Home behavior.
Validation
TZ=UTC bash app/test.sh --concurrency=4 --reporter expanded: 3,929 tests passed, exit code 0, plus the 138-test protected spine.make preflight: all 24 selected checks passed. Draft-body preflight: 23 checks passed. Bounded pre-push gate passed;df970edef3is pushed.Failure class
Failure-Class: new
FC-offline-storage-mixed-palette records the mixed palette/card-background failure introduced by #19378 and the executable production-sheet contrast guard.
Product invariants affected
none