Commit Graph

1559 Commits

Author SHA1 Message Date
William Lam
afe8d33351
Fixed long trailing decimals from displaying for Special Weapon ink consumption stats (#1212) 2023-02-10 21:15:29 +02:00
Kalle
c819711164 Test page adjustments 2023-02-05 14:43:36 +02:00
Kalle
ae02fde8d5 Add link to footer 2023-02-05 14:16:30 +02:00
Kalle
369e7ecb57 Add February SR gear 2023-02-05 13:55:00 +02:00
Kalle
a271d827b0 Remove wrong Splatana run speed while charging stat 2023-02-05 13:39:19 +02:00
Kalle
cf6f1a8616 Add build analyzer description 2023-02-05 13:28:53 +02:00
Kalle
06befe754f Build Analyzer: Fix Zipcaster stats 2023-02-05 12:24:00 +02:00
Kalle
a507ea10ee Admin page: Refresh plus tiers 2023-01-29 12:04:55 +02:00
Kalle
f15a5f539c Build Analyzer: Build comparison E2E tests 2023-01-29 11:42:08 +02:00
Kalle
d4ffd8f35b Build Analyzer: Compare in ink consumption table 2023-01-28 19:43:05 +02:00
Kalle
27cb5be472 Build Analyzer: Create new build prompt 2023-01-28 15:31:07 +02:00
Kalle
cc7d0bfc7c Playwire test 2023-01-28 13:10:40 +02:00
Kalle
000671d2b5 Avoid jumpiness in UI when clicking back button 2023-01-27 00:49:10 +02:00
Kalle
ce39f213f9 Fix RP calculation (no QR reduction if only own RP) 2023-01-27 00:48:57 +02:00
Kalle
3110635b2f Take in account Jr. big ink tank for subWeaponInkConsumptionPercentage 2023-01-27 00:09:32 +02:00
Kalle
ecf3763c37 Fix 1 main of ISS on Autobomb showing 50% ink consumption 2023-01-26 23:28:38 +02:00
Kalle
5115df4e2c Add customize user profile page colors e2e test 2023-01-25 18:32:52 +02:00
Kalle
ea0c82f13f Add new perks to support page 2023-01-25 17:56:56 +02:00
Kalle
4ed1cbc23f Team custom colors 2023-01-25 00:52:24 +02:00
Kalle
d4f0849987 Patron: Customize colors of own user profile 2023-01-24 01:31:33 +02:00
Kalle
057c4cf18d Support page 2023-01-23 00:39:21 +02:00
Kalle
318f7a5043 Ugprade Remix deps 2023-01-22 14:32:18 +02:00
Kalle
f0f6b14f58 Upgrade deps 2023-01-22 13:40:05 +02:00
Kalle
ebf980ad41 Fix NS effect not showing without swim speed 2023-01-21 18:56:58 +02:00
Kalle
0ef6ad6460 Adjust AP Comparison table margin 2023-01-21 15:45:16 +02:00
Kalle
70cac45579 Force add abilities to first build if second is empty 2023-01-21 15:41:26 +02:00
Kalle
2c7272585b Show main abilities in AP compare 2023-01-21 15:22:25 +02:00
Kalle
1b81519dd2 Patch 2.1 for Analyzer 2023-01-21 15:03:59 +02:00
Kalle
d8b5dbade6 Fix RP + new Tacticooler calculation 2023-01-21 14:53:55 +02:00
Kalle
f48c49aaa5 Build Analyzer: AP comparing 2023-01-21 12:10:40 +02:00
Kalle
8ba5c715fe Remove Fathom 2023-01-20 21:59:08 +02:00
Kalle
ad1a8b5b2e Build Analyzer: Comparison initial 2023-01-20 21:57:11 +02:00
Kalle
00cabd3cb7 Build Analyzer: Show 3 decimals for stats 2023-01-19 00:46:06 +02:00
Kalle
a60901e59b Build Analyzer: New weapon "info cards" style 2023-01-18 01:04:33 +02:00
Kalle
9f59864012 Don't let Weapon combobox weapon names wrap 2023-01-17 21:59:21 +02:00
Kalle
7f4a182ba5 Make textarea wrap text 2023-01-17 21:06:31 +02:00
Kalle
e1edfae929 Fix Safari bug when lazy loading images
Without it in e.g. team pages there is weird borders
before the image loads around the pfp's.
2023-01-17 19:29:46 +02:00
Kalle
4912b45569 Don't show images for validation the reference to nothing 2023-01-17 19:11:58 +02:00
Kalle
6da896a617 Map Planner: Persist to IndexedDB 2023-01-15 22:12:01 +02:00
Kalle
ce7e757082 Image upload admin: Show unvalidated left count 2023-01-15 22:12:01 +02:00
Kalle
4de648972d Team Search: Fix horizontal overflowing with long team names 2023-01-15 22:12:01 +02:00
Kalle
9f25720f16 Team: Fix border around avatar being off 2023-01-15 22:12:01 +02:00
Kalle
7344002b42 Team page: Small mobile member card layout improvements 2023-01-15 22:12:01 +02:00
Kalle
d985eadb9a Plus Server suggestions visible for everyone 2023-01-15 22:12:01 +02:00
Kalle
c579d3e240 Remove background pattern from image
This caused a weird "border" on images.
+ It's kind of ugly when below transparent images.
Still some issues to solve when images don't load.
2023-01-15 16:53:36 +02:00
Kalle
7fab35a461 Fix seed script 2023-01-14 14:43:14 +02:00
Kalle
946a287b96 Introduce getUserId and requireUserId
Idea is to avoid doing DB calls when all we need
is just the user's id.
2023-01-14 13:45:06 +02:00
Kalle
84e1868aa0 Remove unused code 2023-01-14 13:08:00 +02:00
Kalle
b35f5d9921 BuildCard: Bigger font size for user name / time 2023-01-14 12:16:55 +02:00
Kalle
87af222a10 Don't prefetch some pages with loader 2023-01-13 23:33:22 +02:00
Kalle
77c7ea7b22 Temporarily make assets URL point to digital ocean 2023-01-13 21:22:28 +02:00
Kalle
d652e76154 Various improvements 2023-01-13 21:18:07 +02:00
Kalle
54d4bbe308 SubmitButton for FormWithConfirm 2023-01-13 00:44:14 +02:00
Kalle
a88982e3ee Map Planner: Fix styles leaking to new text input 2023-01-13 00:41:45 +02:00
Kalle
c6381e02fb Validate image upload page 2023-01-13 00:03:05 +02:00
Kalle
64874497fb Team: More E2E tests 2023-01-12 21:40:32 +02:00
Kalle
bb2f844ec8 Fix dialog color in light mode 2023-01-12 21:02:31 +02:00
Kalle
3634b85422 Team: Manage roster tests + fixes 2023-01-12 20:57:22 +02:00
Kalle
e83943abb1 Team page: Initial tests 2023-01-12 00:57:37 +02:00
Kalle
c42011533b New flags CDN
The old one shut down. More context here
https://github.com/twitter/twemoji/issues/580
2023-01-11 21:04:20 +02:00
Kalle
959dccb474 Team fixes 2023-01-11 20:56:04 +02:00
Kalle
65bd4561e3 Teams: Add to nav 2023-01-11 09:59:23 +02:00
Kalle
9fecc35839 Upload image page 2023-01-10 00:06:24 +02:00
Kalle
e1863b328b Team: Search page 2023-01-08 12:05:55 +02:00
Kalle
2eca0b94c1 Team: Join page 2023-01-08 12:05:55 +02:00
William Lam
c8e707488b
Implemented some dynamic background sizing & positioning calculations for the Map Planner (#1200)
* Implemented a relatively simple dynamic background sizing calculation for the Map Planner

* Moved useWindowsSize() hook usage near the top of Planner() function

* Removed some dead space above the background image

* Adjustments

* Added a *lot* of math to adjust image spawn location based on the background image size & position, which are based on the current window size & position
- Moved the background image stuff to its own React Hook, usePlannerBg()

* Fix Prettier issue

* Added another comment

* Fixed typing for the usePlannerBg hook
- Also improved comments & some variable names to be cleaner/more consistent

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-08 11:24:44 +02:00
Kalle
6e630ab8e3 Add January's SR reward 2023-01-07 10:53:09 +02:00
Kalle
1170dc0bd0 Team: Manage roster page 2023-01-06 16:33:37 +02:00
Kalle
8a3178413c Team: Delete team feature 2023-01-06 16:33:37 +02:00
Kalle
b922b54d5b Team: Leave feature 2023-01-06 16:33:37 +02:00
Kalle
7c72fb2057 Team page: Bio 2023-01-06 16:33:37 +02:00
Kalle
895acabda8 Handle user not existing -> 404 2023-01-06 16:33:37 +02:00
Kalle
e05a6b9559 Use views for image and team tables 2023-01-06 16:33:37 +02:00
Kalle
77de97a406 User page: Team info 2023-01-06 16:33:37 +02:00
Kalle
257b59ce8a Team: Clean up LUTI/Team XP 2023-01-04 23:09:27 +02:00
Kalle
9d9ffac6e9 Teams: Edit page 2023-01-04 23:03:46 +02:00
Kalle
077e2356ae Team: Fetch from DB 2023-01-02 21:59:58 +02:00
Kalle
0caa90756a User page: Redirect if trying to edit other page 2023-01-02 21:08:47 +02:00
Kalle
5a2c008461 Calendar: Fix no events at the start of year 2023-01-01 18:27:06 +02:00
William Lam
e19ee86ae9
Ranked Modes checkboxes are now checked by default when making a new build (#1199)
* Ranked Modes checkboxes are now checked by default when making a new build

* Fixed the actual logic when taking older builds into account

* Added comment that references Issue 1150

* Rearranged type order so it reads better
2023-01-01 13:36:50 +02:00
Kalle
5ce7f35d4b Team: mobile layout 2022-12-31 17:57:10 +02:00
Kalle
aefefc26a3 Team: Banner placeholder when no image set 2022-12-30 23:21:37 +02:00
Kalle
da020e8557 Map Planner: Fancy backgrounds 2022-12-29 21:49:21 +02:00
Kalle
d5413ae0ed Build Analyzer: Fix not showing build value always
Had problem when using only Ninja Squid.
2022-12-29 20:33:31 +02:00
Kalle
e3e426eba6 Build Analyzer: more robust show build value check
Before if you had e.g. Ninja Squid with certain amount of SSU
then the build value would not show
since baseValue and buildValue end up being the same
2022-12-29 00:02:58 +02:00
Kalle
4dfaf07655 Build Analyzer: RM swim speed stat 2022-12-28 23:45:38 +02:00
Kalle
2538801333 Upgrade deps 2022-12-28 23:34:31 +02:00
Kalle
ecc0c89ce2 Fix type error 2022-12-27 22:42:25 +02:00
Kalle
eed5c0646f User page: Use image for flag 2022-12-27 22:28:28 +02:00
Kalle
fd28e382ec Team: Flags from data 2022-12-27 22:23:41 +02:00
Kalle
d51beef9d5 Team: UI initial 2022-12-27 22:01:15 +02:00
Kalle
1a8c2fc892 Use SubmitButton in various places 2022-12-25 12:00:17 +02:00
Kalle
ffe8ab3883 Build Analyzer: Add humanoid form ink recovery 2022-12-23 18:17:25 +02:00
Kalle
59d242980a Add title/description to couple pages where it was missing 2022-12-22 23:52:39 +02:00
Kalle
3e85173133 Map Planner: Add sub/special weapons 2022-12-22 23:43:19 +02:00
Kalle
993756aeb0 Map Planner: divide weapons to categories 2022-12-22 23:13:04 +02:00
Kalle
df7a48fd6f Extract WeaponImageSelector component 2022-12-22 21:44:32 +02:00
Kalle
f81451b0c0 Map planner to feature folder 2022-12-22 21:33:02 +02:00
Kalle
a6f2210ce2 Move analyzer constants and types 2022-12-22 20:58:21 +02:00
Kalle
cfa2e556d2 Object damage calculator to feature folder 2022-12-22 20:48:24 +02:00
Kalle
791744c40c Move build analyzer to feature folder 2022-12-22 00:14:29 +02:00
Kalle
90d7b3bde8 Build Analyzer: Fix actions per ink tank not showing highlighted with active Comeback 2022-12-21 23:39:39 +02:00
Kalle
25d15a11d2 Fix delete build icon color 2022-12-21 23:31:28 +02:00
Kalle
6feb269193
Full tournament feature WIP (#1196)
* Layout initial

* Add FillRosterSection component

* Move tournaments to feature folder

* Refactor Button props

* SubmitButton

* Register action

* Identifier -> Id

* Invite link via nanoid

* Team info submit

* Enter tiebreaker map list UI

* Invite members to tournament team initial

* Show banner if joined a team not captain of

* Add back teams page

* Change team roster size color when good

* Delete tournament team member
2022-12-21 23:24:59 +02:00
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
23e78f7033 Initial user page e2e tests 2022-12-13 18:51:06 +02:00
Igor
74f6d28c39
Ru-translation update + lowercase for yaga (#1192)
* ru-translate updates

* lowercase for yaga (same as above on page)
2022-12-13 12:07:36 +03:00
Kalle
89fdb8ac43 Don't track search params changing 2022-12-12 21:32:10 +02:00
Kalle
0014940d31 Fix URL 2022-12-12 21:05:22 +02:00
Kalle
3fdfdff429 Use Fathom 2022-12-12 20:51:18 +02:00
Kalle
d5579358fa Remove GA 2022-12-12 20:23:06 +02:00
Kalle
c3963223b6
Add initial Playwright tests (#1191) 2022-12-11 17:18:33 +02:00
Kalle
9cd190df53 Try to fix GA 2022-12-10 23:54:10 +02:00
Kalle
39fa236f40 CSS remove forcd white color rule 2022-12-10 21:12:24 +02:00
Kalle
5b1da140df Fix React warning with combobox 2022-12-10 21:06:35 +02:00
Kalle
0fd1bc0e2b Map Planner: TC Blueprint backgrounds 2022-12-10 20:44:19 +02:00
Kalle
a52c92808f Contributions: Add yaga 2022-12-10 20:13:43 +02:00
Kalle
bf85ca82a0 Obj DMG Calc: More accurate Explosher damage 2022-12-10 20:08:41 +02:00
Kalle
21cfd958d8 Tri-Stringer correct damage 2022-12-10 19:58:17 +02:00
Kalle
2ba9f62d41 Obj DMG Calc: special cases calculation data driven 2022-12-10 19:45:42 +02:00
Kalle
3caecef855 Obj DMG Calc: Support calculating multishot 2022-12-10 16:17:43 +02:00
Kalle
602e545831 Build Analyzer: Add stringers damage 2022-12-08 23:48:49 +02:00
Kalle
714fa0585f BuildCard: Show Plus Status when showing user 2022-12-08 22:35:51 +02:00
Kalle
7d44cc1b44 BuildCard: Modes from popup to top right 2022-12-08 22:24:23 +02:00
Kalle
1c21e333ae Fix can't use useLoaderData in an error boundary 2022-12-08 21:50:10 +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
4813d0a042 Object DMG Calc: Splatana support 2022-12-08 21:29:51 +02:00
Kalle
d8b1b5a367 Obj Calc: WIP Splatana 2022-12-08 01:25:02 +02:00
Kalle
ce3eda3545 Build Analyzer: Splatana damages 2022-12-08 00:51:34 +02:00
Kalle
61b91af464 Fix GA errors 2022-12-07 20:55:25 +02:00
Kalle
9e2f7fb59d Fix process.env in frontend code 2022-12-07 19:28:46 +02:00
William Lam
94ddd3031b
Ability chunk calculation now properly takes Ability Doubler into account (#1186)
* Issue 1180: ability chunk section now properly ignores Ability Doubler in its calculations
- Build Analyzer also no longer shows Ability Doubler as an Ability Chunk entry, nor does it show the Ability Chunks accordion if Ability Doubler is the only selected ability in the build

* Prettier formatting

* Now handles edge case for subabilities on Clothing gear with Ability Doubler
2022-12-07 19:07:29 +02:00
Kalle
0946a77957 Add GA 2022-12-07 18:57:59 +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
8444d75123 Add new FAQ questions 2022-12-07 18:16:34 +02:00
Kalle
ec2133b9c8 Analyzer: Fix Splattershot Pro negative run speed
Closes #1176
2022-12-06 15:34:00 +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