Commit Graph
817 Commits
Author SHA1 Message Date
curo1305 df53cef3b7 feat(11-04): mobile-safe modals and form baseline verification
- Add max-h-[90vh] overflow-y-auto to ShareModal, CloudCredentialModal,
  FolderDeleteModal, and DocumentView cloud-delete modal panels
- Add responsive px-4 sm:px-6 to DocumentPreviewModal header for narrow viewports
- Add data-test attributes to all modal panels for testability
- Confirm @tailwindcss/forms active in tailwind.config.js (no drift found)
- Audit forms: focus:outline-none focus:ring-2 pattern is consistent throughout
- Add 4 test files covering mobile-safe modal classes and form baseline:
  ShareModal.mobile.test.js, CloudCredentialModal.mobile.test.js,
  FolderDeleteModal.mobile.test.js, DocumentPreviewModal.mobile.test.js

VISUAL-02, RESP-04
2026-06-16 21:33:57 +02:00
curo1305 71ddbfd426 docs(phase-11): update tracking after wave 2 2026-06-16 21:26:47 +02:00
curo1305 e32793c126 chore: merge executor worktree (worktree-agent-ae52d6537a4569901) 2026-06-16 21:26:09 +02:00
curo1305 dfac0a9617 docs(11-03): complete responsive shells and storage rows plan summary 2026-06-16 21:24:26 +02:00
curo1305 d914761120 feat(11-03): responsive shells and storage rows
- App.vue: mobile header with hamburger button; slide-in overlay drawer
  with Teleport backdrop, translate-x-0/-translate-x-full transition;
  drawer state owned by App.vue (D-04/D-05); route-change auto-close
- AdminLayout.vue: matching responsive treatment — hamburger, backdrop,
  drawer, route-change close (RESP-05)
- StorageBrowser.vue: responsive grid templates
  (mobile: grid-cols-[2rem_1fr_6rem], sm: +modified, md: all 5 cols);
  Size hidden below md, Modified hidden below sm; action buttons get
  min-w-[36px] min-h-[36px] touch targets (RESP-02, RESP-03)
- Tests: drawer open/close/backdrop-close/route-change behaviour;
  admin drawer; responsive column and touch-target class assertions
2026-06-16 21:22:59 +02:00
curo1305 6155aaba46 docs(phase-11): update tracking after wave 1 2026-06-16 21:12:35 +02:00
curo1305 dfc6ff52f7 docs(11-02): complete lazy-load routes plan — SUMMARY.md 2026-06-16 21:11:46 +02:00
curo1305 4fa07b3874 perf(11-02): lazy-load non-critical routes — PERF-03
- Keep FileManagerView synchronous for / per D-10 (critical first authenticated surface)
- Lazy-load TopicsView, DocumentView, SettingsView, CloudStorageView, CloudFolderView
- /folders/:folderId reuses synchronous FileManagerView (no split, same component)
- Main bundle reduced from 264.63 kB to 180.17 kB (split into 5 new route chunks)
- Extend router guard tests: admin child route blocking, refresh-before-guard flow,
  lazy-loaded route resolution — 234 tests pass (15 new tests added)
2026-06-16 21:10:48 +02:00
curo1305 7547e8ae97 docs(phase-11): update tracking after wave 0 2026-06-16 21:07:57 +02:00
curo1305andClaude Sonnet 4.6 3361a63ffd docs(11-01): add plan summary — baseline captured, audit complete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 21:06:22 +02:00
curo1305 6d56d25977 docs(11-01): capture Phase 11 bundle baseline and frontend audit
- Ran ANALYZE=true npm run build; copied stats.html to .planning/perf/phase11-baseline.html
- Added phase11-baseline-summary.md: chunk sizes, route lazy-load audit,
  responsive/modal/typography/dead-code findings for plans 11-02..11-06
- Main bundle: 264.63 kB raw / 89.34 kB gzip; 5 user routes still synchronous
- Admin/auth routes already lazy-loaded; CSS 98.74 kB raw (expected for full UI)
2026-06-16 21:05:12 +02:00
curo1305 0fb2a53a4f chore(11-01): add ANALYZE=true opt-in for rollup-plugin-visualizer in vite.config.js
- Wrapped config in async defineConfig factory so visualizer can be dynamically
  imported only when ANALYZE=true; normal builds incur zero overhead
- Added frontend/stats.html to .gitignore (ephemeral artifact; canonical copy
  lives in .planning/perf/)
2026-06-16 21:04:54 +02:00
curo1305 41d136fa1f docs(state): record phase 11 context session 2026-06-16 20:50:43 +02:00
curo1305 f03d5b095e docs(11): capture phase context 2026-06-16 20:50:37 +02:00
curo1305andClaude Sonnet 4.6 83cdf28231 docs(phase-10): evolve PROJECT.md and resolve UAT after gap closure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 20:12:46 +02:00
curo1305andClaude Sonnet 4.6 ac95c1243f docs(phase-10): complete gap closure verification — 219 tests, all 6 UAT gaps closed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 20:11:51 +02:00
curo1305 2263abb2eb chore: merge executor worktree (worktree-agent-a2c859712240996ff) 2026-06-16 19:22:48 +02:00
curo1305 0df2942e4c docs(10-13): complete gap closure plan summary
- 6 UAT gaps closed: shimmer, search-at-root, admin sidebar, keyboard shortcuts, escape focus, OS drag-drop
- 219 tests passing (8 new)
- 5 production files modified, 3 test files added
2026-06-16 19:20:16 +02:00
curo1305 339f5a0c82 test(10-13): regression tests for all 6 UAT gaps
- keyboard.test.js: Gap 4 test — matched.find(r => r.instances?.default) resolves to FileManagerView
- TreeItem.test.js: Gap 1 tests — animate-pulse present, 'Loading' text absent during shimmer state
- StorageBrowser.showSearch.test.js: Gap 2 tests — showSearch true for local+cloud at root
- All 219 tests pass (8 new, 211 existing)
2026-06-16 19:19:02 +02:00
curo1305 bac5dcfe3d fix(10-13): escape modifier and capture-phase OS drop
- SearchBar.vue: add .prevent.stop to @keydown.escape to suppress browser native blur (Gap 5)
- OsDragOverlay.vue: register window drop listener with capture=true to fire before folder-row handlers (Gap 6)
2026-06-16 19:12:57 +02:00
curo1305 5972a62041 fix(10-13): admin sidebar bleed and keyboard instance resolution
- App.vue: add v-else-if branch for admin routes that renders only router-view (no AppSidebar)
- App.vue: replace routeViewRef with getFileManagerInstance() using matched.find(r => r.instances?.default)
- App.vue: remove unused ref import (Gap 3 + Gap 4)
2026-06-16 19:12:05 +02:00
curo1305 76785b4d96 fix(10-13): sidebar shimmer rows and search-at-root visibility
- TreeItem.vue: replace 'Loading…' text with 3 animate-pulse shimmer rows
- StorageBrowser.vue: showSearch now true for mode=local OR mode=cloud (Gap 1 + Gap 2)
2026-06-16 19:11:25 +02:00
curo1305 42ab542e25 fix(10-13): admin sidebar bleed and keyboard instance resolution
- App.vue: add v-else-if branch for admin routes that renders only router-view (no AppSidebar)
- App.vue: replace routeViewRef with getFileManagerInstance() using matched.find(r => r.instances?.default)
- App.vue: remove unused ref import (Gap 3 + Gap 4)
2026-06-16 19:07:54 +02:00
curo1305 f9e5a31945 fix(10-13): sidebar shimmer rows and search-at-root visibility
- TreeItem.vue: replace 'Loading…' text with 3 animate-pulse shimmer rows
- StorageBrowser.vue: showSearch now true for mode=local OR mode=cloud (Gap 1 + Gap 2)
2026-06-16 19:06:52 +02:00
curo1305 e3c681f99d docs(10): add root causes from diagnosis — 8 gaps diagnosed 2026-06-16 17:36:17 +02:00
curo1305 6d238a4ff3 test(10): complete UAT - 10 passed, 9 issues 2026-06-16 17:32:03 +02:00
curo1305 11228306e4 Merge cleanup branch 2026-06-16 15:40:33 +02:00
curo1305 3307282570 Fix Docker stack bootstrap 2026-06-16 15:35:06 +02:00
curo1305andClaude Sonnet 4.6 ce67b9f98a fix(cloud): skeleton on first render + informative toast when opening cloud files
- loading initialised to true so skeleton rows show immediately on mount
  instead of the empty state flashing before data arrives
- @file-open no longer a silent no-op; shows an info toast explaining the
  file must be opened via the cloud provider directly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 13:57:18 +02:00
curo1305andClaude Sonnet 4.6 210670d033 docs(phase-10): mark VALIDATION.md nyquist-compliant — 16/16 tasks COVERED, 211 tests pass
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 13:43:45 +02:00
curo1305 e97ca164d7 Refactor backend and frontend cleanup paths 2026-06-16 11:50:17 +02:00
curo1305andClaude Sonnet 4.6 4f6ee06f51 docs(10): mark Phase 10 complete — 15/15 truths verified, 211 tests pass
All 12 plans executed. Gap-closure committed in 6b56763 (Escape modal close,
revoke/rename toasts, StorageBrowser picker tests). Code review critical findings
resolved (CR-01 prop mutation, CR-02 double-shortcut on modal). VERIFICATION.md
shows 15/15 verified. Known pre-existing: esbuild CVE-GHSA-gv7w requires Vite 8
upgrade (breaking) — filed for Phase 11 chore.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 10:19:59 +02:00
curo1305andClaude Sonnet 4.6 9a1c7df65d fix(10): resolve WR-03/WR-04 code review warnings
WR-04: AdminAuditView.vue had a local formatTimestamp() duplicating shared
util logic — moved to utils/formatters.js and imported from there per CLAUDE.md
shared-module rule.

WR-03: Remove unused onUnmounted import from FileManagerView.vue.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 10:18:00 +02:00
curo1305andClaude Sonnet 4.6 efd6c78a15 fix(10): resolve CR-01 prop mutation + CR-02 double-shortcut on modal open
CR-01: DocumentCard.vue `@unshared="doc.is_shared = false"` mutated a
defineProps prop (readonly in Vue 3). Replace with a local `isShared` ref
watched against prop changes so the Shared pill hides correctly after revoke.

CR-02: App.vue keyboard handler fired U/N/Escape shortcuts even when a modal
was open (no input focused). Add `role="dialog"` guard so all shortcuts are
suppressed while any dialog is in the DOM.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 10:16:28 +02:00
curo1305andClaude Sonnet 4.6 37f49bc6ea docs(10): add code review report
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 10:13:37 +02:00
curo1305andClaude Sonnet 4.6 a6e130b49e docs(10): re-verify after gap closure — all 15 truths verified, 211 tests pass
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 10:03:16 +02:00
curo1305 6b56763689 fix(10): close UX-06/UX-10/UX-13 verification gaps — Escape modal close, rename/revoke toasts, StorageBrowser picker tests 2026-06-16 09:57:17 +02:00
curo1305 2605227fe0 docs(10): add code review report 2026-06-16 09:45:54 +02:00
curo1305 b46b97864e docs(phase-10): update tracking after wave 5 complete (12/12 plans) 2026-06-16 09:40:33 +02:00
curo1305 538604394c chore: merge executor worktree (10-12 SVG AppIcon migration) 2026-06-16 09:39:58 +02:00
curo1305 dbd32fdb1c docs(10-12): complete SVG-to-AppIcon migration — CODE-05 complete 2026-06-16 09:39:27 +02:00
curo1305 20835bc706 refactor(10-12): migrate view-level SVGs to AppIcon
- CloudStorageView: cloud icon
- SettingsView: checkCircle, exclamationCircle, x (x2)
- AccountView: checkMark (TOTP enabled indicator)
- AdminAiView: chevronDown (accordion)
- AdminUsersView: copy, check, refresh
- SettingsAccountTab: checkMark (TOTP enabled)
- TotpEnrollment: checkMark (verified state)
- CloudCredentialModal: x, chevronRight
- DocumentView: warning (cloud delete modal)
- SharedView: document icon
2026-06-16 09:37:47 +02:00
curo1305 bbb9db73e7 refactor(10-12): migrate cloud/settings/UI SVGs to AppIcon
- SearchableModelSelect: chevronDown + pencilEdit
- SettingsCloudTab: warning (x2) + cloud icons
- CloudProviderTreeItem: cloud icon
- CloudFolderTreeItem: folder + fileDoc icons
2026-06-16 09:33:57 +02:00
curo1305 939ea79977 refactor(10-12): migrate folder/document/upload/sharing SVGs to AppIcon
- FolderRow.vue: folder icon + dots menu button (fill-based → stroke AppIcon)
- FolderTreeItem.vue: folder icon in #icon slot
- FolderDeleteModal.vue: warning icon
- DocumentCard.vue: document, folderMove, share action icons
- DocumentPreviewModal.vue: x close button (spinner SVG kept)
- ShareModal.vue: x close button
- DropZone.vue: upload icon
- UploadProgress.vue: exclamationCircle (error) + checkCircle (done) icons; spinner kept
2026-06-16 08:37:42 +02:00
curo1305 cb41753605 refactor(10-12): migrate sidebar + layout + TreeItem SVGs to AppIcon
- StorageBrowser.vue: replace 8 inline SVGs (plus, folder x2, pencil, trash, share, folderMove, document)
- AppSidebar.vue: replace 8 inline SVGs (tag, inbox, chevronRight x2, folder, cloud, shield, cog dual-path, logout)
- AdminSidebar.vue: replace 6 inline SVGs (home, users, chartBar, lightBulb, clipboardList, logout)
- TreeItem.vue: replace 1 inline SVG (chevronRight expand/collapse)
2026-06-16 08:35:02 +02:00
curo1305 01a0605831 docs(phase-10): update tracking after wave 4 complete (11/12 plans) 2026-06-16 08:29:09 +02:00
curo1305 7dc011f3da docs(10-11): complete drag-to-move guard + teleport dropdowns plan — 10 tests, 3 components updated 2026-06-16 08:26:38 +02:00
curo1305 892abca8cf feat(10-11): teleport FolderRow three-dot menu to body with getBoundingClientRect positioning
- Add menuTriggerEl ref, menuStyle, and updateMenuPosition() using getBoundingClientRect
- Wrap three-dot menu in Teleport to body with data-test="folder-row-menu"
- toggleMenu() captures position before opening
- Add window scroll/resize listeners with cleanup in onUnmounted
- Update outside-click handler to also exclude teleported menu element
- All 4 UX-13 dropdown tests now pass; full test suite 208/208 green
2026-06-16 08:25:30 +02:00
curo1305 e0606b49f1 feat(10-11): teleport DocumentCard folder picker to body with getBoundingClientRect positioning
- Add pickerTriggerEl ref and pickerStyle computed from getBoundingClientRect
- Wrap folder picker dropdown in Teleport to body with data-test attribute
- Add updatePickerPosition() called on toggle, scroll, and resize
- Add window scroll/resize listeners with cleanup in onUnmounted
- 2 DocumentCard dropdown tests now pass
2026-06-16 08:24:28 +02:00
curo1305 f9ddda8e05 feat(10-11): add click-after-drag guard + teleport folder picker to StorageBrowser
- Guard file-row click: draggingFile ? null : emit('file-open', file)
- Add onFileDragEnd() with nextTick reset to prevent click-after-drag navigation
- Update onDropDocOnFolder to defer draggingFile reset via await nextTick()
- Replace absolute folder picker with Teleport to body + getBoundingClientRect positioning
- Add scroll/resize listeners to reposition picker on window scroll
- All 6 UX-11 dragmove tests now pass
2026-06-16 08:23:36 +02:00