-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Report Viewer to vite #1029
Conversation
# Conflicts: # report-viewer/package-lock.json # report-viewer/package.json
@sebinside Could you test the report viewer for any bugs and issues with a few larger and real samples? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good,
but I tried running it and when trying to load a report the error "Invalid JSON: [object Object],[object Object]" keeps poping up.
Also I think the README.md in /report-viewer ist not up to date anymore as the command "npm run serve" does not seem to be working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake, I used an invalid file.
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all, good work, looks promising and is already near to being merged. I had a look at your changes and also tested the report viewer with real-world data consisting of 20,000 comparisons. Here are my findings:
✅ Report Viewer behaves as expected for common operations
✅ Using the zip drag n drop method works in development
✅ Using the zip drag n drop method works after build using vite preview
❌ Using the src/files
method with the extracted content of the zip file works neither in dev nor after build. The XMLHttpRequest gets printed to the console together with the warning Unable to build comparison file.
This behavior remains when using a different local server like npm http-server.
Please have a look at this remaining bug. Afterward, we can merge this PR. Thank you!
This PR moves the Report Viewer to vite. This includes