Commit graph

383 commits

Author SHA1 Message Date
45ef4e569b Add flat raid list and callbacks
The flat raid list is so that we can quickly find which raid was selected, since otherwise they're in option groups
2022-02-26 15:55:20 -08:00
68a6e037f2 Cleanup 2022-02-26 15:53:46 -08:00
499dde433e Save raids in state 2022-02-26 15:53:32 -08:00
ed59762c71 Add value prop 2022-02-24 18:19:21 -08:00
32f864baa6 Implement read-only and editable views for party details 2022-02-24 18:19:15 -08:00
7df3da2d34 Add raid dropdown component 2022-02-24 18:18:56 -08:00
7e6e1209dd Add active prop 2022-02-24 18:18:39 -08:00
f9857eb772 Add components for textareas and text limited fields 2022-02-24 18:18:28 -08:00
fe14c38fd9 Fix name in state and add detailsVisible flag 2022-02-24 18:15:23 -08:00
e00a07d10c Various styling fixes and adjustments 2022-02-24 18:15:08 -08:00
f0cf09dc31 Remove user-generated details
This goes somewhere else
2022-02-24 18:14:32 -08:00
662062b622 Fix arrow SVG 2022-02-24 18:13:56 -08:00
f778fd2cf8 Add element to Raid type 2022-02-24 18:13:47 -08:00
64b26470ac Add react-scroll 2022-02-24 18:13:37 -08:00
c4ec4f76cf Add endpoint for raids 2022-02-24 18:13:30 -08:00
0a096e9dc0 Store party details in state when data is fetched 2022-02-23 19:23:31 -08:00
45c133f450 Change the sent param for the extra toggle 2022-02-23 19:23:19 -08:00
094d2e83d6 Add party details to state 2022-02-23 19:23:04 -08:00
b68cca53a7 Create Raid.d.ts 2022-02-23 19:22:56 -08:00
a9af5aed67
Merge pull request #10 from jedmund/delete-team
Finish migrating state and implement deleting teams
2022-02-23 16:44:49 -08:00
9a5c2835d5 Add destroy logic 2022-02-23 16:43:08 -08:00
54f9d3682b Update API to map destroy endpoint properly 2022-02-23 16:42:56 -08:00
c88e9be025 Final updates removing context and replacing with state 2022-02-23 16:13:28 -08:00
1d82bc5055 Insert account info into state when the app first loads 2022-02-23 16:12:45 -08:00
a6b222000c Remove references to React context and replace with state where necessary 2022-02-23 15:59:46 -08:00
d1c602dd59 Remove React contexts 2022-02-23 15:58:37 -08:00
1a39108e38 Add user info in account state 2022-02-23 15:58:26 -08:00
d688ade570 Fix tap targets in header menu 2022-02-23 15:16:31 -08:00
06eef3c248 Fix a small bug where party was not editable in state 2022-02-23 15:04:25 -08:00
520a4dd3f5
Merge pull request #9 from jedmund/new
Fix behavior for new grids
2022-02-23 14:53:43 -08:00
514ed28cfc Clean state when New button is pressed 2022-02-23 14:52:44 -08:00
bbe78566ad Update existing instances of state to use appState 2022-02-23 14:52:35 -08:00
b8d3def32b Broke out state into accountState and appState 2022-02-23 14:52:18 -08:00
e37865b2d2 Added clonedeep 2022-02-23 14:52:09 -08:00
1a52439150 Extra toggle should be switchable on empty grids 2022-02-23 14:28:48 -08:00
fd5cc3a395 Remove unused prop from Button 2022-02-23 14:19:30 -08:00
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