Commit graph

38 commits

Author SHA1 Message Date
968ae5c41e
Deploy advanced filters (#297)
* 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

* Added items from 2023/03 Legfest and 2023/03/30 update (#290)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Missed items (#291)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Add more items

* Added World Series to weapon series empty state (#293)

* Push 2023/03 updates to main (#292)

* 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

* Added items from 2023/03 Legfest and 2023/03/30 update (#290)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Missed items (#291)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Add more items

* Added items from 2023/03 Legfest and 2023/03/30 update (#290)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Missed items (#291)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Add more items

* Add World series to empty state

* Added items from 2023/03 Legfest and 2023/03/30 update (#290)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Missed items (#291)

* Added avatars (#286)

* 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

* Added new weapon series

* Added updates

* Add more items

* Enables advanced filters in collections (#289)

* Add skeleton of FilterModal

* Install react-slider from Radix

* Move AccountModal styles to more generic place

* Make generic TableField and move styles

This is so we have a base for other table rows that use different interactive elements

* Implement custom Slider component

This inherits from Radix's Slider

* Implement SliderTableField

* Implemented SwitchTableField

* Change enabled switch color

* Implement InputTableField

* Update modal skeleton

* Added localizations for Advanced filters

* Update styles for various components

Added some new colors and fixed spacing

* Added value reporting and fixed a cycle error

* Added default values, clearing filters, etc

* Default values
* Ability to clear filters
* Receiving values from components

* Fix maximum cycle depth exceeded error

* Update TableFields to not error

Also optional value is required

* Create FilterSet.d.ts

* 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

* Add new localizations

* Change types and add default filterset object

* Add fast-deep-equal package

* 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

* Set width of Select in table field in Filter dialog

* Add style for filter button with filters active

* 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)

* Populate values from defaultFilterSet

* 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.

* Remove default filterset

This was moved to a utils/ file

* Propagate filters from modal

This updates how we handle filter propagation to accommodate the advanced ones. The icon lights up when filters are active.

* Implement advanced filters on Teams page

* Add skeleton of FilterModal

* Make generic TableField and move styles

This is so we have a base for other table rows that use different interactive elements

* Implement custom Slider component

This inherits from Radix's Slider

* Implement SliderTableField

* Implemented SwitchTableField

* Implement InputTableField

* Update modal skeleton

* Added localizations for Advanced filters

* Update styles for various components

Added some new colors and fixed spacing

* Added value reporting and fixed a cycle error

* Added default values, clearing filters, etc

* Default values
* Ability to clear filters
* Receiving values from components

* Fix maximum cycle depth exceeded error

* Update TableFields to not error

Also optional value is required

* Create FilterSet.d.ts

* 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

* Add new localizations

* Change types and add default filterset object

* 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

* Set width of Select in table field in Filter dialog

* Add style for filter button with filters active

* 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)

* Populate values from defaultFilterSet

* 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.

* Remove default filterset

This was moved to a utils/ file

* Propagate filters from modal

This updates how we handle filter propagation to accommodate the advanced ones. The icon lights up when filters are active.

* GridRep adjustments

* Properly unset mainhand when cells get reused and the new team doesnt have one
* Slightly better styling to make the grid more correct

* Fix bad merge

* Add advanced filter support to saved and profile pages

* Fix auto guard text

* Ensure fetchTeams callback is updated with filters

* Add auto guard icon to GridRep

* Disable max buttons and turns

* Fix build errors
2023-04-09 19:40:15 -07:00
c7e0836202
February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
4a219378c7 Fix bug with party name 2023-01-07 22:59:26 -08:00
54dd3feba7 Add new fields to parties
I forgot to commit
2023-01-03 18:06:27 -08:00
ff5e9ce5c0 Update regex to support Youtube short URLs
Mya just had to go and fucking use the short URLs and break embedding
2023-01-02 02:35:39 -08:00
e48f0a4289 Update regex to support Youtube short URLs 2023-01-02 02:19:09 -08:00
ab81b70b13 Fix line wrapping and linkify URLs again 2022-12-29 03:24:41 -08:00
74db26bdd6 fix #62
Descriptions would show up on teams that didn't have one if you viewed a team with a description directly before
2022-12-27 08:18:11 -08:00
ccd6829fc6 Quick fixes 2022-12-26 12:45:54 -08:00
797215eeff Implement Youtube embeds 2022-12-26 09:48:12 -08:00
d1bf180a94 Further fix exposed party details 2022-12-26 00:29:06 -08:00
57a0ce62c2 Fix party details when new 2022-12-26 00:22:30 -08:00
c3f8fa57d0 Always show title/raid/author-style party details 2022-12-25 23:52:24 -08:00
64070b17b6 Remove unused imports and vars 2022-12-23 00:34:25 -08:00
90a0447787 Fix updating raid in party details 2022-12-23 00:33:28 -08:00
cc3e14a8c4 Remove include 2022-12-22 23:51:48 -08:00
bbcdb74ade Update PartyDetails 2022-12-22 01:39:51 -08:00
1e3480e3c0 Update Button and implementations 2022-12-06 13:16:11 -08:00
2ee8060c63 Remove moved code
This method was moved to [party].tsx
2022-12-05 19:47:00 -08:00
c37f0754fb Implement radix select 2022-12-05 18:04:12 -08:00
efa864fb80 Run prettier on src 2022-12-04 07:19:31 -08:00
2c8c205d84 Translate party titles 2022-11-16 06:07:46 -08:00
5a797f0d14 Fix party details
* Populate from SSR
* Hide button to edit empty anonymous grids
2022-11-16 05:47:30 -08:00
e1dfb73544 Cleanup 2022-03-14 19:55:54 -07:00
bda2639d88 Redesign read only state and add save button 2022-03-14 16:47:13 -07:00
aefd6c3754 Make RaidDropdown to be a controlled component
It also indexes on the raid's `slug` instead of `id`, a new key that will let us get to using query params to filter
2022-03-07 00:27:35 -08:00
16c9446eb5 Fix title for untitled auth parties 2022-03-04 16:03:15 -08:00
cd53394a7f Fix meta tags 2022-03-04 14:57:21 -08:00
d6695d195c Added og tags 2022-03-04 07:55:36 -08:00
1da152cbcc Fix title for new teams 2022-03-04 07:31:02 -08:00
f9eec04201 Implemented Linkify in PartyDetails 2022-03-04 06:31:44 -08:00
102be62a7f Hacky first pass at titles
Hacky because the titles for some pages don't load until the data comes in, which takes a second. There's gotta be a better way.
2022-03-04 05:54:16 -08:00
ff65b6e281 Fix party name and description not actually displaying 2022-03-01 19:54:39 -08:00
1c34803578 Added a smooth loading transition + FilterBar on parties 2022-03-01 01:11:32 -08:00
a9f14c8a38 Add an optional All option to raid select 2022-02-27 00:39:37 -08:00
ea37cf6a79 Fix style conflict 2022-02-26 17:46:13 -08:00
aae67b08af Add hooks to send data back to the server 2022-02-26 15:55:45 -08:00
32f864baa6 Implement read-only and editable views for party details 2022-02-24 18:19:15 -08:00