Commit Graph

47 Commits

Author SHA1 Message Date
Kalle
c0395cc1bc
Map planner ranges (#2986) 2026-04-18 17:31:08 +03:00
Kalle
824a00bd40 Fix Map Planner top nav location on PWA
Closes #2951
2026-04-11 16:03:29 +03:00
Kalle
e3e6a41bd9 Fix modal not visible on map planner mobile
position: fixed breaks Radix popover location calculation. Only relevant
for desktop anyway (there we have it on the right side of the
screen).
2026-03-29 17:27:36 +03:00
Kalle
d8ba888343 Weapons 3 per row once more on the map planner 2026-03-29 17:14:30 +03:00
Kalle
e27260f88b Bye bye .png
... well mostly. Some places will still use it like PWA splash screens.
Otherwise browser support for .avif strong enough now to do this
now.
2026-03-29 16:48:47 +03:00
Kalle
dfa95bd92d Migrate to nested CSS 2026-03-28 16:30:28 +02:00
Kalle
8cf2c028e1 Fix Biome warnings 2026-03-22 21:04:59 +02:00
Kalle
fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00
Kalle
503101a451
New tournament seeding page (#2701) 2026-01-06 18:23:52 +02:00
Kalle
940b9f9706 Fix Map Planner crash 2025-12-30 16:58:25 +02:00
Kalle
7be3d255cb Planner drag weapon image, fix dark/light mode & fix image cropping
Closes #1384
Closes #1224
2025-11-22 11:33:36 +02:00
Kalle
21af201414 Add Urchin Underpass to the map planner Closes #2415 2025-08-10 12:52:34 +03:00
Kalle
dd1adad94b BIome v2 upgrade
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2025-06-22 16:49:27 +03:00
Kalle
accbaf40db
Refactor Button to SendouButton (#2367)
* initial

* done

* import ordering
2025-06-05 21:00:14 +03:00
Kalle
e9676ada18 Refactor away in-game-lists barrel file Closes #2322 2025-05-24 19:58:40 +03:00
Kalle
994cb97346 Take Remeda in use replacing just-utils and own utils 2025-04-09 22:14:11 +03:00
Kalle
e59b2718c8 Objective images in map planner Closes #1221
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2024-11-18 23:30:44 +02:00
Kalle
68aa12414a
New front page (#1938)
* Initial

* Progress

* Recent winners

* Add button

* Progress

* Mobile nav initial

* UI tweaks

* Overflow

* AnythingAdder links to places

* Remove color for tournament showcase

* Adjust SQ top banner based on if season is on right or not

* Tournament participant count fixed

* Log out

* todo

* Progress

* Nav complete

* Done?

* Fix lint

* Translate settings
2024-10-20 09:01:22 +03:00
Kalle
ccf1948e6f Add Lemuria Hub to the planner
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2024-10-06 16:50:00 +03:00
Kalle
e80af883cb Upgrade tldraw to latest 2024-09-22 16:32:56 +03:00
Kalle
75fea79738 Map Planner outlined weapon icons 2024-09-09 08:34:19 +03:00
William Lam
89293c6d8d
Upgraded @tldraw to latest version (2.4.5) (#1860)
* Add trustedDependencies

* Upgraded @tldraw to latest version (2.4.5)
- One of the fixes made the `fileSize` field optional in `TLImageAsset` & by extension, it also means the value of that field has to be non-zero. I simply removed the field & it fixed the bug encountered in the issue link
- Issue Link: https://github.com/Sendouc/sendou.ink/issues/1853

* Updated trustedDependencies to match rewrite branch & rebuilt bun lock file

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2024-09-01 11:27:10 +03:00
Kalle
b11923ea0b Upgrade deps 2024-06-27 12:31:37 +03:00
Kalle
fd48bced91
Migrate Prettier/Eslint/Stylelint setup to Biome (#1772)
* Initial

* CSS lint

* Test CI

* Add 1v1, 2v2, and 3v3 Tags (#1771)

* Initial

* CSS lint

* Test CI

* Rename step

---------

Co-authored-by: xi <104683822+ximk@users.noreply.github.com>
2024-06-24 13:07:17 +03:00
xi
45c16bce73
Add French (NoA) Localization (#1766)
* Add French (NoA) Localization

* Update config.ts

* Appease linter

* Appease linter (again)
2024-06-22 14:39:18 +03:00
kytoaa
fe75d356ce
Update TLdraw to 2.2.0 (#1762)
* all api changes fixed (i think), bugs and styling to fix though

* languages work again

* deleting icons on background change + fixed style panel thing

* all features should be working and updated

* ran prettier on Planner.tsx

* fixed backgrounds not being deleted + undoing works now after changing background

* ran prettier

* removed an outdated comment
2024-06-21 09:44:19 +03:00
Kalle
246a94279c Add Marlin Airport to the planner 2024-04-07 10:19:15 +03:00
Kalle
93ebb6e369 Migrate to Vite 2024-02-24 21:12:54 +02:00
Kalle
9a9740a7e8 Add new maps to the planner Closes #1604 2023-12-16 12:46:51 +02:00
Kalle
323a1ea5e3 Remove useTranslation wrapper Closes #1595
This broke after upgrading deps and couldn't figure it out with a quick look.

It just makes it a bit more convenient when adding new pages & debugging
but not really that necessary so decided to delete it for now.
2023-12-07 20:33:59 +02:00
Kalle
236e6a9b42 Map Planner: Add Crableg & Shipshape to 2023-11-08 18:18:37 +02:00
guigas7
a2644afeb9
Add pt-BR translation (#1532)
* Adds pt-BR translation

Signed-off-by: Guilherme <jimhorton7@outlook.com>

* Add to config

* Add missing key

---------

Signed-off-by: Guilherme <jimhorton7@outlook.com>
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-11-05 14:58:44 +02:00
Kalle
c24b9195b9 5.0 2023-08-31 21:58:28 +03:00
Kalle
dab6b00c2d Update Prettier 2023-08-26 22:38:11 +03:00
Filuz
bd6412385c
French translation update (#1433)
* French translation update

Updates the french translation

* map planner - make weapon selector slightly wider

fixes icons and text being squished/cutoff in some languages

* Adjust css

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-07-30 11:03:20 +03:00
Kalle
b4323e104e Upgrade deps 2023-07-01 00:12:29 +03:00
shachar700
b88da87e88
Hebrew translation initial (#1377)
* added hebrew translations pt.1

* Fixes

* Adjusted hebrew translations

* hebrew lang title

* small fix

---------

Co-authored-by: shachar700 <shachar70@gmail.com>
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-06-04 11:41:21 +03:00
Kalle
fbac8c0d31 Add 3.0 stages to planner Closes #1287 2023-03-06 23:27:23 +02:00
Kalle
2392427762 Patch 3.0 Closes #1284 2023-03-01 18:42:32 +02:00
Kalle
c0c4c251cc Add Polish language 2023-02-23 21:47:09 +02:00
Kalle
6da896a617 Map Planner: Persist to IndexedDB 2023-01-15 22:12:01 +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
da020e8557 Map Planner: Fancy backgrounds 2022-12-29 21:49:21 +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