Refactor frontend components and dependencies

- Update ESLint configuration for frontend
- Refactor dialog components (ActivateJail, CreateAction, CreateFilter, CreateJail)
- Update JailsTab and RegexTesterTab components
- Refactor TopCountriesPieChart component
- Update package.json dependencies
- Update documentation (Tasks.md)
- Refactor CodeList component for jail page

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-04-22 20:26:43 +02:00
parent 1bf0645c04
commit a286ede49c
15 changed files with 1395655 additions and 31 deletions

View File

@@ -611,7 +611,11 @@ Do **not** add a Content-Security-Policy meta tag; CSP should be set as an HTTP
---
### TASK-030 — Add manual chunk splitting to `vite.config.ts`
### TASK-030 — Add manual chunk splitting to `vite.config.ts` (done)
**Where fixed:** `frontend/vite.config.ts`
**Summary:** Implemented `build.rollupOptions.output.manualChunks` function that groups modules into four vendor chunks: `react-vendor`, `ui-vendor`, `chart-vendor`, and `geo-vendor`. This ensures stable, cacheable chunks across deployments.
**Where found:** `frontend/vite.config.ts``build` section is absent entirely; Rollup uses its default single-chunk strategy.