Commit Graph

498 Commits

Author SHA1 Message Date
Kalle
d8136f3262 Fix Combobox full widthness 2022-12-15 18:22:43 +02:00
Kalle
7945e1ecc7 User page: weapon pool 2022-12-13 18:51:06 +02:00
Kalle
750e1708ee Better divider color for dark mode 2022-12-13 18:51:06 +02:00
Kalle
aa12c224bd Fix front page icon color 2022-12-13 18:51:06 +02:00
Kalle
39fa236f40 CSS remove forcd white color rule 2022-12-10 21:12:24 +02:00
Kalle
0fd1bc0e2b Map Planner: TC Blueprint backgrounds 2022-12-10 20:44:19 +02:00
Kalle
3caecef855 Obj DMG Calc: Support calculating multishot 2022-12-10 16:17:43 +02:00
Kalle
7d44cc1b44 BuildCard: Modes from popup to top right 2022-12-08 22:24:23 +02:00
Kalle
56b28c9c77 Fix lint 2022-12-08 21:34:20 +02:00
Kalle
26e43b2ead Restore light mode 2022-12-08 21:29:51 +02:00
Kalle
4adb15af49 Fix PWA main padding 2022-12-07 18:28:33 +02:00
Kalle
b86a99a919 Calendar: Fix tag text alignment 2022-12-07 18:17:55 +02:00
Kalle
8223cfe953 Fix front page layout shift 2022-12-06 15:15:53 +02:00
Kalle
3f013bd38b Fix front page horizontal overflow
Closes #1183
2022-12-06 14:59:15 +02:00
Kalle
abc6fded7b Use safe-area env var for PWA header top padding 2022-12-06 14:53:46 +02:00
Kalle
1e3832944f PWA 2022-12-06 14:18:20 +02:00
Kalle
45e9e3072d Improve build popup visibility 2022-12-06 13:11:27 +02:00
Kalle
225751a935 Remove redundant title on maps page 2022-12-06 13:07:43 +02:00
Kalle
ed05120647 Narrower patron section not to overlap with side nav 2022-12-06 13:00:52 +02:00
Kalle
15f386496d Adjust analyzer weapon badges styling 2022-12-06 12:49:58 +02:00
Kalle
06c43e8f0a User search page
Closes #1032
2022-12-05 21:58:12 +02:00
Kalle
847c573da5 Background color for header popovers 2022-12-05 20:13:08 +02:00
Kalle
ddbd73152b Calendar: Fix tag text not readable 2022-12-05 20:09:52 +02:00
Kalle
3cf9a2e445 New theme secondary 2022-12-05 19:42:04 +02:00
Kalle
ed6790fca0 Planner: Scrollable weapons section 2022-12-05 18:54:46 +02:00
Kalle
8c6a5e67a0 Make "sendou.ink" never show ellipsis 2022-12-05 18:49:27 +02:00
Kalle
4f7c3c6110 Build: Theme color for icon 2022-12-05 16:32:08 +02:00
Kalle
34ca290bdd
Redesign (#1179)
* Remove light mode

* Trim header

* New front page initial

* Get rid of build layout

* Breadcrumbs

* Desktop side nav

* Overhaul colors

* Add breadcrumbs

* New sub nav style

* Front page action buttons

* Add back add new build button

* Add articles page with icon

* Minor Object damage page layout tweaks

* Remove one unnecessary render from object damage

* Fix wrong link in article page

* Profile -> My Page in header

* Log in/out buttons in front

* Add drawings to front page

* Remove unnecessary comment
2022-12-05 16:05:51 +02:00
William Lam
29682e52d8
Fixed Calendar WeekLink element CSS styling (#1164)
* Fixed Calendar WeekLink element CSS styling by adjusting height & min-height dynamically

* Fixed lint error

* Adjusted min-height to match that of the live version of the site
2022-12-05 00:07:42 +02:00
CardBoardBoss
60b1ca9e26
Object DMG AP UI Relocated and Icons For AP Effects (#1174)
* UI Relocated and Icons For AP Effects

The UI for AP has been moved  over the damage receivers that receive its effects

* Ran Lint Tests

* Updated damage calc UI to pass remaining tests
2022-12-05 00:02:35 +02:00
Kalle
2067e8f7a7 Build Analyzer: Highlight when section/card active 2022-11-26 17:38:17 +02:00
Kalle
1648e28ba9 BuildCard: Better title wrapping and alignment
Closes #1163
2022-11-26 17:08:00 +02:00
Kalle
bbf0e9a034 BuildCard: Move mode icons inside popup 2022-11-26 16:42:20 +02:00
Kalle
bb722b225f Move all immutable assets to one folder
Closes #918
2022-11-26 16:33:43 +02:00
Kalle
3b418be3fb Planner: Add link to go back to home page
Closes #1153
2022-11-23 22:12:40 +02:00
Kalle
aea7406586
Map Planner (#1145)
* Initial

* Add images

* Tweaks

* Proper sized bg image and weapons

* Stage bg picker

* Outlined weapon images for planner

* First version

* Lint

* Add alt and title to weapon
2022-11-23 17:38:38 +02:00
William Lam
b69302c095
Fix <select /> dropdown arrow color for Light Mode (#1142) 2022-11-20 23:52:19 +02:00
Kalle
fd390f3fc3 Move menu up 2022-11-16 19:36:07 +02:00
Kalle
7bce94d97e Show Plus Voting % to patrons 2022-11-15 18:04:37 +02:00
Kalle
dd3377e7f3 TO Tools roster link to user page 2022-11-15 00:45:42 +02:00
Kalle
ecd5a2a2f7
TO Tools (#1077)
* Add DB tables

* Toggle TO Tools in new calendar event page

* TO tools page initial

* Add counter pick map pool UI

* Save tie breaker map pool

* Save team name

* Layout initial

* Load users own team

* Make team name input required

* Rename team

* Divide to sections

* Submit team map pool

* New style for counter pick map pool section expand

* Fix tiebreaker map pool not saved when new event made

* Split to many forms

* According for team name

* Small UI consistency tweaks

* Add explanation to tie breaker maps

* Remove redundant prop

* Fix new calendar event todos

* Use required hidden input component in new build page

* Fix to tools page showing even when toToolsEnabled = 0

* Delete team

* Map list generation tests initial

* Add tournament map list generation tests

* First version of map list generation

* Add seeded RNG

* Rearrange files

* Generation with strats initial

* Default map pool + allow one team not to have any maps

* Implement map generation via backtracking

* Make order of stages irrelevant

* Add one more TODO

* Seed

* Fixes

* Tournament map list generator initial

* More functional maplist

* Fix any

* Persist in search params initial

* Add date to calendar seed

* Revert "Persist in search params initial"

This reverts commit f01a9e6982.

* Allow admin to start tournament

* Rate maplist instead of optimal / suboptimal

* Add fallback if map list generation errors out

* Hide TO Tools if not admin

* Submit team roster and delete members

* Teams page

* Give roster s p a c e

* Clear user combobox on sent + layout tweaks

* Gracefully handle updating after tournament has started

* Add title

* Persist map list in search params

* Add i18n
2022-11-13 14:41:13 +02:00
Kalle
ffe5839635 Add copyright note
Closes #1103
2022-11-09 00:24:50 +02:00
Remmy Cat Stock
a6f62fa7b3 Improve date inputs UI when creating / editing events 2022-11-05 14:44:08 +01:00
Remmy Cat Stock
d1b1367651
Add event search to map pool templates 2022-10-27 13:31:37 +02:00
Remmy Cat Stock
63154e507e
Initial support for map pool templates 2022-10-27 13:31:36 +02:00
Remmy Cat Stock
edd3a1d91b
Improve MapPoolSelector UI 2022-10-27 13:31:36 +02:00
Kalle
e6c25967e9 Analyzer add link to Obj DMG page when OS selected
Closes #1039
2022-10-27 09:43:56 +03:00
Kalle
01b0b55e51 Add patch badge to obj dmg calc page 2022-10-26 09:07:35 +03:00
Kalle
2ab4acde77 Object damage acronyms explanation 2022-10-25 17:40:43 +03:00
Kalle
08161b9346 Object damage calculator mobile layout 2022-10-25 00:21:59 +03:00
Kalle
86a5e9ee2a Objective damage table change SPU/BRU 2022-10-23 11:59:03 +03:00
Kalle
3fe59c1a88 Table layout to work with any number of data cols 2022-10-23 11:18:57 +03:00
Kalle
9708043463 Add distance to obj dmg table headers 2022-10-23 10:50:53 +03:00
Kalle
b448c19b71 Object damages with calculation 2022-10-22 16:43:31 +03:00
Kalle
63a80c8ecd Object damage hitpoints initial 2022-10-22 11:43:19 +03: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
26b6a4169b
Use pointer cursor for toggles 2022-10-20 09:32:11 +02:00
Remmy Cat Stock
fa02685366
Fix glitchy safari behaviour for map mode selection 2022-10-20 09:31:07 +02:00
Kalle
6a9efbdd17 Upgrade deps 2022-10-19 23:14:35 +03:00
Kalle
255fc6fcdf Fix stylelint complaint 2022-10-19 23:05:55 +03:00
Remmy Cat Stock
76afa161fc
Implement user result highlights UI 2022-10-18 23:41:01 +02:00
Remmy Cat Stock
0af593623b
Wrap overflowing plus comments 2022-10-18 19:12:56 +02:00
Remmy Cat Stock
a215e0b3e1 Fix overflow for user results table on narrow viewports 2022-10-13 23:03:42 +02:00
Kalle
f81ac674e1 Link to iplabs 2022-10-13 22:38:46 +03:00
Kalle
31d233025a Copy to clipboard button 2022-10-13 22:26:28 +03:00
Kalle
b473e64e12 MapPoolSelector a bit better mobile layout 2022-10-13 21:56:15 +03:00
Kalle
8470bf228e Map pool on tournament page 2022-10-13 21:39:40 +03:00
Kalle
0f2a5ee728 Remove action related code from maps page 2022-10-13 20:36:02 +03:00
Kalle
4108637a30 Save map pool in edit calendar event page 2022-10-13 19:22:23 +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
cc72a200e9 Fix a few more weird scrolling overflows 2022-10-08 10:11:36 +03:00
Kalle
a04db5e9f1 Fix build peek scrollbar visible when no overflow
Closes #999
2022-10-07 16:59:11 +03:00
Kalle
fa2d40ef7e Tweak front page calendar peek styles 2022-10-06 23:19:55 +03:00
Kalle
fabcc99cce
Merge pull request #998 from halp-pat/993
Use fixed widths for BuildCard
2022-10-06 21:01:15 +03:00
Kalle
8ff23fb068
Merge pull request #997 from halp-pat/987
Stat Card values should be on the same line
2022-10-06 20:58:46 +03:00
Kalle
34e134acaf Maps with serializing to URL 2022-10-06 20:54:14 +03:00
Kalle
87bca7aa44 Maps page initial 2022-10-06 20:54:14 +03:00
[Halp!]Pat
cb08f8c27e Use fixed widths for BuildCard 2022-10-05 10:54:14 -07:00
[Halp!]Pat
469439eec2 Stat Card values should be on the same line 2022-10-05 10:18:08 -07: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
[Halp!]Pat
e202b42049 Select dropdown arrow position should use fixed value instead of percent 2022-10-04 10:44:52 -07: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
7b038d87d9 Extra infos on user page 2022-10-02 12:20:19 +03:00
Kalle
a4614a61f7 Profile edit form can submit sens 2022-10-02 11:39:16 +03:00
Kalle
5706bfd812 Add IGN inputs 2022-10-02 10:44: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
2c330620fb Add button to analyzer to build card 2022-09-27 21:53:12 +03:00
Kalle
492977f45c Add logo with link to front page 2022-09-26 21:21:00 +03:00
Kalle
ced742bbad Apply linter 2022-09-26 20:24:43 +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
9b28490450 Add builds peek to front page 2022-09-25 15:33:00 +03:00
Kalle
a5fad589e8 Add limit + load more logic to builds page 2022-09-25 14:55:20 +03:00
Kalle
a589b6b903 Add owner to BuildCard 2022-09-25 13:11:03 +03:00
Kalle
a9c8daa360 Builds page Add build button 2022-09-25 11:53:51 +03:00
Kalle
fe7237ba4c Builds page breadcrumbs 2022-09-25 11:47:39 +03:00
Kalle
494e5af5f7 Builds index page initial 2022-09-25 00:29:49 +03:00
Kalle
3b2f11ecc0 Adjust front page winners list spacing 2022-09-24 09:49:10 +03:00