feat: persist crafting zone selection in sessionStorage #49

Merged
naomi merged 1 commits from fix/crafting-zone into main 2026-03-09 22:25:18 -07:00
Owner

Summary

  • Applies the same sticky-zone pattern from #48 to the crafting panel (elysium_craft_zone key in sessionStorage)
  • Introduces a handleZoneSelect wrapper so sessionStorage is updated alongside React state on every zone change
  • Gracefully falls back to verdant_vale if no stored value exists

Test plan

  • Lint — zero errors, zero warnings
  • Build — all packages build cleanly
  • Manual: select a non-default zone in the crafting panel, navigate away and back — zone should still be selected
  • Manual: log out and back in — zone should reset to Verdant Vale

This PR was created with help from Hikari~ 🌸

## Summary - Applies the same sticky-zone pattern from #48 to the crafting panel (`elysium_craft_zone` key in sessionStorage) - Introduces a `handleZoneSelect` wrapper so sessionStorage is updated alongside React state on every zone change - Gracefully falls back to `verdant_vale` if no stored value exists ## Test plan - [x] Lint — zero errors, zero warnings - [x] Build — all packages build cleanly - [ ] Manual: select a non-default zone in the crafting panel, navigate away and back — zone should still be selected - [ ] Manual: log out and back in — zone should reset to Verdant Vale ✨ This PR was created with help from Hikari~ 🌸
hikari added 1 commit 2026-03-09 22:21:44 -07:00
feat: persist crafting zone selection in sessionStorage
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m0s
CI / Lint, Build & Test (pull_request) Successful in 1m7s
f7053dcf2f
Applies the same sticky-zone pattern as the boss, quest, and exploration
panels. A handleZoneSelect wrapper is introduced so that sessionStorage
is updated alongside React state on every zone change.
naomi merged commit 9860a2cb1f into main 2026-03-09 22:25:18 -07:00
naomi deleted branch fix/crafting-zone 2026-03-09 22:25:18 -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#49