Commit Graph

9 Commits

Author SHA1 Message Date
johannes 3b80409718 fix(guide): collapsible nav not toggling — reference open/searching directly (Svelte reactivity)
isOpen() helper hid the dependency on `open` from Svelte's tracking, so clicks
updated state but not the view. Inline (searching || open[key]) instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 12:30:14 -04:00
johannes 9608b363ac feat(guide): collapsible nav — Modules (per-app) / Platform / Technical sections
Restructure reader sidebar into 3 collapsible top-level sections: Modules at
top (each product app collapsible with its module list), then Platform and
Technical. Auto-expands the section/app of the active module; search expands all.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 12:27:21 -04:00
johannes 916095f43b feat(guide): role-tab model — Customer/Internal/Architect/Claude (fleet pilot, Refs #1 #3)
Reader shows role-based tabs with icons (order 10/20/30/40, internal gated).
Fleet pilot: relabel Customer tab + author Internal/Architect/Claude tabs for
tasks/artifacts/patch-windows, grounded in fleet code. Architect/Claude tabs
surfaced real bugs (patch-window day-code, /stats hardcoded counts) — flagged
separately, not fixed here.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 11:47:27 -04:00
johannes 0328d90d8b feat(guide): dark theme + show/hide password on login; dark reader
Login page: dark card/inputs, Show/Hide password toggle (manual value bind
since dynamic type can't use bind:value). Reader: dark content, tabs, and
markdown (headings/tables/code/blockquote).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 11:28:35 -04:00
johannes 69fef2b2fd fix(guide): correct auth paths — /api/login + /api/users/me (base already includes /auth)
authApi baseURL is .../auth, so posting /auth/api/login double-prefixed to
/auth/auth/api/login → 403. Use /api/login and /api/users/me.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 11:00:49 -04:00
johannes 7bf43e1370 feat(guide): tabbed markdown reader — retire CRUD GuidesView (Phase 2, Refs #1)
New GuideReader.svelte: nav tree (apps→modules) + tabbed markdown (marked),
audience-gated server-side (admins see internal tabs, badged). Replaces the old
DB-CRUD GuidesView. Consumes GET /api/v1/guide/nav + /modules/{module}.
Deployed to guide.bcos.dev.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 10:42:59 -04:00
johannes 4b7f50ec6a feat(guide): markdown-driven backend API, retire DB/CRUD (Refs #1)
Phase 1 of the guide rebuild (DESIGN.md):
- MarkdownGuideService scans content/**/*.md (frontmatter: module/title/tab/order/audience)
- GET /api/v1/guide/nav + /api/v1/guide/modules/{module}; audience gated by role
  (internal tabs only for MSP_ADMIN/BCOS_ADMIN)
- Removed JPA/Flyway/Postgres, Guide entity/repo/service, admin CRUD, seed migrations
- Seed content: devices.sw-deploy (Overview/Data/Technical-internal), fleet.tasks
- Verified: boots with no DB, loads 4 docs, nav + audience filtering + 401 all correct

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 23:49:58 -04:00
johannes 59fce91714 fix(frontend): add type=module and svelte-preprocess to fix ESM build 2026-06-29 15:46:30 -04:00
johannes 638760e0b3 feat: initial hiveops-guide service — standalone guide content API and admin SPA 2026-06-29 15:39:17 -04:00