feat(admin): add MediaView, MediaPickerModal, MediaFinderField, unify MailImagePicker, and rebuild boardwalk dist

This commit is contained in:
Jakub Zych
2026-11-27 13:15:34 +01:00
parent 790b626509
commit 4c5222ed68
21 changed files with 523 additions and 347 deletions

View File

@@ -21,6 +21,9 @@ export function pageIndicator(route: RouteLocationNormalizedLoaded): string {
if (route.name === 'plugins') {
return t('backend::lang.plugins.title')
}
if (route.name === 'media') {
return t('backend::lang.media.title')
}
if (route.name === 'connect') {
return t('backend::lang.mcp_connect.page_title')
}

View File

@@ -13,6 +13,7 @@ import SettingsFormView from '../views/SettingsFormView.vue'
import SettingsIndexView from '../views/SettingsIndexView.vue'
import AccountView from '../views/AccountView.vue'
import ConnectView from '../views/ConnectView.vue'
import MediaView from '../views/MediaView.vue'
import PluginsView from '../views/PluginsView.vue'
import NotFoundView from '../views/NotFoundView.vue'
@@ -71,6 +72,8 @@ export function createAdminRouter(history: RouterHistory = createWebHistory(runt
},
{ path: '/settings', name: 'settings', component: SettingsIndexView, meta: { shell: true } },
{ path: '/settings/:code', name: 'settings-form', component: SettingsFormView, meta: { shell: true } },
// First-class Media Library screen (media.view_media / media.manage_media).
{ path: '/media', name: 'media', component: MediaView, meta: { shell: true } },
// My account: the signed-in admin's own profile and password.
{ path: '/account', name: 'account', component: AccountView, meta: { shell: true } },
// The read-only Plugins screen (Settings → System, backend.view_plugins).