diff --git a/CHANGELOG.md b/CHANGELOG.md index ac238b6..7daedce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,35 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Added (Frontend Gap Closure — 2026-02-15) + +**New Views:** +- `SchedulesView.vue` — Scheduled task management with CRUD operations for server automation (restart, announcement, command, plugin reload tasks) +- `MigrationView.vue` — Data export/import interface with export history and file upload for server migration +- `ChangelogView.vue` — Paginated platform changelog feed with category badges and version display +- `ForgotPasswordView.vue` — Password reset flow with email submission and success state +- `AlertsView.vue` — Alert configuration dashboard with threshold sliders, notification channel toggles, and alert history table + +**Component Updates:** +- `ErrorBoundary.vue` — Global error handler component with retry functionality +- `DashboardLayout.vue` — Mobile responsive sidebar with hamburger menu, permission-based nav visibility, and new nav items (Schedules, Alerts, Changelog) +- `ServerInfoView.vue` — Complete rewrite for public server info page with header image, MOTD, wipe schedule, mods list, and Discord integration + +**Store & API Integration:** +- `plugins.ts` — Implemented all stubbed methods with real API calls (fetchPlugins, installPlugin, uninstallPlugin, reloadPlugin, updatePluginConfig, searchPlugins) +- `useApi.ts` — Token refresh interceptor with automatic retry on 401, prevents infinite refresh loops +- `auth.ts` — Added `hasPermission()` helper with basic permission checking + +**Router:** +- Added routes: `/schedules`, `/migration`, `/changelog`, `/alerts`, `/forgot-password` +- Added catch-all route redirecting to home +- All new routes under authenticated dashboard layout + +**App Structure:** +- Wrapped root `` with `ErrorBoundary` for global error handling + +**Purpose:** Closes frontend implementation gaps identified during Phase 4. Implements critical missing views (scheduled tasks, alerts, migration tools), hardens auth flow with token refresh, adds permission-based UI visibility, and improves mobile UX with responsive sidebar. + ### Added (NestJS Backend — Core Modules) **Auth Module (`modules/auth/`):** diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a003230..321eb9f 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,9 +1,12 @@ diff --git a/frontend/src/components/ErrorBoundary.vue b/frontend/src/components/ErrorBoundary.vue new file mode 100644 index 0000000..e92d806 --- /dev/null +++ b/frontend/src/components/ErrorBoundary.vue @@ -0,0 +1,37 @@ + + + diff --git a/frontend/src/components/layout/DashboardLayout.vue b/frontend/src/components/layout/DashboardLayout.vue index 46d0643..24c29b0 100644 --- a/frontend/src/components/layout/DashboardLayout.vue +++ b/frontend/src/components/layout/DashboardLayout.vue @@ -1,4 +1,5 @@