Phase 0.2: Remove frontend deprecated code

- Delete pages: sum, audit, admin/random-jobs
- Delete old homepage (counter) and create redirect page
- Update Header.tsx: remove Counter, Sum, Audit, Random Jobs nav items
- Update auth-context.tsx: remove VIEW_COUNTER, INCREMENT_COUNTER, USE_SUM permissions
- Update profile/page.test.tsx: fix nav link assertions
This commit is contained in:
counterweight 2025-12-22 18:09:09 +01:00
parent 5bad1e7e17
commit a5c1eccb4b
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
9 changed files with 27 additions and 1260 deletions

View file

@ -211,8 +211,8 @@ describe("ProfilePage - Navigation", () => {
render(<ProfilePage />);
await waitFor(() => {
expect(screen.getByText("Counter")).toBeDefined();
expect(screen.getByText("Sum")).toBeDefined();
expect(screen.getByText("Book")).toBeDefined();
expect(screen.getByText("Appointments")).toBeDefined();
});
});