feat(admin): rename series route and add tags review page
Rename /admin/series-management to /admin/series so it follows the /admin/<section> convention; the breadcrumb's auto-derived parent link is now a real route (was a dead /admin/series link). Add an /admin/tags page to review pending TagSuggestions — list, approve (creates the Tag), reject — backed by new admin endpoints and a tagSuggestionReviewSchema. Resolves the dead /admin/tags alert link.
This commit is contained in:
parent
7beb86b430
commit
151481f1ec
9 changed files with 358 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="create-form">
|
||||
<div class="page-header">
|
||||
<NuxtLink to="/admin/series-management" class="back-link">← Series</NuxtLink>
|
||||
<NuxtLink to="/admin/series" class="back-link">← Series</NuxtLink>
|
||||
<h1>Create New Series</h1>
|
||||
<p>Create a new event series to group related events together</p>
|
||||
</div>
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
<!-- Form Actions -->
|
||||
<div class="form-actions">
|
||||
<NuxtLink
|
||||
to="/admin/series-management"
|
||||
to="/admin/series"
|
||||
class="btn"
|
||||
>
|
||||
Cancel
|
||||
|
|
@ -211,7 +211,7 @@ const createSeries = async (redirectAfter = true) => {
|
|||
|
||||
if (redirectAfter) {
|
||||
setTimeout(() => {
|
||||
router.push('/admin/series-management')
|
||||
router.push('/admin/series')
|
||||
}, 1500)
|
||||
}
|
||||
|
||||
|
|
|
|||
1234
app/pages/admin/series/index.vue
Normal file
1234
app/pages/admin/series/index.vue
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue