feat: show progress toward unlock conditions on achievement cards #71

Merged
naomi merged 1 commits from feat/achievement-progress into main 2026-03-19 11:45:36 -07:00
Owner

Summary

  • Adds a getCurrentProgress helper that mirrors the tick engine's achievement-checking logic to compute the player's current progress for each condition type
  • Locked achievement cards now display a <progress> bar and a numeric {current} / {target} label so players can see exactly how close they are to each achievement
  • Unlocked achievements are unaffected — no progress bar shown once earned

Test plan

  • Verify locked achievement cards display a progress bar and numeric label
  • Verify the progress values match what the tick engine uses for unlock checking
  • Verify unlocked achievement cards show no progress bar
  • Confirm lint, build, and tests all pass

Closes #57

## Summary - Adds a `getCurrentProgress` helper that mirrors the tick engine's achievement-checking logic to compute the player's current progress for each condition type - Locked achievement cards now display a `<progress>` bar and a numeric `{current} / {target}` label so players can see exactly how close they are to each achievement - Unlocked achievements are unaffected — no progress bar shown once earned ## Test plan - [ ] Verify locked achievement cards display a progress bar and numeric label - [ ] Verify the progress values match what the tick engine uses for unlock checking - [ ] Verify unlocked achievement cards show no progress bar - [ ] Confirm lint, build, and tests all pass Closes #57
hikari added 1 commit 2026-03-19 11:43:36 -07:00
feat: show progress toward unlock conditions on achievement cards
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m3s
CI / Lint, Build & Test (pull_request) Successful in 1m9s
32d3a188be
Locked achievement cards now display a progress bar and numeric
label (e.g. "50,000 / 1,000,000") so players can track how close
they are to earning each achievement.

Closes #57
naomi merged commit d723656743 into main 2026-03-19 11:45:36 -07:00
naomi deleted branch feat/achievement-progress 2026-03-19 11:45:36 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/elysium#71