Commit graph

54 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
54dd3feba7 Add new fields to parties
I forgot to commit
2023-01-03 18:06:27 -08:00
d314f1d528 Update versions of Radix components 2023-01-02 01:47:43 -08:00
8d0860893e Add and implement fix-date
Safari does not handle certain date formats well, and this library fix-date fixes it practically invisibly.
2022-12-27 10:39:49 -08:00
ccd6829fc6 Quick fixes 2022-12-26 12:45:54 -08:00
00288da476 Add dependencies 2022-12-26 09:47:36 -08:00
04b354defd Install @radix-ui/react-select 2022-12-04 14:27:08 -08:00
b0fbf19249 Add new dependencies
@radix-ui/react-toast and next-themes
2022-12-04 07:19:49 -08:00
9d769f5aa8 Use cookies-next instead of react-cookie 2022-11-15 03:46:03 -08:00
ef6ea9b415 Cleanup unused packages, modules and files 2022-03-22 00:29:41 -07:00
baddad41a9 Removed packages 2022-03-11 01:34:04 -08:00
1bf119722a Add infinite scroll component 2022-03-11 01:14:06 -08:00
7148675a02 Add Radix dropdown menu 2022-03-08 20:12:33 -08:00
6d197e9f08 Add next-usequerystate
This library is for helping manage/link state with query params
2022-03-07 02:42:01 -08:00
80089843a3 Install and setup i18n packages 2022-03-04 17:55:51 -08:00
9dde43c3f5 Added Linkify package 2022-03-04 06:31:32 -08:00
01bbab968e Add Radix switch 2022-03-04 05:15:58 -08:00
5039358368 Add Radix hovercard component 2022-03-03 21:06:39 -08:00
bbca27d82c Add Radix toggle group package 2022-03-01 19:52:36 -08:00
64b26470ac Add react-scroll 2022-02-24 18:13:37 -08:00
e37865b2d2 Added clonedeep 2022-02-23 14:52:09 -08:00
142b9d2a9d Add valtio 2022-02-23 01:50:40 -08:00
679710efc3 Implement Radix's Alert dialog for deleting teams
We didn't implement the method for actually doing the deleting yet, though
2022-02-04 20:43:02 -08:00
827473ee5a Refactor object grids to handle business logic instead of Party 2022-02-02 16:54:14 -08:00
7f96b4c9a9 Added lodash debounce dep 2022-02-01 05:03:26 -08:00
ad4c67411e Remove old routing deps 2022-01-31 23:40:57 -08:00
c4ad493831 Install wouter 2022-01-31 23:34:38 -08:00
ce691ef9c6 Fix environment variable stuff 2022-01-29 23:22:48 -08:00
47c7e7c093 Another test 2022-01-29 23:01:22 -08:00
6b39168be2 Add react-env to try to get it to work 2022-01-29 22:55:44 -08:00
4d439ba14b Add cache directories for Heroku 2022-01-28 23:21:33 -08:00
05f2c8d30f Added react-dom types 2022-01-28 21:13:17 -08:00
565e9bef58 Add Radix components 2022-01-24 23:16:59 -08:00
1094922869 Revert to handling SVGs as components 2022-01-24 23:16:49 -08:00
728803d9c5 Migrate to Next.js 2022-01-24 21:54:50 -08:00
cfdd722536 Update package.json 2022-01-24 18:44:08 -08:00
59096faec9 Update package.json 2022-01-14 20:38:16 -08:00
2f779e5207 Add include-media dependency 2020-10-26 03:05:23 -07:00
0e5ebdee1e Remove PostCSS for Sass 2020-10-25 22:07:32 -07:00
3e4a39253d Add babel 2020-09-25 03:38:04 -07:00
03736e01e5 Fuck Express and fuck Javascript 2020-09-18 05:38:41 -07:00
f56eb042ae Actually try without express 2020-09-18 05:35:54 -07:00
5904c24dfe Try without express 2020-09-18 05:35:02 -07:00
7465e8f5a2 Move postcss-normalize out of dev deps 2020-09-18 05:18:42 -07:00
b92409d7e9 Add an express server I guess 2020-09-18 05:13:23 -07:00
0bc9e90442 Rename build script to start 2020-09-18 05:06:13 -07:00
3d81172d80 Add axios 2020-09-18 03:07:22 -07:00
46733d1918 Add types for classnames and react-router-dom 2020-09-18 00:07:19 -07:00
d95b97d0e5 Add react-router typings 2020-09-16 03:44:12 -07:00