Commit f063884
committed
feat: add external links admin with drag-and-drop and e2e tests
This introduces a full CRUD interface for managing external link
sections and links, including drag-and-drop reordering across
sections using dnd-kit. Links can be toggled enabled/disabled and
are rendered on the start page grouped by section.
The server side adds Alembic migrations for the external_link_sections
and external_links tables, along with API routes for sections, links,
and bulk reorder operations. The debug endpoint now truncates these
tables between e2e test runs to ensure clean state.
E2e tests cover section and link creation, editing, deletion,
enable/disable toggling with start page verification, and multi-section
rendering on the start page.1 parent 472e092 commit f063884
36 files changed
Lines changed: 2214 additions & 401 deletions
File tree
- client
- src
- components
- admin
- layout
- start-page
- ui
- vm-request/steps
- config
- hooks
- pages
- services
- types
- e2e
- fixtures
- tests
- server
- alembic
- versions
- request_server
- api
- routes
- core
- models
- schemas
- services/descriptions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| |||
0 commit comments