Skip to content

Vue 3 Migration — Phase 2: Simple Read-Only Pages#1038

Merged
Tim020 merged 1 commit into
feature/vue3-migrationfrom
feature/vue3-migration-phase-2
May 14, 2026
Merged

Vue 3 Migration — Phase 2: Simple Read-Only Pages#1038
Tim020 merged 1 commit into
feature/vue3-migrationfrom
feature/vue3-migration-phase-2

Conversation

@Tim020
Copy link
Copy Markdown
Contributor

@Tim020 Tim020 commented May 14, 2026

Summary

  • stores/help.ts — Pinia port of the Vuex help module: manifest loading, per-slug document cache, and Fuse.js full-text search
  • components/MarkdownRenderer.vue — Port with marked v18 async API (watch + ref instead of computed); >>> deep selectors replaced with :deep(); import.meta.env.BASE_URL used for help links so they work at both /ui-new/ and / (Phase 14 cutover)
  • views/HomeView.vue — Reads systemStore.currentShow/settings + userStore.currentUser; currentShowSession stubbed as null until Phase 6 wires in the show store
  • views/AboutView.vue — Static content, <script setup>
  • views/HelpView.vue — BVN port with sticky sidebar nav, debounced Fuse.js search, dynamic navbar height offset
  • views/help/HelpDocView.vue — Cache-first document loading, watches route.params.slug
  • router/index.ts — Wire /about and /help//help/:slug to real components; fix /help child empty-path redirect to use absolute path /help/getting-started; fix catch-all to render NotFoundView in-place (no URL redirect), matching Vue 2 path: '*' behaviour

Test plan

  • npm run build passes
  • npm run typecheck passes
  • npm run ci-lint passes
  • /ui-new/ — HomeView shows current show name and session state
  • /ui-new/about — matches Vue 2 /about visually
  • /ui-new/help — redirects to /ui-new/help/getting-started, sidebar and markdown render correctly
  • Help search filters the sidebar doc list
  • /ui-new/some/unknown — shows 404 page without changing URL

🤖 Generated with Claude Code

- stores/help.ts: Pinia port of Vuex help module with manifest loading, document
  cache, and Fuse.js full-text search
- components/MarkdownRenderer.vue: async marked v18 API via watch+ref; :deep() CSS
  selectors; import.meta.env.BASE_URL for portable help links across base paths
- views/HomeView.vue: reads systemStore.currentShow/settings + userStore.currentUser;
  currentShowSession stubbed null until Phase 6
- views/AboutView.vue: static content port
- views/HelpView.vue: BVN port with sticky sidebar, debounced search, dynamic navbar
  height offset
- views/help/HelpDocView.vue: cache-first doc loading, watch route.params.slug
- router: wire /about and /help routes; fix /help child redirect to absolute path;
  fix catch-all to render NotFoundView in-place (no URL redirect) matching Vue 2
  behaviour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Client V3 Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 2af0a85. ± Comparison against base commit 771f0fd.

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Client Test Results

128 tests  ±0   128 ✅ ±0   0s ⏱️ ±0s
  6 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 2af0a85. ± Comparison against base commit 771f0fd.

@github-actions
Copy link
Copy Markdown

Python Test Results

  1 files  ±0    1 suites  ±0   1m 30s ⏱️ -5s
603 tests ±0  603 ✅ ±0  0 💤 ±0  0 ❌ ±0 
608 runs  ±0  608 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 2af0a85. ± Comparison against base commit 771f0fd.

@Tim020 Tim020 merged commit 91faa26 into feature/vue3-migration May 14, 2026
17 checks passed
@Tim020 Tim020 deleted the feature/vue3-migration-phase-2 branch May 14, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant