Commit graph

664 commits

Author SHA1 Message Date
401506dcf8 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:33:22 -07:00
78e47f513b Add style for filter button with filters active 2023-03-21 19:33:03 -07:00
9769c43e6b Set width of Select in table field in Filter dialog 2023-03-21 19:33:03 -07:00
d0c1f07422 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:33:03 -07:00
88e830dd78 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:33:03 -07:00
d916658072 Update TableFields to not error
Also optional value is required
2023-03-21 19:32:09 -07:00
388e8ff49e Fix maximum cycle depth exceeded error 2023-03-21 19:31:39 -07:00
d2c40c1d0d Added default values, clearing filters, etc
* Default values
* Ability to clear filters
* Receiving values from components
2023-03-21 19:31:02 -07:00
18aa3d4a4e Added value reporting and fixed a cycle error 2023-03-21 19:29:52 -07:00
a62db832eb Update styles for various components
Added some new colors and fixed spacing
2023-03-21 19:29:31 -07:00
e4eb90aff1 Update modal skeleton 2023-03-21 19:28:39 -07:00
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
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
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
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
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
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
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
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
08eaa1198d Sort GW and DB raids correctly 2023-03-16 05:33:11 -07: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
caf5819369 Update index.tsx 2023-02-27 20:54:57 -08:00
1123e0789f Add new content to updates page 2023-02-27 20:52:07 -08:00
3dbbb3c151 Add ContentUpdate component 2023-02-27 20:44:38 -08:00