Commit Graph

89 Commits

Author SHA1 Message Date
Copilot
3606868b98 frontend: replace Prettier stack with oxfmt (#1750)
This PR migrates formatting in `frontend/` from Prettier to `oxfmt`,
including script wiring and dependency cleanup. It removes the Prettier
plugin/config path so formatting is handled by a single tool.

- **Script migration**
  - Renamed/rewired formatting scripts in `frontend/package.json`:
    - `prettier:check` → `format:check` (`oxfmt --check .`)
    - `prettier:write` → `format:write` (`oxfmt .`)
  - Updated dependent scripts:
    - `test` now runs `pnpm run format:write`
    - `openapi-ts` now runs `pnpm run format:write` after generation

- **Dependency cleanup**
  - Removed `prettier-plugin-organize-imports` from `dependencies`
  - Removed `prettier` from `devDependencies`
  - Added `oxfmt` (latest stable at update time)

- **Config removal**
  - Deleted `frontend/.prettierrc.js` (no longer used after migration)

- **Lockfile alignment**
- Updated `frontend/pnpm-lock.yaml` to reflect the dependency and script
ecosystem change

```json
{
  "scripts": {
    "format:check": "oxfmt --check .",
    "format:write": "oxfmt .",
    "openapi-ts": "openapi-ts && pnpm run format:write",
    "test": "tsc && pnpm run format:write"
  }
}
```

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Erik Vroon <11857441+evroon@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-28 18:38:17 +00:00
Erik Vroon
be1c3e2018 New Crowdin updates (#1514) 2026-01-08 12:12:34 +01:00
Erik Vroon
9e4437ebc1 New Crowdin updates (#1513) 2026-01-07 13:25:08 +01:00
Erik Vroon
492031ca04 Add Persian (fa) translation (#1415)
https://github.com/evroon/bracket/pull/1335 but rebased and without
changing the default language

---------

Co-authored-by: RezaRazi <rezarazi1973@gmail.com>
2025-11-12 14:05:35 +00:00
Erik Vroon
583eb4e963 Migrate Next.js to Vite (#1397)
Vite is much simpler to use than Next.js and we don't need any of the
features Next has that Vite doesn't have.

Benefits of moving to Vite are:
- Much better performance in dev and prod environments
- Much better build times
- Actual support for static exports, no vendor lock-in of having to use
Vercel
- Support for runtime environment variables/loading config from `.env`
files
- No annoying backwards-incompatible changes on major releases of Next
- Better i18n support without having to define getServerSideProps on
every page
- Better bundle optimization
- No opt-out Vercel telemetry 

Also replaces yarn by pnpm and upgrades mantine to 8.3
2025-11-12 11:18:06 +01:00
Erik Vroon
176bb8f4b5 New Crowdin updates (#1383) 2025-10-27 06:49:45 +01:00
Erik Vroon
536f67a0c3 New Crowdin updates (#1382) 2025-10-25 08:03:32 +02:00
Oscar Tobar Rios
e97f83e025 Update Spanish translations for courts terminology (#1378)
Se mejora el texto court por canchas.
2025-10-24 10:07:47 +02:00
Erik Vroon
0662c8f730 New Crowdin updates (#1360) 2025-10-10 09:37:50 +02:00
Erik Vroon
7e0d0fdae8 New Crowdin updates (#1356) 2025-10-06 08:32:11 +02:00
Erik Vroon
b065252656 New Crowdin updates (#1340) 2025-09-08 07:57:14 +02:00
Erik Vroon
e29f551032 New Crowdin updates (#1329) 2025-08-25 16:58:59 +02:00
Erik Vroon
c2122de698 New Crowdin updates (#1237) 2025-05-15 08:08:55 +02:00
Erik Vroon
ad1719d92d New Crowdin updates (#1236) 2025-05-14 20:54:48 +00:00
Erik Vroon
28c77e7e7b New Crowdin updates (#1233) 2025-05-14 07:13:13 +02:00
Erik Vroon
861650171e New Crowdin updates (#1232) 2025-05-13 23:55:02 +02:00
Erik Vroon
00323a8e84 New Crowdin updates (#1222) 2025-05-10 17:31:01 +02:00
Erik Vroon
f962804118 Use icons for selecting stage items (#1221)
![image](https://github.com/user-attachments/assets/e5f224d9-cd66-4f98-80f9-81a541c8a325)

Use icons for stage items in modal to create stage items to improve UX.
I made the icons myself so they're not very beautiful
2025-05-10 14:29:40 +00:00
Erik Vroon
1282649fbb New Crowdin updates (#1217) 2025-05-08 23:21:09 +02:00
Erik Vroon
dba4452da1 Fix svg logo (#1213)
This stops the svg logo from relying on the Lato font to be installed
Instead, the text is now just made out of regular paths instead of
embedded text that relies on system fonts

fixes https://github.com/evroon/bracket/issues/1207
2025-05-08 17:43:06 +02:00
Erik Vroon
f0c5875584 New Crowdin updates (#1210) 2025-05-07 20:24:09 +00:00
Erik Vroon
6051ea36d1 New Crowdin updates (#1209) 2025-05-07 16:27:44 +00:00
Erik Vroon
d803a9889d New Crowdin updates (#1205) 2025-05-07 00:00:43 +02:00
Erik Vroon
7264438248 New Crowdin updates (#1183) 2025-04-05 10:36:08 +02:00
Erik Vroon
e7fd569a41 New Crowdin updates (#1181) 2025-04-04 13:43:48 +02:00
Erik Vroon
6ff6e34ac9 New Crowdin updates (#1180) 2025-04-04 12:10:19 +02:00
Erik Vroon
0e8bfc2e07 New Crowdin updates (#1119) 2025-02-12 13:25:15 +01:00
Erik Vroon
2fa8c08da3 Add teams with players (#1118)
fixes https://github.com/evroon/bracket/issues/978
2025-02-12 11:27:14 +00:00
Erik Vroon
0554e75c8f New Crowdin updates (#1113) 2025-02-09 18:34:01 +01:00
Erik Vroon
489fc2ba64 Feature: archived tournaments (#1112)
fixes https://github.com/evroon/bracket/issues/690
2025-02-09 18:00:52 +01:00
Erik Vroon
4140191843 New Crowdin updates (#1096) 2025-02-02 20:18:29 +01:00
Erik Vroon
432d652085 New Crowdin updates (#1005) 2024-11-12 15:58:27 +01:00
Erik Vroon
7e8ee238b0 New Crowdin updates (#1000) 2024-11-07 21:10:57 +00:00
Erik Vroon
7d68f35a3b New Crowdin updates (#987) 2024-11-06 16:18:46 +01:00
Erik Vroon
932e5a245d Show updates to stage item inputs when going to next stage (#966) 2024-11-06 14:52:42 +01:00
Erik Vroon
7cd6a550ac New Crowdin updates (#982) 2024-11-04 18:34:04 +01:00
Erik Vroon
b00a0f3819 Improve UX of swiss items (#981) 2024-11-04 17:55:27 +01:00
Erik Vroon
b20ca9ffb7 New Crowdin updates (#964) 2024-10-28 18:03:03 +01:00
Erik Vroon
27f6625547 Small fixes to builder (#963) 2024-10-26 20:55:43 +02:00
Erik Vroon
58925b13b2 New Crowdin updates (#941) 2024-10-15 14:03:32 +02:00
Erik Vroon
c188bfb894 New Crowdin updates (#937) 2024-10-04 12:12:31 +02:00
Erik Vroon
d247a0c621 New Crowdin updates (#936) 2024-10-04 11:30:49 +02:00
Erik Vroon
3b7f9ab73e New Crowdin updates (#934) 2024-10-04 09:38:21 +02:00
Erik Vroon
77a904a5ed New Crowdin updates (#930) 2024-10-04 00:13:35 +02:00
Erik Vroon
b90532da41 New Crowdin updates (#929) 2024-10-03 09:29:36 +02:00
Erik Vroon
d37e113cc9 New Crowdin updates (#918) 2024-09-22 10:24:12 +02:00
Erik Vroon
09fe33e151 New Crowdin updates (#898) 2024-09-09 20:03:23 +02:00
Erik Vroon
1255b73e11 New Crowdin updates (#896) 2024-09-08 19:21:50 +02:00
Erik Vroon
31aae10839 Show modal when activating stages (#897) 2024-09-08 19:20:05 +02:00
Erik Vroon
8a32b5c841 Improve planning page (#895) 2024-09-08 11:14:50 +02:00