fix: manage a job's linked reward from the job sheet (#110) #140
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!140
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/reward-job-links"
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?
PR 2 of the #137 stack (stacked on #139). Closes #110.
Investigation first: the server's
RewardService/Updateand/Deletehandle linked rewards correctly (verified against the live deploy, including on the exact reward from the issue), and the Rewards board's Everyone view has offered edit/delete in the reward sheet since 2026-08-06. What was actually missing is the affordance where the member is standing: the job sheet's Points row offered only Unlink — repricing or removing the reward attached to a job meant knowing to walk to the Rewards board and find the same reward there.Two commits:
LinkedRewardRowcomponent serves both sites. Deletion propagates to the board without a reload (a removed-uids set, the Rewards page's own pattern), on Jobs and Today alike. The new verbs gate on the precise matrix rows (RewardService/Update,RewardService/Delete), not theItemService/Deletemanager proxy — no new #135 debt.RewardsRepository.updateReward/deleteRewardseams; danger wears icon and word per the design rule. Catalogs regenerated.Verified live: value-only
Updatepreserves name/type/owner/link and moves only the value; delete removes the reward and the job survives.make checkand the Android unit tests pass.🤖 Generated with Claude Code
Test report
Coverage: 28.2%
Updated by the check workflow · commit
bb6b20edc8Android test report
Coverage: 2.4% of lines
Updated by the android workflow · commit
bb6b20edc8