Commit Graph

16 Commits

Author SHA1 Message Date
Hiro
fe6ef71902 feat: Add Token Management UI
- Add SettingsTokens view at /settings/tokens
- Add TokenManager modal component for creating tokens
- Add token management functions to auth store (fetchTokens, generateToken, revokeToken)
- Add Settings link in header user dropdown
- Add ApiToken types to types/index.ts
- Route: GET /auth/tokens, POST /auth/token/generate, DELETE /auth/tokens/{id}
2026-03-31 01:43:50 +00:00
Hiro
bc9862eb7d docs: Add environment variables configuration to README 2026-03-31 01:05:11 +00:00
Hiro
b11004142a Fix: Import router in auth store 2026-03-31 00:34:23 +00:00
Hiro
881dd2dec1 Fix: Redirect to /login after logout 2026-03-31 00:30:34 +00:00
Hiro
ce938747ab feat: edit project description + folder selector for new docs 2026-03-31 00:17:47 +00:00
Hiro
ae324352a4 Fix: Send Authorization header to /auth/me 2026-03-31 00:02:06 +00:00
Hiro
f758927848 Phase 3: Graph View, Backlinks UI, Quick Switcher, Dark Mode, Export
Features:
- GraphView.vue: SVG-based force-directed graph visualization for projects
- QuickSwitcher.vue: Cmd+K modal with fuzzy search via /search API
- Dark Mode: Theme toggle in Header, persisted in localStorage, system pref support
- Backlinks UI: Incoming and outgoing links in DocumentView
- Export: Document (markdown/JSON) and Project (ZIP/JSON) export with download
- New composables: useTheme.ts for dark/light/system theme management
- New store methods: fetchBacklinks, fetchOutgoingLinks, search, exportDocument, fetchProjectGraph, exportProject
- TypeScript types for all Phase 3 API responses
2026-03-30 23:47:17 +00:00
Hiro
24925e1acb fix: resolve TypeScript errors in frontend build 2026-03-30 23:16:07 +00:00
Hiro
b733306773 feat(frontend): add TipTap editor and Reasoning panel
Phase 2 implementation:
- Add TipTap editor with bold, italic, headings, lists, code blocks
- Add Reasoning panel with editable reasoning_type, confidence, steps
- Add Markdown to TipTap conversion on document load
- Add PUT /documents/{id}/content endpoint integration
- Add PATCH /documents/{id}/reasoning endpoint integration
- New types: ReasoningStep, ReasoningPanelData, TipTapContentResponse
- New store methods: updateReasoning, addReasoningStep, deleteReasoningStep
- New components: TipTapEditor.vue, ReasoningPanel.vue
2026-03-30 23:06:46 +00:00
Motoko
b2153ceb4b Fix: Use fresh authStore reference for each request to avoid stale token 2026-03-30 20:28:33 +00:00
Motoko
4b90f20bfd Fix: Include credentials in refresh token retry request 2026-03-30 19:06:27 +00:00
Motoko
79de6567ae Fix: Ensure token is set before fetchUser call after login 2026-03-30 18:18:49 +00:00
Motoko
10a052da78 Fix: Don't send Authorization header for auth endpoints 2026-03-30 15:59:00 +00:00
Motoko
857a3123a8 Fix: Use POST instead of DELETE for logout endpoint 2026-03-30 15:56:34 +00:00
Motoko
329f7509f5 Add Dockerfile and nginx config for frontend 2026-03-30 15:33:32 +00:00
Motoko
c9cb07dbfc Phase 1 MVP - Complete implementation
- Login with JWT and refresh token rotation
- Dashboard with projects cards
- ProjectView with TreeView navigation
- DocumentView with markdown editor and auto-save
- Tag management (create, assign, remove)
- Dark mode CSS variables
- Security fixes applied (logout to backend, createDocument endpoint)
2026-03-30 15:17:29 +00:00