Commit graph

1175 commits

Author SHA1 Message Date
4b8e905630 Implement InputTableField 2023-03-21 19:27:17 -07:00
d1dbcab005 Implemented SwitchTableField 2023-03-21 19:27:03 -07:00
914f8929ed Implement SliderTableField 2023-03-21 19:26:51 -07:00
3b3e2d50b3 Implement custom Slider component
This inherits from Radix's Slider
2023-03-21 19:26:22 -07:00
a1152e5827 Make generic TableField and move styles
This is so we have a base for other table rows that use different interactive elements
2023-03-21 19:25:49 -07:00
e3bdf820b4 Add skeleton of FilterModal 2023-03-21 19:25:11 -07:00
e13c07d57f Implement advanced filters on Teams page 2023-03-21 19:20:05 -07:00
43e615fdf3 Propagate filters from modal
This updates how we handle filter propagation to accommodate the advanced ones. The icon lights up when filters are active.
2023-03-21 19:20:05 -07:00
61e17f655c Remove default filterset
This was moved to a utils/ file
2023-03-21 19:20:05 -07:00
b4464be30c Update how we save and propagate filters
We save filterset in a local state, because the FilterBar will send it down to us from cookies.

We then set each individual property from that filter set.

We set inputs to have a placeholder, as max buttons and max turns could not be set (null). Then, we only send those fields when they have a value provided by the user.
2023-03-21 19:20:05 -07:00
3a2504a70e Populate values from defaultFilterSet 2023-03-21 19:20:05 -07:00
a6cde5ebcd Swap to using selects for some boolean fields
Charge Attack, Full Auto, and Auto Guard are not boolean values since the user can select (and the default should be) to show both on and off values. We swap to using a SelectTableField here to represent this difference.

We also added logic for Full Auto and Auto Guard fields since they are tied together in some cases (you can't show Auto Guard teams that have Full Auto disabled)
2023-03-21 19:20:05 -07:00
5ed05bc5b4 Add style for filter button with filters active 2023-03-21 19:20:05 -07:00
d4e70d9807 Set width of Select in table field in Filter dialog 2023-03-21 19:20:05 -07:00
b0a4bf8fc4 Change value in table fields
* Input table fields need to be able to be empty
* Slider table fields should default to 0 if value isn't provided
2023-03-21 19:20:05 -07:00
8ab65a98e9 Add fast-deep-equal package 2023-03-21 19:20:05 -07:00
062767549b Change types and add default filterset object 2023-03-21 19:20:05 -07:00
84870dceb2 Add new localizations 2023-03-21 19:20:05 -07:00
591b16c880 Send filtersets to FilterModal
This sends the default filterset and the user's filterset to the filter modal.

The default filterset is used when resetting all filters. The users filterset is used so that it is populated with the user's values when they open the modal
2023-03-21 19:20:05 -07:00
0b861146e4 Create FilterSet.d.ts 2023-03-21 19:20:05 -07:00
e36de8389e Update TableFields to not error
Also optional value is required
2023-03-21 19:20:05 -07:00
e67a8aa359 Fix maximum cycle depth exceeded error 2023-03-21 19:20:05 -07:00
bc4c870d72 Added default values, clearing filters, etc
* Default values
* Ability to clear filters
* Receiving values from components
2023-03-21 19:20:05 -07:00
fe3ef4129c Added value reporting and fixed a cycle error 2023-03-21 19:20:05 -07:00
87390bc07c Update styles for various components
Added some new colors and fixed spacing
2023-03-21 19:20:05 -07:00
6ec0eb6351 Added localizations for Advanced filters 2023-03-21 19:20:05 -07:00
5900672089 Update modal skeleton 2023-03-21 19:20:05 -07:00
ece5e2434c Implement InputTableField 2023-03-21 19:20:05 -07:00
0418c01bc4 Change enabled switch color 2023-03-21 19:20:05 -07:00
2bf578fec9 Implemented SwitchTableField 2023-03-21 19:20:05 -07:00
b67c3bc8b5 Implement SliderTableField 2023-03-21 19:20:05 -07:00
9b7b54b562 Implement custom Slider component
This inherits from Radix's Slider
2023-03-21 19:20:05 -07:00
82ec214b5d Make generic TableField and move styles
This is so we have a base for other table rows that use different interactive elements
2023-03-21 19:20:05 -07:00
1e59d767ba Move AccountModal styles to more generic place 2023-03-21 19:20:05 -07:00
c71b926316 Install react-slider from Radix 2023-03-21 19:20:05 -07:00
ef1f8e83d8 Add skeleton of FilterModal 2023-03-21 19:20:05 -07:00
43287a692c
Deploy #287 (#288)
* Added avatars

* Added content from the 2023/03/22 update (#287)

* Added avatars (#286)

* Added localizations

* Added update, changed CSS

* Add logic for showing Lucifer uncap and 250 art
2023-03-21 17:46:57 -07:00
a83c384300
Added avatars (#286) 2023-03-20 15:05:50 -07:00
bd838305e6
Bug fixes and content updates (#270)
* Fix character hovercard z-index

* Allow unauth users to edit their remixed parties

* Adds ultimate_mastery and renamed master_level to defs

* Add granblue_id to weapon keys

* Add granblue_id to AX skills

* Add granblue_id to data-granblue-id

* Added bugfixes to update notes

* Fix types where ItemSelect is used

These need an empty `granblue_id`
2023-03-17 01:35:49 -07:00
86248c82f5
Merge pull request #262 from jedmund/staging
Release content update 2023/03F
2023-03-16 06:08:47 -07:00
5469d9a4a5
Merge pull request #261 from jedmund/dread-barrage
Add items for 2023/03 Flash Gala and Dread Barrage raids
2023-03-16 06:00:02 -07:00
157dd09476 Add 2023-03 Flash update 2023-03-16 05:54:27 -07:00
5bc267f3e2 Fix ContentUpdate styling 2023-03-16 05:54:20 -07:00
9e5e8b4baf Rename Guild Wars section 2023-03-16 05:54:06 -07:00
08eaa1198d Sort GW and DB raids correctly 2023-03-16 05:33:11 -07:00
192d911f24 Add Dread Barrage section to raid list 2023-03-16 05:33:03 -07:00
e81d5f12a5
Merge pull request #247 from jedmund/staging
Add ContentUpdate component and update updates page
2023-02-28 09:00:22 -08:00
25d0f4d07d Fix mistake in fix build error 2023-02-27 21:18:13 -08:00
16cc7ffb30 Fix build error 2023-02-27 21:14:26 -08:00
1f083073e4
Merge pull request #246 from jedmund/2023-03-legfest
Add items for 2023/02 Legfest
2023-02-27 20:55:20 -08:00