Commit graph

347 commits

Author SHA1 Message Date
c1879d2277
Merge pull request #8 from jedmund/radix
Add valtio state management and Radix components
2022-02-23 14:15:59 -08:00
7e7100cecf Update index.tsx 2022-02-23 14:14:06 -08:00
1ece2d89f8 Fix AboutModal styling and element nesting 2022-02-23 14:14:03 -08:00
214f3cf398 Use GridArray interface 2022-02-23 13:58:25 -08:00
f76d28b5f0 Update SearchModal to use new keys 2022-02-23 13:58:11 -08:00
36f4766620 Update CharacterGrid tree to use state management and new keys 2022-02-23 13:57:58 -08:00
2909da98eb Rename unique canonical keys to generic object 2022-02-23 13:57:38 -08:00
99a2474cbb Update SummonGrid tree to use state management goodness 2022-02-23 02:50:17 -08:00
b284bf1f81 Small syntax updates 2022-02-23 02:35:49 -08:00
bc93565dc5 Remove unused methods and props from WeaponGrid tree 2022-02-23 02:05:07 -08:00
9b505f5e20 Implement state management for Weapon grid
Summon and Character will be next. I didn't really pay attention to code cleanliness, so I'll try to do a pass before merging the PR
2022-02-23 01:51:58 -08:00
2e36a0455d Fix typo 2022-02-23 01:51:17 -08:00
54422255c3 Fix syntax error 2022-02-23 01:51:08 -08:00
ab952ddec4 State object 2022-02-23 01:50:47 -08:00
142b9d2a9d Add valtio 2022-02-23 01:50:40 -08:00
717b38d5b8 Add string to object types
For convenience
2022-02-23 01:50:28 -08:00
8678692a40 Update index.tsx 2022-02-04 23:10:45 -08:00
5f1be4679e Implement Radix's Dialog component for the About modal.
Probably still want to spend some time making this look nice/wordsmithing the copy later.
2022-02-04 22:50:13 -08:00
679710efc3 Implement Radix's Alert dialog for deleting teams
We didn't implement the method for actually doing the deleting yet, though
2022-02-04 20:43:02 -08:00
2140208530 Added BottomHeader for new features
Previous Header was split into a base Header component and TopHeader.
2022-02-04 18:22:57 -08:00
e8876d3b90 Slight update adding Button type
Previous type prop renamed to icon
2022-02-04 18:22:30 -08:00
194b1c5ff3 Remove GridType definitions in favor of the shared one 2022-02-04 18:21:37 -08:00
88b05c6de8 Add ButtonType to enums 2022-02-04 18:21:05 -08:00
cface6a107 Save extra state to server 2022-02-04 14:47:34 -08:00
b42bef99fe Fix bug with uncap levels on Summons and Characters 2022-02-04 02:11:05 -08:00
5bd6ac4bc7 HeaderMenu z-index too low 2022-02-04 00:57:16 -08:00
be90172fad We have to pass around the slug as well 2022-02-04 00:55:58 -08:00
2bf1c75364 Add id to context so state can be shared across tabs 2022-02-04 00:46:17 -08:00
789104cb76 Update index.tsx 2022-02-04 00:17:33 -08:00
c8962296bc
Merge pull request #7 from jedmund/api-refactor
Moved API calls to the grids
2022-02-04 00:16:21 -08:00
be6656f9e9 Final cleanup, removing old methods and moving Context around 2022-02-04 00:15:27 -08:00
a5f64b6dbe Refactored CharacterGrid to pull its own data 2022-02-03 23:51:23 -08:00
ef13369550 Refactored SummonGrid to pull its own data 2022-02-03 23:51:13 -08:00
46feb6895d Refactored WeaponGrid to pull its own data 2022-02-03 23:51:04 -08:00
8744279979 Added a new Endpoint type for specific objects in a party 2022-02-03 23:50:38 -08:00
6b085dfce9 Moved GridType enum here 2022-02-03 23:50:21 -08:00
856d9db1c7
Rename link.svg to Link.svg 2022-02-03 19:56:51 -08:00
f19121b0e9
Rename menu.svg to Menu.svg 2022-02-03 19:56:33 -08:00
4b14901847
Merge pull request #6 from jedmund/ui-update
UI update
2022-02-03 19:51:50 -08:00
e605e96fee Update buttons and header menu styles 2022-02-03 19:50:48 -08:00
8df60c0e1d Fix some bugs with SCSS nesting 2022-02-03 19:50:26 -08:00
5d27509148 Update the element when the weapon swaps
This is still broken, we have to rewrite some API calls to fix it.
2022-02-03 19:50:06 -08:00
a21a66c8ae Move PartyContext to Party component 2022-02-03 19:46:26 -08:00
b6153a959c Change order of uncap indicators and weapon name 2022-02-03 19:44:55 -08:00
4f5a80bd6b Fix proportion of CharacterUnit 2022-02-03 19:44:32 -08:00
db642371b7 Add support for tinting segmented control with party element 2022-02-03 01:58:36 -08:00
8b1f41b0cd Resolve naming conflict with ToggleSwitch style 2022-02-03 01:18:40 -08:00
9f6cd27bce Update default style for PartySegmentedControl 2022-02-03 01:18:18 -08:00
2277a1eff9 Redesign and add styles for element-tinted control 2022-02-03 01:08:55 -08:00
4737b430a1 Add proper scoping 2022-02-03 01:08:40 -08:00