hensei-web/components
Justin Edmund fc616aab01
Break collection pages into hooks (#414)
This refactors the collection pages (teams, saved and profiles) into a
bunch of hooks that handle various chunks of functionality. This way,
the actual "pages" have significantly less logic and significantly less
repeated code.

* **useFavorites** handles favoriting teams
* **useFilterState** handles the URL query filters
* **usePaginationState** simply holds data pertaining to pagination
* **useFetchTeams** handles fetching and parsing team data from the
server
* **useTeamFilter** pulls all other states together and handles some
logic that is closest to the page

Co-authored-by: Justin Edmund <383021+jedmund@users.noreply.github.com>
2024-04-21 00:46:04 -07:00
..
about Game updates: 2024-03-25 (#412) 2024-03-25 05:55:19 -04:00
auth Implement rudimentary Bahamut Mode (#381) 2023-09-09 02:29:30 -07:00
character Used the wrong key (#413) 2024-03-25 06:01:51 -04:00
common Fix text colors for tags (#395) 2023-12-30 16:04:21 -08:00
dialogs Deploy quality fixes (#328) 2023-06-21 03:44:43 -07:00
ElementToggle Migrate to CSS modules (#335) (#336) 2023-07-04 00:43:49 -07:00
ErrorSection Migrate to CSS modules (#335) (#336) 2023-07-04 00:43:49 -07:00
extra Add support for weapon transcendence (#402) 2024-01-15 14:16:49 -08:00
filters Break collection pages into hooks (#414) 2024-04-21 00:46:04 -07:00
head Tactical mobile fixes (#352) 2023-07-06 19:23:40 -07:00
Header Small fixes 2023-09-09 17:44:49 -07:00
HovercardHeader Add support for weapon transcendence (#402) 2024-01-15 14:16:49 -08:00
job 2024/01 Update (#398) 2024-01-08 04:07:19 -08:00
LanguageSwitch Migrate to CSS modules (#335) (#336) 2023-07-04 00:43:49 -07:00
Layout Migrate to CSS modules (#335) (#336) 2023-07-04 00:43:49 -07:00
mastery (Hotfix) Popover and hovercard fixes (#379) 2023-09-01 16:13:39 -07:00
MentionList Add support for including/excluding items from team filtering (#363) 2023-08-21 20:01:11 -07:00
party 2024/01 Update (#398) 2024-01-08 04:07:19 -08:00
raids (Hotfix) (Temporary) nuclear option for raid population (#339) 2023-07-04 02:20:48 -07:00
reps Add support for weapon transcendence images (#404) 2024-01-25 02:51:04 -08:00
search Break collection pages into hooks (#414) 2024-04-21 00:46:04 -07:00
summon Game updates: 2024-03-25 (#412) 2024-03-25 05:55:19 -04:00
toasts Migrate to CSS modules (#335) (#336) 2023-07-04 00:43:49 -07:00
uncap Add support for weapon transcendence (#402) 2024-01-15 14:16:49 -08:00
weapon Game updates: 2024-03-25 (#412) 2024-03-25 05:55:19 -04:00