This repository was archived by the owner on May 29, 2026. It is now read-only.
Commit 1c23798
committed
feat(admin): delete /ai/slug-backfill and redesign /ai/translation-entries
- Delete /ai/slug-backfill route, its surface (SlugBackfillSurface), the
WriterGeneratePanel helper, the slug-backfill API functions, and all
related i18n keys. The `AITaskType.SlugBackfill` enum value and the task
type label are kept so historical tasks still render in /ai/tasks.
- Drop the slug tab from `aiSurfaceTabs`, the slug branch from
`getInitialAiSurface`, and the 'slug' variant from `AiSurface`.
- Migrate /ai/translation-entries off the legacy AiRouteViewContent tab
wrapper into a self-contained AiTranslationEntriesRouteView modelled on
the /posts list shell: FocusScope + ContentListHeader + a custom toolbar
strip (keyPath select / lang input / refresh) + Scroll table + pagination.
URL-syncs page/keyPath/lang. The old TranslationEntriesSurface and its
AiRouteViewContent branch are removed.1 parent eebfd69 commit 1c23798
12 files changed
Lines changed: 135 additions & 344 deletions
File tree
- apps/admin/src
- api
- features/ai
- components
- routes
- types
- utils
- i18n/resources
- views/(system)/ai
- slug-backfill
- translation-entries
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | 510 | | |
524 | 511 | | |
525 | 512 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
72 | | - | |
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
| |||
Lines changed: 0 additions & 112 deletions
This file was deleted.
Lines changed: 0 additions & 93 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 140 | | |
148 | 141 | | |
149 | 142 | | |
| |||
0 commit comments