chore: more feedback fixes #129

Merged
naomi merged 4 commits from chore/more-feedback into main 2026-03-24 13:20:37 -07:00
Owner

Summary

  • Fix NaN displayed in Sync New Content / Force Unlock notifications by guarding against undefined counts
  • Poll server for exploration claimability before showing Collect button to prevent client/server desync
  • Return authoritative materials list from craft API to prevent client desync causing false affordability
  • Add test coverage for sync-new-content and explore/claimable endpoints

Closes #125
Closes #127
Closes #128

Test plan

  • Trigger a sync with new content and verify the notification shows a real count instead of NaN
  • Start an exploration, wait for it to complete, and verify the Collect button only appears after the server confirms claimable
  • Attempt to craft a recipe and verify the material counts in the UI update to match the server's authoritative values

This issue was created with help from Hikari~ 🌸

## Summary - Fix `NaN` displayed in Sync New Content / Force Unlock notifications by guarding against undefined counts - Poll server for exploration claimability before showing Collect button to prevent client/server desync - Return authoritative materials list from craft API to prevent client desync causing false affordability - Add test coverage for `sync-new-content` and `explore/claimable` endpoints Closes #125 Closes #127 Closes #128 ## Test plan - [ ] Trigger a sync with new content and verify the notification shows a real count instead of `NaN` - [ ] Start an exploration, wait for it to complete, and verify the Collect button only appears after the server confirms claimable - [ ] Attempt to craft a recipe and verify the material counts in the UI update to match the server's authoritative values ✨ This issue was created with help from Hikari~ 🌸
hikari added 3 commits 2026-03-24 12:15:40 -07:00
Closes #125
Resolves #127
fix: return authoritative materials from craft API to prevent client desync
CI / Lint, Build & Test (pull_request) Failing after 1m15s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m16s
e808d92909
Closes #128
hikari added 1 commit 2026-03-24 13:18:19 -07:00
test: add coverage for sync-new-content and explore claimable endpoints
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m4s
CI / Lint, Build & Test (pull_request) Successful in 1m10s
050e34e6cd
naomi merged commit 6e573bea14 into main 2026-03-24 13:20:37 -07:00
naomi deleted branch chore/more-feedback 2026-03-24 13:20:37 -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#129