Commit graph

325 commits

Author SHA1 Message Date
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
af3698458d Add element-based color variables 2022-02-03 01:00:45 -08:00
1344b43bee Update size/color of plus icons in grids; replace values with vars 2022-02-03 00:42:33 -08:00
97fafbd8f1 Remove hardcoded color from new icons 2022-02-03 00:31:35 -08:00
adf450f612 Fix WeaponUnit hover bug 2022-02-03 00:28:33 -08:00
2384058674 Add new icons 2022-02-03 00:26:51 -08:00
bdb2082e7d
Merge pull request #5 from jedmund/ui-update
Rudimentary responsive redesign
2022-02-03 00:19:39 -08:00
d3da38b6c4 Small refactoring 2022-02-03 00:15:42 -08:00
6ea13cad82 Make SummonGrid responsive 2022-02-03 00:10:15 -08:00
bbc97d8e55 Make CharacterGrid responsive 2022-02-02 23:58:01 -08:00
d5332ccee5 Make WeaponGrid responsive 2022-02-02 23:39:06 -08:00
061e510b44 Update variables 2022-02-02 23:34:38 -08:00
f9eba3d857 Fix Menu authenticated status 2022-02-02 21:42:36 -08:00
50d2d814eb Fixing bugs 2022-02-02 20:57:51 -08:00
7ff4ee0a8f Update index.tsx 2022-02-02 20:54:03 -08:00
e06e2c7f23 Update api.tsx 2022-02-02 20:44:06 -08:00
30d5e68fe5
Merge pull request #4 from jedmund/uncap-indicator
Implement interactive uncap indicators
2022-02-02 20:39:45 -08:00
4fb2fd16b8 Fix optimistic UI and prevent saving identical uncap values 2022-02-02 20:36:22 -08:00
8f77794262 Update index.tsx 2022-02-02 19:37:28 -08:00
11e1a81ada Fix extra switch 2022-02-02 19:28:47 -08:00
8192f1d0ce Update index.tsx 2022-02-02 19:08:48 -08:00
ecfc62900d Trading working uncap indicators for working party creation
We start storing the party ID here so that we know (and can come to know) when we are working with an existing party.

Updating the weapon grid based on `weapons` the state vs `props.weapons` makes saving items to a party work properly.

Unfortunately, it sends us back to square one with debouncing the uncap indicators.
2022-02-02 19:07:10 -08:00
065c198e67 Fix uncap indicator optimistic ui update bug 2022-02-02 18:43:55 -08:00