Commit Graph

1559 Commits

Author SHA1 Message Date
Kalle
ffe5839635 Add copyright note
Closes #1103
2022-11-09 00:24:50 +02:00
Kalle
bae922b289 Add translator 2022-11-08 22:08:39 +02:00
Remmy Cat Stock
a73be2e742
Add placement ordinal translation (#1102) 2022-11-06 11:18:03 +01:00
Remmy Cat Stock
9762c7aa4d
Improve plus suggestion comment validation (#1101) 2022-11-06 10:08:36 +01:00
Remmy Cat Stock
222529b454 Make LanguageChanger respect existing search params 2022-11-05 14:51:22 +01:00
Remmy Cat Stock
4d84c1ad91
Fixed route translations issue detected by useTranslation 2022-11-05 14:51:02 +01:00
Remmy Cat Stock
2fa18547b0 Wrap useTranslation to detect missing translations on the route 2022-11-05 14:45:12 +01:00
Remmy Cat Stock
a6f62fa7b3 Improve date inputs UI when creating / editing events 2022-11-05 14:44:08 +01:00
Remmy Cat Stock
88e0649e79 Set default date for new events to the next full hour 2022-11-05 14:44:08 +01:00
Remmy Cat Stock
b4f8e4402e Make date input more reliable by handling invalid dates and different browser behaviours 2022-11-05 14:44:08 +01:00
Remmy Cat Stock
8fac1cca76
Rename Spanish language options according to feedback
Closes #1094
2022-11-05 00:43:32 +01:00
Kalle
6ff4efdc20 Add American Spanish language
Closes #985

Just in-game names are different. Rest is copied from EU translation.
2022-11-03 22:10:24 +02:00
Kalle
123565a952 Add November's Salmon Run gear 2022-11-03 20:20:34 +02:00
Remmy Cat Stock
19fbd85f8f
Add auto theme option for detecting the theme from system/browser preferences (#1083)
* Add "auto" option to theme switcher

* Add labels to language and user menu buttons

* Update translation-progress.md
2022-11-03 01:44:56 +01:00
William Lam
0d8b88ea5a
All articles page (#1072)
* Added new Article route that renders all Articles (with a reasonable upper limit for now).
- Also added a GoToPageBanner for the main Articles page (/a) on the front page. This is placed above the ArticlesPeek component
- Used the sendou_love navItem icon for the moment (this can be replaced at any time once a new art asset is added)

* Fixed Prettier CI pipeline error

* Ran `npm run check-translation-jsons` to update missing Translations for new key added

* Update public/locales/en/front.json

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>

* French localizations

* Removed unnecessary comment

* Converted h2 to h1 tags for Main Articles page

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>

* Moved GoToPageBanner element for main articles page to below ArticlesPeek element

* Refactored some files so that the articles prop is passed into ArticlesPeek
- Also added the Articles header title in common.json

* Updated translation-progress.md

* Cleaned up data type for articles prop in ArticlesPeek

* Fixed React hydration error for translations on imported articles
- Added in SendouRouteHandle component on new Articles main page

* GoToPageBanner now optionally accepts a `navItem` parameter. It does not render the image if navItem is not passed into it

* Removed <Outlet /> JSX element on the main Articles page

* Removed sendou_love navItem on GoToPageBanner for articles page

* Fixed spacing issue by grouping ArticlesPeek and its corresponding GoToPageBanner element into a `stack` div

* Fixed pipeline error

* Update translation again

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2022-11-01 08:57:44 +02:00
Remmy Cat Stock
1888168115
Fix potential bug from mutating matches state 2022-11-01 00:54:53 +01:00
Illya9999
bcf60a4890
Only allow numbers as discrim (#1085) 2022-10-31 19:50:00 +02:00
William Lam
09851faf83
New Date entry on the new Calendar page is now based off the previous one (#1070)
* Issue 858: On the new calendar page adding a new Date entry with the "Add" button will now insert a new date with an offset of +24 hours of the previous row's date value.

* Added comment to ignore the TSLint "object can be null" error

* Changed `var` to `const`

* Fixed Prettier checks in CI pipeline

* Fixed Typecheck CI pipeline error

* Moved getDateWithHoursOffset() function to app/utils/dates.ts

* Added new line at end of file

* Added getValidNewDateIfInvalid() function. This retrieves a valid date. If invalid, get a new Date object.
- So now, if we intentionally/accidentally delete the data in the Calendar's DateInput element, it will be reset to the current Date/Time

* Refactored DateInput component's update state mechanism to be handled by an onChange() function defined in the parent component that is passed to the child

* Prettier formatting so that the new CI pipeline won't output errors at me

* Removed unused imported types

* Removed the datesCount React Hook & refactored accordingly

* Removed unused loader-related variables

* DateInput onChange prop is now optional

* Instead of generating a new Array, iterate over DateInput's inputState's array instead

* Fix potential undefined error

* DatesInputState: refactored to remove index & access the index during iteration with map() 2nd arg

* Properly initialized state for pre-existing events =)
- Also added TODO comments for improving date input handling (1082)

* Prettier formatting

* Uncommented console.warn()

* Touched up comment
2022-10-31 03:59:51 +01:00
Remmy Cat Stock
ad61df057c
Load gear translations needed for build cards on index route 2022-10-31 00:14:48 +01:00
William Lam
3099db8914
Hide Highlights section if the user has exactly 1 result on their profile
* Issue 1068:  Hide Highlights section if the user has exactly 1 result on their profile

* Moved the logic so that we only hide the "Choose Highlights" button if the user has exactly 1 result & they have exactly 1 highlight selected

* Updated logic to hide the Highlights section if the user only has 1 total result

* Prettier fix
2022-10-30 15:59:36 +01:00
William Lam
d9689694b4
UserComboBox only one result if exact discord ID match (#1075)
* Passed a FUSE_OPTIONS object to the Fuse() object.
- We can now adjust how "strict" the search is.

* Refactored Combobox to accept an optional fuseOptions object as a prop

* Fixed fuseOptions prop data type & added a default initialized value of {}
- Moved the USER_COMBOBOX_FUSE_OPTIONS outside of the function
2022-10-30 16:34:18 +02:00
William Lam
924ae8bfff
Fix abilities appearing clickable when they aren't (#1057)
* Issue 1036: non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon

* Revert "Issue 1036: non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon"

This reverts commit a0de4e0047.

* Issue 1036: Non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon.
- Done correctly by conditionally choosing to render a <button /> or <div /> HTML element for ability icons everywhere Ability() was invoked by passing in readonly

* Removed stray console.warn() line, added a brief comment

* Removed unnecessary tabIndex adjustment for AbilityTag element if it is readonly (since it is no longer rendered as a button if it is readonly)
- We now also condtionally give type="button" to AbilityTag only if it is actually a button

* Conditionally set AbilitiesSelector's Ability JSX elements to readonly if the ability is "UNKNOWN"

* Fixed failed check for Prettier in CI pipeline

* Ability component now only chooses the readonly class if no onClick function is passed into it
- Exception: if the ability is "UNKNOWN", it will be forced to readonly

* Fixed Prettier error in CI pipeline

* Fixed Typecheck error in BuildCard.tsx

* Fixed Prettier CI pipeline error again

* Was checking for an undefined type incorrectly. Now the logic works properly

* Fixed Prettier error

* Cleaned up classname declaration syntax to React's shorthand
2022-10-30 10:38:03 +02:00
Kalle
e97fcd4e99 Remove Cypress tests
Planned to be replaced with Playwright maybe?
Just removing in the meanwhile so they don't confuse people.
Or that people won't accidentally develop new.
2022-10-30 02:15:15 +03:00
Kalle
b407127b36 Build card gear name title on hover 2022-10-29 21:46:39 +03:00
Kalle
0af5f262f5 Fix wpn in build card not showing title on hover 2022-10-29 21:07:06 +03:00
Kalle
60a0495b9d Support for blob 4 shots in analyzer
+ fixed L-3 showing curling damage in multiples.
+ fixed "1 hit" typoed to "1 hits"

Closes #1065
2022-10-29 21:04:34 +03:00
Kalle
7af8e7a9db Add slosher class weapons damages 2022-10-29 20:36:48 +03:00
Kalle
bfc3cbfc87 Fix Hydra wrong dmg multipliers
Closes #1055
2022-10-29 12:42:40 +03:00
Kalle
085ef8abe5
Run checks on PR made (#1063)
* Run checks on PR made

* Prettify

* Refine criteria

* Bruh
2022-10-29 10:44:35 +03:00
Igor
327df35380
Disable double torpedos in analyzer (#1058)
* Note about torpedo

* no magic numbers -> constant
2022-10-29 10:17:27 +03:00
Kalle
743a89bfc7 Preload translations to avoid layout flashing
Closes #869
2022-10-29 10:08:19 +03:00
Kalle
6019b0f906 Perf optimization: prefetch pages without loader 2022-10-28 09:26:45 +03:00
Kalle
edc12bec84
Merge pull request #1056 from ElementUser/bug/1043
Issue 1043: changed <div> tag to <h1> tag for semantic HTML for top-most UI buttons on active page
2022-10-28 08:51:23 +03:00
Remmy Cat Stock
d5677cf7e8
Remove useOnce hook 2022-10-27 23:12:48 +02:00
Remmy Cat Stock
9d6c86b5ab
Fix theme switching via cookie during development 2022-10-27 22:29:31 +02:00
William Lam
e44e64dab2 Issue 1043: changed <div> tag to <h1> tag for semantic HTML on the top-most UI buttons for an active page 2022-10-27 16:24:04 -04:00
Kalle
aaaf6b318c Add front page translations for preloading 2022-10-27 23:18:55 +03:00
Kalle
29896aa76c Add Hydra Splatling shots to pop RM test 2022-10-27 20:29:44 +03:00
Kalle
fbe1c61356
Merge pull request #1047 from Sendouc/map-pool-templates
Map pool templates
2022-10-27 20:29:35 +03:00
Kalle
b340f32ae3 Fix theme cookie not saved after session closing 2022-10-27 18:12:36 +03:00
Kalle
6bacfe9717 Add Hydra full charge to prioritized damage types 2022-10-27 17:59:58 +03:00
Remmy Cat Stock
d1b1367651
Add event search to map pool templates 2022-10-27 13:31:37 +02:00
Remmy Cat Stock
0a85ad08d2
Add recent events 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
Remmy Cat Stock
3b18598288
Introduce utility MapPool class 2022-10-27 13:31:36 +02:00
Remmy Cat Stock
de9aefa996
Unify MapPoolSelector components 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
41120088e0 Add Hydra fully charged shot damage to analyzer
Closes #1046
2022-10-27 09:27:12 +03:00
Kalle
672fa07152 Update Build Analyzer to patch 1.2.0 2022-10-27 09:14:02 +03:00
Kalle
4353b30f7e Add object-damage-calculator page title 2022-10-26 17:30:40 +03:00
Kalle
b4762d6455 Fix crash when no damage data on obj dmg calc 2022-10-26 17:29:32 +03:00
Kalle
01b0b55e51 Add patch badge to obj dmg calc page 2022-10-26 09:07:35 +03:00
Kalle
019e455c61 Allow access to obj dmg calc page 2022-10-26 09:01:34 +03:00
Kalle
4e9e3527ae Rename object dmg calc page 2022-10-26 09:01:14 +03:00
Kalle
bf4b6fab13 Add object dmg calc to nav and front page 2022-10-26 09:00:43 +03:00
Kalle
6e43b6bbd3 Add tests and fix damage calculation of some wpns 2022-10-26 08:42:04 +03:00
Kalle
7a936fd4bc Fix damage table showing translation key 2022-10-25 17:43:13 +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
292e3c2759 More relevant damage receivers order 2022-10-25 00:19:30 +03:00
Kalle
6eea2edb7b Add splatted by RP user stat to analyzer (ss) 2022-10-24 19:32:53 +03:00
Kalle
12bd09cb14 Add splatted by RP user stat to analyzer 2022-10-24 19:24:26 +03:00
Kalle
3c69208ced Objective damage calc page title 2022-10-24 00:27:53 +03:00
Kalle
1671653839 Objective damage calc i18n 2022-10-24 00:25:16 +03:00
Kalle
6f1a4935a9 Add object shredder to damage table 2022-10-23 22:36:04 +03:00
Kalle
c918aafb9d Add remaining hitpoint values 2022-10-23 15:05:20 +03:00
Kalle
d487af683a Object damage filter by damage type 2022-10-23 12:50:25 +03:00
Kalle
dfd16cef2f Fix errors not getting logged 2022-10-23 12:49:05 +03:00
Kalle
14f7507e2c Make damage use rounding that matches data struct 2022-10-23 12:01:05 +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
cca225c780 Remove calculations from component code 2022-10-23 11:13:02 +03:00
Kalle
9708043463 Add distance to obj dmg table headers 2022-10-23 10:50:53 +03:00
Kalle
430d347f79 Add damages from Lean 2022-10-23 10:39:23 +03:00
Kalle
b448c19b71 Object damages with calculation 2022-10-22 16:43:31 +03:00
Kalle
89e525307f Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into rewrite 2022-10-22 12:50:28 +03:00
Remmy Cat Stock
ef588503d5
Merge pull request #1030 from Sendouc/active-nav-item
Detect active nav item via route handle instead of path matching
2022-10-22 11:44:40 +02:00
Kalle
e705c58ebb More type safety to SendouRouteHandle.navItemName 2022-10-22 12:40:36 +03:00
Kalle
89c388e1c3 Fix hp showed wrong for Crab Tank/brellas 2022-10-22 12:08:20 +03:00
Kalle
63a80c8ecd Object damage hitpoints initial 2022-10-22 11:43:19 +03:00
Kalle
bc892dc2fb Fix TS error 2022-10-21 22:15:15 +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
db4f633a47
Add type for route handles 2022-10-21 00:48:10 +02:00
Remmy Cat Stock
ab98a106bb
Show dialog for failed login attempts 2022-10-20 22:40:34 +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
dc5fc84c83 Option to get wpn damage multiplier from all keys 2022-10-19 23:34:14 +03: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
3bc75f58d3
Add database table for user result highlights 2022-10-18 23:40:57 +02:00
Remmy Cat Stock
0af593623b
Wrap overflowing plus comments 2022-10-18 19:12:56 +02:00
Kalle
586c27eaa7 Object damage calculator page initial 2022-10-18 01:12:52 +03:00
Remmy Cat Stock
974b65b642
Fix edit badge dialog flickering 2022-10-16 10:17:33 +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
1a8ede563e Fix map list generation crash if small map pool 2022-10-15 11:54:06 +03:00
Kalle
e36e213793 Fix analyzer respawn time
Closes #1006
2022-10-14 23:40:19 +03:00
Kalle
7ccfe79984 Add title to maps page 2022-10-14 23:16:56 +03:00
Kalle
5ab76bc3a4
Merge pull request #1010 from remmycat/results-participant-count
Add participant count in user page results table
2022-10-14 22:54:20 +03:00
Remmy Cat Stock
abfd387062 Deactivate i18next interpolation escaping 2022-10-14 16:38:16 +02:00
Remmy Cat Stock
a215e0b3e1 Fix overflow for user results table on narrow viewports 2022-10-13 23:03:42 +02:00
Remmy Cat Stock
8aea2c19a8 Add participants count to user results table 2022-10-13 23:03:15 +02:00
Kalle
a368877e08
Merge pull request #1009 from remmycat/result-tab-count
Add results count to user page tab
2022-10-13 23:45:30 +03:00
Kalle
3b4b498750 Translation chore 2022-10-13 23:41:40 +03:00
Kalle
ae3f706f24 Maps page translated 2022-10-13 23:22:26 +03: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
6b49d06f57 Maps preparation for prod 2022-10-13 21:45:36 +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
Remmy Cat Stock
45cc8cea1f Add results count to user page tab 2022-10-13 18:55:53 +02: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
e00c7cf531 Submit map pool initial 2022-10-09 12:27:09 +03:00
Kalle
20a5beb119 Add function 50% SZ toggle 2022-10-09 10:55:11 +03:00
Kalle
b1042f8e37 Generates map lists 2022-10-09 00:58:19 +03:00
Kalle
d654594ed8 Remove bad custom urls script 2022-10-08 10:36:28 +03:00
Kalle
d5bdd42188 Don't show map list makes in prod yet 2022-10-08 10:14:48 +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
977416aca0 Fix front page results morphing
Closes #982
2022-10-06 23:12:49 +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
bba380840c Make maplist serializer use ids 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
Curt Grimes
0cb1f5a0fb Add back incorrectly removed type="button" 2022-10-04 12:17:35 -07:00
Kalle
35c51b83fe Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into rewrite 2022-10-04 21:35:25 +03:00
Kalle
5e6ffbebfb Add link to spl2 sendou ink to footer
Closes #908
2022-10-04 21:35:23 +03:00
Kalle
cded6f5031
Merge pull request #992 from halp-pat/983
Select dropdown arrow position should use fixed value instead of percent
2022-10-04 21:28:31 +03:00
Kalle
8d278c83cf Update admin test avatar 2022-10-04 21:08:39 +03:00
Kalle
5da1a66a6c Add Lo-Vis Visor 2022-10-04 21:07:14 +03:00
Kalle
7eac4dd99c Increase IGN limit
In Splatoon limit is 10. But special characters can count as 2
even if in Splatoon they count as 1.
2022-10-04 20:56:16 +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
d4ef59e64c Add in-progress zh translation 2022-10-03 20:29:29 +03:00
Kalle
16ad28d617 Run speed while shooting stats
Closes #963
2022-10-02 21:14:56 +03: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
73e31da398 Validate no motion sens set if no stick sens set 2022-10-02 12:29:54 +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
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
34c8e45684 Fix user page crashing if invalid link 2022-10-01 20:39:10 +03:00
Kalle
709d20bf13 Set custom url in profile edit 2022-10-01 20:38:40 +03:00
Kalle
9133803661 Add Charakiga to translators 2022-10-01 11:44:53 +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
34c1b0e71a User custom url, ign & sens initial 2022-09-29 23:26:31 +03: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
456ed5e95b Add translator 2022-09-27 21:14:49 +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
24461f75aa Fix weapon deslugifying not working w/ other langs 2022-09-25 16:36:23 +03: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
9b28490450 Add builds peek to front page 2022-09-25 15:33:00 +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
6a63a243ba Fix build PlusTier sorting 2022-09-25 13:19:55 +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
3e9b5a1da9 BuildsCards on builds page initial 2022-09-25 12:48:32 +03:00
Kalle
76dce82714 Add title to builds page 2022-09-25 12:03:02 +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
24330b72ed Working links on build index page 2022-09-25 11:05:51 +03:00
Kalle
494e5af5f7 Builds index page initial 2022-09-25 00:29:49 +03:00
Kalle
fe67eb8df7 Add translators to contributions
Closes #932
2022-09-24 14:51:24 +03:00
Kalle
42c9f3292c Fix typoed translation key 2022-09-24 11:49:45 +03:00
Kalle
72fda5e718 Fix ' not showing correctly on FAQ page
Closes #934
2022-09-24 10:55:54 +03:00
Kalle
3b2f11ecc0 Adjust front page winners list spacing 2022-09-24 09:49:10 +03:00
Kalle
3333d4486f Consider Splattershot Jr's big tank in analyzer
Closes #965
2022-09-24 09:47:32 +03:00
Kalle
ebe1d6deea Fix Big Bubbler HP 2022-09-24 09:12:07 +03:00
Kalle
be0b4ebc29 Fix hard coded sub save lvl Closes #953 2022-09-22 23:47:44 +03:00
Kalle
de3307f031 Fix StatCategory bottom text not mobile friendly 2022-09-22 21:48:21 +03:00
Kalle
945f0e267c Align stat card values 2022-09-22 00:44:56 +03:00
Kalle
8a8e3c344a Fix @ts-expect-error with weaponParams 2022-09-21 17:37:30 +03:00
Kalle
829e564eb6 Add BRU Beakon effect 2022-09-21 00:17:59 +03:00
Kalle
03a3eec318 Hard code missing SubInkSaveLv and InkConsume 2022-09-20 23:56:01 +03:00
Kalle
18a7f7edae Add Squid Surge IA effect 2022-09-20 23:42:01 +03:00
Kalle
2d9dd3f91e Build Analyzer to prod! 2022-09-20 20:48:41 +03:00
Kalle
a2f2af1f62 Analyzer mobile layout 2022-09-20 20:41:37 +03:00
Kalle
37738ad8e5 Add Tacticooler effect 2022-09-19 23:36:40 +03:00
Kalle
85e43091f2 Map a few more special params 2022-09-19 23:31:29 +03:00
Kalle
7539e0e76e Killer Wail 5.1 SPU effect 2022-09-19 20:31:59 +03:00
Kalle
d5ddc97e7c Ink Vac SPU effect 2022-09-19 20:27:48 +03:00
Kalle
059d738340 Wave Breaker SPU effect 2022-09-19 17:58:38 +03:00
Kalle
5b64515976 Booyah Bomb SPU effect 2022-09-18 21:26:59 +03:00
Kalle
2be14cda3b Ink Storm SPU effect 2022-09-18 21:14:47 +03:00
Kalle
cabdbd1da4 Tenta Missiles SPU effect 2022-09-18 21:14:47 +03:00
Kalle
502240ad23 Zipcaster SPU effects 2022-09-18 21:14:47 +03:00
Kalle
6ef1b0c55b Big Bubbler SPU effects 2022-09-18 21:14:47 +03:00
Kalle
64d2a64b5f Trizooka paint and damage radius effect 2022-09-18 21:14:47 +03:00
Kalle
34a77b6506 Special duration stat 2022-09-18 21:14:47 +03:00
Kalle
d0afd203e3 Parse special to weapon-params.json 2022-09-18 21:14:47 +03:00
Kalle
2fa5a63a6d Make sure main weapon category isn't rendered empty 2022-09-18 21:14:47 +03:00
Kalle
bb9eb2be31 More descriptive jump RNG reduction stat 2022-09-18 21:14:47 +03:00
Kalle
de3a7995b2 Add popover and explain IA jump RNG reduce 2022-09-18 21:14:47 +03:00
Kalle
b601c0421c IA jump RNG reduction effect 2022-09-18 21:14:47 +03:00
Kalle
8539205f71 Bomb Heavy/Light damage 2022-09-18 21:14:47 +03:00
Kalle
40679764a9 Add RP/NS icons to modified by row 2022-09-18 21:14:47 +03:00
Kalle
d10d4bf0c5 Calculate own use of RP 2022-09-18 21:14:47 +03:00
Kalle
3b8582d455
Merge pull request #949 from DoubleCookies/i-946
Other default value + empty onChange
2022-09-18 20:53:28 +03:00
Kalle
4eeac475de Allow browsing analyzer in prod for a few users 2022-09-18 12:00:39 +03:00
Kalle
4a381e17e3 Add Ninja Squid calculation 2022-09-18 11:56:02 +03:00
Kalle
1f26fe68bf Add bomb def damage reduction stats 2022-09-17 18:19:38 +03:00
Kalle
5d9a3ea13c Angle Shooter tracking defense stat + explanation 2022-09-17 17:20:35 +03:00
Kalle
bdaa18b3a2 Sub defense stats for Point Sensor and Ink Mine 2022-09-17 17:09:46 +03:00
Kalle
f57d1a750d Move xxx comments to GitHub 2022-09-17 14:26:45 +03:00
Kalle
4b128c59a6 BRU effects for analyzer 2022-09-17 12:58:43 +03:00
Kalle
e87fd714e2 Toggle effects 2022-09-16 21:17:29 +03:00
Kalle
81029e054c Fix Tacticooler overwriting build abilities 2022-09-16 21:17:10 +03:00
Kalle
b9fcaef8c4 Add Toggle component 2022-09-16 21:16:50 +03:00
Kalle
e57f1d63c1 EffectsSelector with LDE dropdown 2022-09-16 20:19:43 +03:00
Kalle
4184eda385 Add ability points to analyzer 2022-09-16 19:14:25 +03:00
Kalle
cefb55d19f Effect and LDE intensity in Search Params 2022-09-16 17:59:06 +03:00
Kalle
d07bf0af86 Move abilityPoints calculation to caller 2022-09-16 17:00:35 +03:00
Kalle
4a7520ee96 Add comment clarifying empty onChange 2022-09-16 16:46:56 +03:00
Kalle
db27e6b6b0 Implement special effects calculation 2022-09-16 16:40:54 +03:00
DoubleCookies
7cb3a906b2 other default value + empty onChange 2022-09-16 11:32:58 +03:00
Kalle
524010141f Make analyzer left column sticky 2022-09-16 11:31:30 +03:00
Kalle
4b9ab64647 Main weapon white ink stats 2022-09-15 20:03:42 +03:00
Kalle
e957c9cbb6 All Ink Res stats to same category 2022-09-15 19:37:10 +03:00
Kalle
a5e13218f4 Charge charging params 2022-09-15 19:32:33 +03:00
Kalle
7a35fcf17b Fix Twitter not updating when logging in 2022-09-15 18:54:51 +03:00
Kalle
294d3404d2 Page title for build analyzer 2022-09-15 18:40:02 +03:00
Kalle
f2fc3492e5 Analyzer Ink Resistance 2022-09-15 18:21:50 +03:00
Kalle
30159be6f7 Fix Brella for consumption table 2022-09-15 15:38:30 +03:00
Kalle
67d3299e82 Analyzer super jump stat 2022-09-15 15:31:09 +03:00
Kalle
491f51f543 Analyzer respawn stat 2022-09-15 15:18:41 +03:00
Kalle
f4b893dfa5 Splat/Suction/Burst Bomb to damage table 2022-09-15 14:16:34 +03:00
Kalle
36f38cc791 Analyzer show brella canopy hp and damage 2022-09-15 13:56:17 +03:00
Kalle
dc4b670869 Display L-3/H-3 damage better 2022-09-15 13:36:35 +03:00
Kalle
3e28818269 Analyzer damage table initial 2022-09-15 13:14:33 +03:00
Kalle
69b1e476d7 Analyzer add missing overwrites 2022-09-15 11:32:25 +03:00
Kalle
d5ba4016ef
Merge pull request #947 from DoubleCookies/rewrite
Outline for tabbed add as text/user buttons
2022-09-15 10:52:55 +03:00
Kalle
cf5a9de6e5
Remove curly boys 2022-09-15 10:52:28 +03:00
Kalle
fb08ca8426
Add empy line at EOF 2022-09-15 10:51:45 +03:00
DoubleCookies
aa2f546761 fix 2022-09-15 08:07:47 +03:00
DoubleCookies
c97368d8f4 remove unused styles 2022-09-15 08:07:05 +03:00
Kalle
2fc048d1a9 Analyzer add weapon badge about weight 2022-09-15 01:23:49 +03:00
Kalle
9260accd73 Adjust patch badge color 2022-09-15 01:07:58 +03:00
Kalle
4c9cd0796e Clear analyzer weapon combobox input on focus 2022-09-15 01:05:55 +03:00
Kalle
1f6d034b14 Analyzer add patch badge 2022-09-15 00:34:14 +03:00
Kalle
c8d2d996e4 Run/swim speed to analyzer 2022-09-15 00:16:37 +03:00
DoubleCookies
8827d633a3 move css to utils 2022-09-14 23:07:40 +03:00
Kalle
35dbe4e6cc Default preview image for Discord etc. links 2022-09-14 23:04:52 +03:00
Kalle
84d042431e
Fix mobile layout calendar
Fix mobile layout calendar
2022-09-14 22:33:15 +03:00
Kalle
69a656a958 Use css var for padding 2022-09-14 22:28:30 +03:00
Kalle
55705e2832 Prettify 2022-09-14 22:28:11 +03:00
Kalle
263bcbbecb Analyzer Ink Recover Up effect 2022-09-14 22:18:11 +03:00
Garcez17
872778ed05 Fix mobile layout calendar 2022-09-14 14:21:36 -03:00
Kalle
a6226a215c White ink stat 2022-09-14 19:46:08 +03:00
Kalle
444bab65d4 New style for StatCards 2022-09-14 19:32:56 +03:00
Kalle
13db27b512 Display slosher shots as "Sloshes" 2022-09-14 19:13:01 +03:00
Kalle
01b2693e88 Display sub name in consumption table 2022-09-14 19:04:47 +03:00
Kalle
60b2038a2f Full charges instead of shots for splatlings 2022-09-14 18:56:52 +03:00
DoubleCookies
39dfa8eeae outline for tabbed add as text/user buttons 2022-09-14 15:19:10 +03:00
Kalle
6ae3f02236 Remove internal name from params json 2022-09-14 15:11:34 +03:00
Kalle
c0c91b3d28 Combine vertical and horizontal swing if same val 2022-09-14 15:03:47 +03:00
Kalle
dad5c3c0ac Ink consumption table for analyzer 2022-09-14 14:55:30 +03:00
Kalle
18c2d3bbab Make lint happy 2022-09-14 14:06:52 +03:00
Kalle
e48465b66a Upgrade deps 2022-09-14 14:06:46 +03:00
Kalle
012d7f8afc Add launch gear 2022-09-14 13:43:57 +03:00
Kalle
b6ae4f73da Add Hero Shot & REEF-LUX 2022-09-14 13:02:52 +03:00
Kalle
5216ea9275 Serialize build and weapon to URL in analyzer 2022-09-14 12:11:04 +03:00
Kalle
03ab68d9ac Create empty build constant 2022-09-14 12:05:30 +03:00
Kalle
85c74496ec Fix typo 2022-09-14 12:03:47 +03:00
Kalle
acb94460c6 Ink saver levels initial 2022-09-14 01:12:18 +03:00
DoubleCookies
cf9df3b28c outline for tabbed lang buttons 2022-09-13 15:14:01 +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
42ebd69ebc Update main weapons folder name 2022-09-12 16:52:52 +03:00
Kalle
dd5680b41b buildToAbilityPoints handle main abilities 2022-09-12 16:52:52 +03:00
Kalle
8065e8a6e5 Add special saver effect 2022-09-12 16:52:52 +03:00
Kalle
454dc923a4 Add id: 8010 to params.json 2022-09-12 16:52:52 +03:00
Kalle
3d837a95fe Rename variable 2022-09-12 16:52:52 +03:00
DoubleCookies
8a08f14254 Higher bracket URL size 2022-09-11 12:37:37 +03:00
Kalle
bc2b83373f Handle changing weapon in analyzer 2022-09-10 21:16:29 +03:00
Kalle
73e3ddf007 Analyzer UI initial 2022-09-10 21:06:19 +03:00
Kalle
3701f48763 Fix can't scroll badge winner report modal
Closes #937
2022-09-10 15:56:28 +03:00
Kalle
9324d5cdfa Add Danish language to dropdown 2022-09-10 11:32:12 +03:00
Kalle
0b040e170a Bake ability values calculation into abilityPointsToEffect 2022-09-08 22:28:53 +03:00
Kalle
b7c6ac7a67 Ability values with overwrites 2022-09-08 22:14:13 +03:00
Kalle
2ba93c41c8 Create analyzer json get overwrites 2022-09-08 20:27:36 +03:00
Kalle
109c60ca41 Analyzer core structure 2022-09-08 18:32:00 +03:00
Kalle
3aa1e9061a This/Last/Next week to one translation string
Closes #923
2022-09-07 10:59:12 +03:00
Kalle
fe7a14168c Gear and weapon translations for every language 2022-09-05 21:12:20 +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
003c2c47a4 Fix badge owners number input width 2022-09-05 15:23:12 +03:00
Kalle
ffd184ffe6 Better user combobox options location badges modal
Closes #883
2022-09-05 15:21:56 +03:00
Kalle
2d77587d7b Move TODO to issues 2022-09-05 15:19:10 +03:00
Kalle
5275520533 Show joining instructions when passing Plus Voting
Closes #911
2022-09-04 23:27:00 +03:00
Kalle
35e1c3a03f Increase light mode abilities selector bg contrast
Closes #900
2022-09-04 23:02:24 +03:00
Kalle
b559ac87d0 Validate all abilities are set before submitting a build
Closes #901
2022-09-04 22:47:03 +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
d14d1acb11 Padding between user results table and footer
Closes #879
2022-09-03 20:54:36 +03:00
Kalle
24a151dd3b Event description include line breaks
Closes #880
2022-09-03 20:47:20 +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
f43e51b377 Seed with ability tuples 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
b98c9ef16c Builds form progress 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
4ca2eef6c9 JSON stringify modes 2022-09-03 18:14:53 +03:00
Kalle
f4234b0aa0 Builds query to user page 2022-09-03 18:14:53 +03:00
Kalle
0efff0c907 Builds migration with seed 2022-09-03 18:14:53 +03:00
Kalle
382af8439f Add ability types 2022-09-03 18:14:53 +03:00
Kalle
ea9fda5cb5 Gear ids and translations 2022-09-03 18:14:53 +03:00
Kalle
820dfc7668 Add ability icons 2022-09-03 18:14:53 +03:00
Kalle
98584b6299 Add weapon ids list 2022-09-03 18:14:53 +03:00
Kalle
2a163ad3d5 Add translations to front page 2022-08-24 20:42:28 +03:00
Kalle
3c09c16e05 Front page feature cards 2022-08-24 20:27:08 +03:00
Kalle
db96345e53 Articles on front page initial 2022-08-24 00:17:45 +03:00
Kalle
b3994ca30d Calendar section on front page done 2022-08-23 18:10:11 +03:00
Kalle
64c53d7d83 Front page upcomig events initial 2022-08-22 00:08:47 +03:00
Kalle
14d12e110c Front page recent winners initial 2022-08-21 22:34:36 +03:00
Kalle
afd6a00fa2 Add theme-color meta tag 2022-08-20 17:01:05 +03:00