feat: Vue DevTools inspector + docs workspace - #246
Conversation
Move docs deps out of root so the module package stays lean. Co-authored-by: Cursor <cursoragent@cursor.com>
Official embed with branded trigger; hide closed Shadow DOM button. Co-authored-by: Cursor <cursoragent@cursor.com>
Optional inspector/timeline for locale, chunks, and missing keys. Co-authored-by: Cursor <cursoragent@cursor.com>
Patch bumps for packages depending on core/types changes. Co-authored-by: Cursor <cursoragent@cursor.com>
Cover vueDevtools option and core/devtools export. Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
There was a problem hiding this comment.
All reported issues were addressed across 51 files
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
Re-trigger cubic
Keep Ask AI trigger covering Mintlify shadow host, notify inspector on mutate, encode key paths, and drop dead bridge/useState paths. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
All reported issues were addressed across 15 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
Normalize empty route to index, drop duplicate docs serve, test onContextChange reasons and route-aware missing keys. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
All reported issues were addressed across 5 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
Keep chunk Active tags in sync with key-level active detection. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
@i18n-micro/docsworkspace package (deps off root)vueDevtools,@i18n-micro/core/devtools) and fix Nuxt DevTools client path for source-linked playground3.26.0Test plan
pnpm installthenpnpm typecheckpnpm --filter @i18n-micro/core buildand open Vue DevTools inspector in playgroundVUE_ROUTER_R0004when usingmodules: ['../src/module']pnpm docs:dev— Ask AI widget opens; dark/light theme followspnpm run release:sourceandpnpm run check:versions -- --npm --base origin/mainMade with Cursor
Summary by cubic
Adds an optional Vue DevTools inspector and timeline for live i18n debugging in dev, and moves the VitePress docs into a new
@i18n-micro/docsworkspace with a Mintlify Ask widget and branding. The inspector uses encoded key paths, updates in real time, distinguishes load vs refresh, and fixes Active tags when the route is empty.New Features
$ttracing withdebug: true.i18n.vueDevtools(defaulttruein dev) to toggle the browser extension; Nuxt DevTools tab stays the same.@i18n-micro/core/devtoolsfor inspector tree/state with encoded key paths.@i18n-micro/docs; Mintlify Ask widget with branded trigger and theme-aware styling; trigger covers the widget’s shadow host; optional peer@vue/devtools-apibumped to ^8.1.5.Bug Fixes
index, and keeps chunk-level Active tags in sync.useStatepaths; dev-only bridge kept out of serializable state.Written for commit 1ea6755. Summary will update on new commits.