Files
ntspi-app/resources/js/Pages/Dashboard/Components/quickActionsConfig.js
T
F4ilji c9fca0bf29 feat: add Sveden update feature
- SvedenController: upload zip and extract to public/sveden
- UpdateSvedenAction: orchestrates temp file handling and extraction
- ExtractSvedenArchiveTask: validates and extracts sveden/abitur folders with security checks
- Sveden.vue: upload UI with progress indicator
- Added routes: GET/POST /dashboard/sveden
- Added quick action: Обновить Sveden
2026-06-30 16:12:16 +05:00

35 lines
911 B
JavaScript

/**
* Quick actions configuration.
* These actions appear in the user profile area (below the user info).
*
* @typedef {Object} QuickAction
* @property {string} label - Display name
* @property {string} route - Route name for internal links
* @property {string} icon - Icon name (mapped in SidebarUser)
* @property {boolean} [external] - If true, uses href instead of route
* @property {string} [href] - External URL (if external is true)
*/
/** @type {QuickAction[]} */
export const quickActions = [
{
label: 'Админ-панель',
route: null,
href: '/admin',
icon: 'cog',
external: true,
},
{
label: 'Быстрая загрузка',
route: 'dashboard.quick-upload.create',
href: null,
icon: 'upload',
},
{
label: 'Обновить Sveden',
route: 'dashboard.sveden',
href: null,
icon: 'cog',
},
];