✨ Add static HTML report generation for TDD run #168
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
vizzly tdd runthat creates a self-contained report at.vizzly/report/index.htmlrenderToStringfor true static HTML output (no JavaScript required to view)--no-openflag to skip auto-opening the report in browser--keep-serverflag to use interactive live dashboard instead of static report<details>/<summary>HTML elements for expand/collapse functionalityThis should address #159
Technical Details
SSR Architecture:
vite.ssr.config.js) outputs Node-compatible ES modulestatic-report-view.jsx) for SSR compatibilityrenderToStringfromreact-dom/server<style>tag, images copied toreport/images/folderReport UI:
Cleanup:
isStaticMode()function from API clientuseStaticMode()hookindex.htmlTest plan
vizzly tdd run "npm run test:reporter"and verify static report opensfile://URL--no-openflag skips browser opening--keep-serverflag shows live dashboard insteadnpm run buildnpm test