Commit Graph

486 Commits

Author SHA1 Message Date
Remmy Cat Stock
de9aefa996
Unify MapPoolSelector components 2022-10-27 13:31:36 +02:00
Kalle
bf4b6fab13 Add object dmg calc to nav and front page 2022-10-26 09:00:43 +03:00
Kalle
86a5e9ee2a Objective damage table change SPU/BRU 2022-10-23 11:59:03 +03:00
Remmy Cat Stock
3ce7c00d5b
Detect active nav item via route handle instead of path matching 2022-10-21 18:29:23 +02:00
Remmy Cat Stock
85fda204c0
Refactor breadcrumbs into a component that uses route handles 2022-10-21 00:48:58 +02:00
Remmy Cat Stock
ab98a106bb
Show dialog for failed login attempts 2022-10-20 22:40:34 +02:00
Kalle
6def5b9397 Format 2022-10-16 10:12:51 +03:00
Remmy Cat Stock
9f7faa2054
Improve result placement display with custom medal icons 2022-10-15 13:17:04 +02:00
Kalle
8470bf228e Map pool on tournament page 2022-10-13 21:39:40 +03:00
Kalle
bdba03a5d8 Datalist on maplist page initial 2022-10-11 20:14:32 +03:00
Kalle
6770b8e214 Map pool from server 2022-10-09 19:06:22 +03:00
Kalle
b1042f8e37 Generates map lists 2022-10-09 00:58:19 +03:00
Kalle
36280db0b1
Merge pull request #990 from curtgrimes/981-readonly-abilities
Fix issue where abilities appeared clickable when they were not
2022-10-05 17:28:14 +03:00
Curt Grimes
0cb1f5a0fb Add back incorrectly removed type="button" 2022-10-04 12:17:35 -07:00
Kalle
5e6ffbebfb Add link to spl2 sendou ink to footer
Closes #908
2022-10-04 21:35:23 +03:00
Curt Grimes
66a198f3f7 Fix issue where abilities appeared clickable when they were not
Issue was introduced in #971.

Fixes #981
2022-10-03 20:35:02 -07:00
Kalle
e1b930ced2
Merge pull request #979 from curtgrimes/draggable-abilities
Add ability to drag abilities into slots
2022-10-02 14:11:28 +03:00
Kalle
5706bfd812 Add IGN inputs 2022-10-02 10:44:45 +03:00
Kalle
5e617e7914 Custom URL submitting error handling 2022-10-02 00:43:55 +03:00
Kalle
ff857f3369 Custom URL url redirects and replacements 2022-10-02 00:25:13 +03:00
Kalle
997fc4ce25
Merge branch 'rewrite' into draggable-abilities 2022-10-01 11:34:43 +03:00
Kalle
100529d84f Fix clicking ability button triggering form submit 2022-10-01 11:31:19 +03:00
Kalle
ca1b1251ca Default values to Ability dragging related props 2022-10-01 11:22:45 +03:00
Curt Grimes
984d14a55b Add ability to drag abilities into slots
- Do not allow dragging an ability onto a slot that cannot accept that
  ability.
- When dragging, dim slots that are not a valid target for the ability
  currently being dragged.
- Do not make any changes to the existing click behavior to assign
  abilities.
2022-10-01 00:19:31 -07:00
Kalle
dd2fc5a414 Refactor BuildCard bottom row 2022-09-27 21:56:26 +03:00
Kalle
2c330620fb Add button to analyzer to build card 2022-09-27 21:53:12 +03:00
Kalle
2495edc5b7 Rename Popover trigger prop
Closes #893
2022-09-27 21:21:21 +03:00
Kalle
492977f45c Add logo with link to front page 2022-09-26 21:21:00 +03:00
Curt Grimes
63d78bc3ae Make <Ability/> support keyboard navigation
`<Ability/>` can now be tabbed through, and it now shares the same focus
outline, hover, and mousedown styles with `<AbilitiesSelector/>`. This
includes the `cursor: pointer` style that makes it more obvious that
this component is clickable like other buttons.

Fixes #894.
2022-09-26 00:28:28 -07:00
Kalle
fa5cd28c0d More friendly error page 2022-09-25 16:18:09 +03:00
Kalle
3129822c49 Remember selected language
Closes #921
2022-09-25 15:55:22 +03:00
Kalle
fb76e24392 Add builds page to nav 2022-09-25 14:58:23 +03:00
Kalle
a5fad589e8 Add limit + load more logic to builds page 2022-09-25 14:55:20 +03:00
Kalle
cb369985c8 Build analyzer don't scroll to top on build change
Closes #952
2022-09-25 14:24:18 +03:00
Kalle
a589b6b903 Add owner to BuildCard 2022-09-25 13:11:03 +03:00
Kalle
88c1fa5b9e Refactor BuildCard to take attributes in one obj 2022-09-25 12:58:22 +03:00
Kalle
494e5af5f7 Builds index page initial 2022-09-25 00:29:49 +03:00
Kalle
2d9dd3f91e Build Analyzer to prod! 2022-09-20 20:48:41 +03:00
Kalle
de3a7995b2 Add popover and explain IA jump RNG reduce 2022-09-18 21:14:47 +03:00
Kalle
b9fcaef8c4 Add Toggle component 2022-09-16 21:16:50 +03:00
Kalle
4c9cd0796e Clear analyzer weapon combobox input on focus 2022-09-15 01:05:55 +03:00
Kalle
e48465b66a Upgrade deps 2022-09-14 14:06:46 +03:00
Kalle
85c74496ec Fix typo 2022-09-14 12:03:47 +03:00
Kalle
ef1b89675d KitCards for analyzer 2022-09-12 19:31:33 +03:00
Kalle
21e1376273 Sub & special weapons in translation json 2022-09-12 18:21:39 +03:00
Kalle
8990f565c7 Fix bug w/ WeaponCombobox not showing initial val 2022-09-12 17:08:49 +03:00
Kalle
3d837a95fe Rename variable 2022-09-12 16:52:52 +03:00
Kalle
3701f48763 Fix can't scroll badge winner report modal
Closes #937
2022-09-10 15:56:28 +03:00
Kalle
1a34a39359 Language switcher toggle 2022-09-05 21:10:57 +03:00
Kalle
5410f52b1f Extract ColorModeToggle component 2022-09-05 17:05:42 +03:00
Kalle
561bca818f Top nav header new place for page title
Closes #910
2022-09-05 15:54:38 +03:00
Kalle
2d77587d7b Move TODO to issues 2022-09-05 15:19:10 +03:00
Kalle
9162b9afd2 Add user build tab E2E tests
Closes #909
2022-09-04 22:13:36 +03:00
Kalle
395be2f95f Upgrade deps 2022-09-04 18:57:56 +03:00
Kalle
db0878c3ab Add color mode toggle
Closes #830
2022-09-04 15:23:59 +03:00
Kalle
b69b20378b Fix + make tickets of problem comments 2022-09-03 18:14:53 +03:00
Kalle
28e3d22f92 Editing builds 2022-09-03 18:14:53 +03:00
Kalle
d69f335866 Can delete build 2022-09-03 18:14:53 +03:00
Kalle
c06a7c4f74 Can submit a new build 2022-09-03 18:14:53 +03:00
Kalle
e94cd3e755 AbilitySelector 2022-09-03 18:14:53 +03:00
Kalle
b75a3c5703 Build schema initial 2022-09-03 18:14:53 +03:00
Kalle
8260004b92 Gear selectors 2022-09-03 18:14:53 +03:00
Kalle
b94a1beb6f UNKNOWN ability 2022-09-03 18:14:53 +03:00
Kalle
6db1136ac2 Add weapons images to combobox 2022-09-03 18:14:53 +03:00
Kalle
a895976381 Weapons selector initial 2022-09-03 18:14:53 +03:00
Kalle
788da90437 BuildCard bottom row buttons 2022-09-03 18:14:53 +03:00
Kalle
9090d19b57 Add build description button 2022-09-03 18:14:53 +03:00
Kalle
816985b5ea Fixes and tweaks 2022-09-03 18:14:53 +03:00
Kalle
0f0542f2e9 Build cards initial 2022-09-03 18:14:53 +03:00
Kalle
b3994ca30d Calendar section on front page done 2022-08-23 18:10:11 +03:00
Kalle
5319a73837 Refactor Avatar component to take user object
Closes #852
2022-08-17 21:06:53 +03:00
Kalle
a4aa217271 Make combobox required on new plus suggestion
Closes #842
2022-08-14 11:08:21 +03:00
Kalle
0e5bf4af83 Better quality Discord avatars Closes #838 2022-08-13 20:45:46 +03:00
Kalle
cc1dee675c Fix when editing event time doesn't match 2022-08-13 15:49:59 +03:00
Kalle
f1081a1caf Merge branch 'rewrite' of github.com:Sendouc/sendou.ink into calendar 2022-08-13 13:45:08 +03:00
Kalle
ec38b80147 Add translations 2022-08-13 12:39:08 +03:00
Kalle
8269288cb2 Banner on calendar page to notify about reporting 2022-08-12 22:52:55 +03:00
Kalle
2a7d32b77f User profile results page 2022-08-11 23:21:15 +03:00
Kalle
f38fafd493 Results styled 2022-08-11 01:08:09 +03:00
Kalle
463f0fada2 Event results initial table component 2022-08-09 23:44:55 +03:00
Kalle
95571bd261 Date input fix error when server rendering 2022-08-07 14:19:43 +03:00
Kalle
53fa0147c7 Get users to combobox via useSWR 2022-08-07 12:07:32 +03:00
Kalle
b36b073521 Initial values from server for report results form 2022-08-06 22:18:06 +03:00
Kalle
f29ca201e8 Render errors if submitting fails 2022-08-06 12:01:45 +03:00
Kalle
8f9b420e31 Reset avatar is errored when src changes
Closes #844
2022-08-06 01:18:03 +03:00
Kalle
45d1ef8f45 Report results UI 2022-08-02 21:35:30 +03:00
Kalle
b33361c673 "adds a new event" E2E test 2022-07-31 15:35:06 +03:00
Kalle
1da04edc2d Calendar new page can edit event 2022-07-30 22:18:27 +03:00
Kalle
a53a448a7f Add tournament action data schema 2022-07-30 16:41:16 +03:00
Kalle
e47391a0bb Implement TagsSelector 2022-07-30 11:55:57 +03:00
Kalle
438c303ef5 Refactor ErrorMessage to use FormMessage 2022-07-30 10:38:39 +03:00
Kalle
c6115e3540 DatesInput tweaks 2022-07-30 10:35:15 +03:00
Kalle
48aa098ecd New Calendar event DiscordLinkInput 2022-07-29 22:47:40 +03:00
Kalle
5b459622d0 Add new events page initial 2022-07-29 21:24:45 +03:00
Kalle
aca0efc746 Calendar on stream progress 25.7. 2022-07-26 01:53:03 +03:00
Kalle
8e3bee8895 stack.vertical -> stack.horizontal 2022-07-24 10:40:51 +03:00
Kalle
912cf5ac57 Events list layout with all elements 2022-07-24 10:38:42 +03:00
Kalle
db0bc1f102 Events layout initial 2022-07-23 13:21:51 +03:00
Kalle
62c803f4ad Calendar navigation initial 2022-07-21 10:25:58 +03:00
Kalle
542b437fce Type safe translations 2022-07-17 12:25:28 +03:00
Kalle
e414ef910f I18n for layout & FAQ page 2022-07-16 16:58:27 +03:00
Kalle
640eba9cea i18n support 2022-07-16 14:56:20 +03:00
Kalle
85fd1b238d Fix user showing logged out when CatchBoundary 2022-07-16 13:26:50 +03:00
Kalle
3bb09a64a3 Fix 404 page crashing 2022-07-16 13:21:01 +03:00
Kalle
8eeaa44d8b Footer fix alignment on mobile 2022-07-13 00:21:14 +03:00
Kalle
64bfa79afc Don't show patrons section if no patrons 2022-07-12 11:12:46 +03:00
Kalle
4d2c72c14f Add contributions page 2022-07-11 23:38:21 +03:00
Kalle
2a33b2cefc Footer tweaks 2022-07-11 21:18:57 +03:00
Kalle
4b8eecc2c9 Footer desktop initial 2022-07-11 16:11:09 +03:00
Kalle
13d9f324cf Fix menu items missing rounded border on bottom 2022-07-10 12:40:34 +03:00
Kalle
bb96f631fe Edit managers frontend 2022-07-07 11:23:16 +03:00
Kalle
2ca589faf6 Add user migration admin feature 2022-07-05 20:15:30 +03:00
Kalle
ab82ed4d28 Add admin page to menu 2022-07-05 15:53:08 +03:00
Kalle
94d5e8c137 Add support for badge hue rotate 2022-07-05 11:30:01 +03:00
Kalle
9f50b04f2e Badge thumbnail images 2022-07-04 22:01:51 +03:00
Kalle
1d3e7dc02f Fix menu visibile on initial load due to SSR 2022-07-04 14:20:19 +03:00
Kalle
d50d2ccaa7 Show badges in nav but don't show any on the page 2022-07-03 13:23:34 +03:00
Kalle
350a435a68 Fix LinkProps import 2022-07-03 13:23:19 +03:00
Kalle
779f735c57 Remove badges from nav 2022-07-03 13:10:05 +03:00
Kalle
12c59a40bf Icons via avif 2022-07-03 12:43:09 +03:00
Kalle
55398278bf Add aria-label to menu button 2022-07-02 14:05:16 +03:00
Kalle
c9c53bc4c5 Fix current page nav icon resolving 2022-07-02 11:25:11 +03:00
Kalle
73cdfb7314 Improve menu a11y 2022-07-02 10:49:52 +03:00
Kalle
e72df27613 Rename MobileMenu -> Menu 2022-07-02 10:34:28 +03:00
Kalle
3154535e39 Tiny menu 2022-07-02 00:33:12 +03:00
Kalle
4df089573e Remove desktop menu 2022-06-30 17:41:58 +03:00
Kalle
8329c28837 Show current page in header 2022-06-29 00:57:38 +03:00
Kalle
0f7518e055 Badge details page initial 2022-06-27 09:36:29 +03:00
Kalle
9963963db2 Move SocialLink to route file 2022-06-25 14:20:14 +03:00
Kalle
1978bd6f1c BadgeContainer on user page initial 2022-06-25 13:26:43 +03:00
Kalle
ca60014bd6 Fix avatar bad src 2022-06-19 12:16:34 +03:00
Kalle
f9d3265e88 Don't show broken image placeholder when ava 404's 2022-06-18 17:42:55 +03:00
Kalle
65aaa54a70 Remove unused pageTitle 2022-06-18 15:53:53 +03:00
Kalle
c7a50ded65 Impersonate users in prod 2022-06-18 15:51:17 +03:00
Kalle
5abb49e2fc Remove SearchInput 2022-06-18 01:04:23 +03:00
Kalle
07cc6699f2 Relative time voting timing info 2022-06-11 21:53:34 +03:00
Kalle
e16ad178ec xxx -> TODO allTruthy 2022-06-11 15:44:58 +03:00
Kalle
904f9877d1 Prefetch chunks behind modal buttons 2022-06-11 15:30:58 +03:00
Kalle
77cadcb06d Move useUser to modules/auth 2022-06-11 11:34:25 +03:00
Kalle
e5617d095e Get rid of unneeded element in MobileMenu 2022-06-11 10:49:20 +03:00
Kalle
5004befc02 Add /plus link to menu 2022-06-11 10:33:14 +03:00
Kalle
ef2d56327d Stricters Typescript 2022-06-10 01:02:59 +03:00
Kalle
7dd6efb832 Replace Array.at with error throwing function 2022-06-10 00:36:06 +03:00
Kalle
5755b06756 Fix removing first suggestion crashing 2022-06-09 00:25:31 +03:00
Kalle
7528652b42 PlusTier view 2022-06-04 16:04:43 +03:00
Kalle
c4af9bfd95 Add test to adding new suggestion 2022-06-04 13:10:00 +03:00
Kalle
6ac99d1d90 Deleting suggestion with FE validation 2022-06-02 17:52:23 +03:00
Kalle
03c7404720 Rename stuff in permissions 2022-06-02 10:10:30 +03:00
Kalle
317937215b Add new suggestion with UserCombobox 2022-05-31 22:35:50 +03:00
Kalle
9bc252b950 Add Combobox 2022-05-31 22:31:29 +03:00