chore(deps): migrate to angular version 18#399
Conversation
|
538e096 to
b77cb98
Compare
joanise
left a comment
There was a problem hiding this comment.
This looks great, thanks! And the app seems to work well.
I have a question about compatibility with old browsers: if I understand scss correctly, all these .scss files get compiled to plain old CSS in the build process, so the change from @import to @use is only seen by the compiler, not the user's browser. Which means this should have no impact on being able to read new readalongs on old devices. As long as my understand is correct, I think we can be ready to merge this PR.
|
Yes, that's my understanding also, the browsers only see the compiled output. While looking at Angular 19, I noticed that I forgot to update the dependencies of What is the merge strategy of the project? I would recommend a squash-merge, since the individual commits don't amount to much be themselves (and are in a broken state). |
… role This is a combination of 3 commits: - test: fixed failing tests due to material-ui using role=radio for button groups - test: fixes flaky download readadlong tests - refactor: removed blank line
9b5ff8e to
545e3de
Compare
PR Goal?
Upgrade Angular from version 17 and 18 and the associated Nx dependencies from 18 to 19.
Fixes?
Does not close an open issue, but the upgrade did introduce a few issues which have been addressed in this PR:
@import; fixed by switching to the new module system and the@usestatement.role=buttonthey now userole=radio. Many web-component Cypress tests were failing since the appropriate elements could not be found.Feedback sought?
My first PR in this project so anything of note that I might have missed. Also, not familiar with ReadAlong, so a second review of the application would be useful.
Priority?
Medium urgency? It blocks my next task of upgrading to Angular 19. Due to the Sass and Material UI comments above, it should block any new feature development.
Tests added?
None.
How to test?
All existing tests are passing (with some flakiness). A manual test of the application would be appreciated to ensure I did not miss anything important.
Confidence?
Fairly confident.
Version change?
No new code or API changes, so a patch at a minimum (1.5.3). Unless, there's a need to reflect a major upgrade of Angular as a minor upgrade (1.6.0).