baetheus/spellbook

Remove Build Page

Closed this issue · 0 comments

The goal is to simplify the Browse page to function as the current Build page does.

Logic Changes

  • Remove book array and use a Set to determine if a spell name is "Selected"
  • Toggle spell adds/removes spell name from selected Set
  • Create validator to encode/decode array to name Set

UI Changes

  • Selected spells show up as selected color border instead of black
  • Tap on spell card toggles spell (check mobile scroll tap behavior)