-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat(website-frontend): load mutation-test-report-app component directly instead of via cdn #524
Conversation
03722b2
to
c7f7fb4
Compare
ce30641
to
47e76ac
Compare
…tly instead of via cdn This allows for better bundling, and should lazy-loading/module-splitting be enabled, this won't load the mutation-test-report-app on pages other than the reports page. The event handling is a bit weird, but this is just how Angular is with custom element events, I suppose. Also some minor changes: - Uses nest.js static file serving instead of express middleware. - Adds more strict cache-control headers for static files, this results in __much__ faster loading on subsequent visits. - Adds a robots.txt
47e76ac
to
7f73e1c
Compare
10ff52b
to
93fe7f5
Compare
93fe7f5
to
7d15795
Compare
It is. I was actually planning on removing angular from the dashboard after #519 is done, should also reduce the amount of data transferred :). I will look at this in more detail but it seems like a big improvement! |
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.
Looks good to me, though I prefer pinning the versions. Up to you if you'd like to fix it 👍
c799716
to
49b2b8e
Compare
49b2b8e
to
7c75194
Compare
This allows for better bundling, and should lazy-loading/module-splitting be enabled, this won't load the mutation-test-report-app on pages other than the reports page.
The event handling is a bit weird, but this is just how Angular is with custom element events, I suppose.
Also some minor changes:
setup-node
workflow steps with caching to not be dependent on GH Actions node versions and fasternpm ci