refactor: Android shared entity components — port the web's shapes #146
No reviewers
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app!146
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/android-shared-components"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #130 and the Android half of #122. PR 8 of the #137 stack, based on #145 — ports the reference surface's consolidation decisions. Four commits:
JobCardis internal now and Today consumes it; the worth sentence lives under the web's one message id ({n, plural, one {Worth # point} …}).AgendaRow; it's internal now and Today consumes it (birthday and all-day rows keep an empty time slot).RewardsRepository.balanceOfclamps at zero (the web's ruling: a balance is what you can spend); the header chip's private clamp is gone, so all five renderings agree. The Everyone row's lowercase "costs {n}"-without-the-word-points becomes the one "Costs {points}" sentence, the two "N of M done" message ids collapse onto the web's, and Today's reward strip hides a zero balance the way the web does.Board.ktgains aPill(border colour, optional dress; the type badge, value pill, overdue badge and switch-sheet profile chip all wear it) andSectionHeadinggains aleadingslot, collapsing the three hand-rolled group headings (Jobs Everyone, Rewards Everyone, calendar day headings).Emulator-verified against the live deploy: Today's card now shows the repeat glyph, description, "Due tomorrow 18:00" and "Worth 9 points"; the Everyone view's "My jobs" heading wears my mark through the shared heading; the reward strip stayed quiet on a zero balance while still announcing ready-to-claim rewards.
make checkand Android unit tests green; seeded data cleaned up.🤖 Generated with Claude Code
Test report
Coverage: 28.0%
Updated by the check workflow · commit
a95e95efbcAndroid test report
Coverage: 2.4% of lines
Updated by the android workflow · commit
a95e95efbc