feat: HTML diagnostic report and --open-report flag#60
Open
drugoi wants to merge 1 commit intomillionco:mainfrom
Open
feat: HTML diagnostic report and --open-report flag#60drugoi wants to merge 1 commit intomillionco:mainfrom
drugoi wants to merge 1 commit intomillionco:mainfrom
Conversation
- Add self-contained report.html next to diagnostics.json when issues are found - Report shows score (when available), summary counts, and diagnostics grouped by rule - Add --open-report to open the HTML report in the default browser after scan - Add openFile() util for cross-platform file opening (macOS, Windows, Linux) - Update README, llms.txt, and react-doctor skill docs with new options and report behavior Co-authored-by: Cursor <cursoragent@cursor.com>
|
@drugoi is attempting to deploy a commit to the Million Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Hey @aidenybai, this would be a nice addition to the project, don’t you think? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hi there, great tool. It would be very useful to be able to share a static HTML report with colleagues after running the tool (or alternatively enhance the
/shareendpoint to include all identified issues).Summary
report.htmlis written next todiagnostics.jsonin the output directory. The report shows score (when available), summary counts, and diagnostics grouped by rule.--open-report: New CLI flag to open the HTML report in the default browser after the scan.packages/website/public/llms.txt, and react-doctor skill updated with the new options and report behavior.Changes
packages/react-doctor:ReportPayloadtype,buildReportHtml()inreport-template.ts,writeReportDirectory()writesreport.html,openFile()util,--open-reportflag andopenReportinScanOptions.--open-report,--offline, and description of the HTML report.How it looks
Made with Cursor