Skip to content
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

Update TPv2 to Angular 15 #7454

Merged
merged 6 commits into from
May 3, 2023
Merged

Update TPv2 to Angular 15 #7454

merged 6 commits into from
May 3, 2023

Conversation

shamrickus
Copy link
Member

This PR updates TPv2 to Angular 15, usually these upgrade are pretty "boring" as there aren't many changes but this time is different. In 15, Angular Material went through some significant refactors to more closely align to the Material Design spec (and therefore also makes it more accessible).


Which Traffic Control components are affected by this PR?

  • Traffic Portal v2

What is the best way to verify this PR?

Run TPv2 and verify all pages look good at various resolutions. It might also be beneficial to review this PR by commits, the first two commits were just upgrading and automatic migrations. Everything that follows is fixing issues that arose from those migrations or style issues. Also should probably review upgrading recommendations to make sure the changes were done appropriately (and none were missed).
Angular Update guide (great tool in general):
Material Migration guide

PR submission checklist

@shamrickus shamrickus added medium impact impacts a significant portion of a CDN, or has the potential to do so dependencies Pull requests that update a dependency file Traffic Portal v2 Related to the experimental Traffic Portal version 2 labels Apr 21, 2023
@shamrickus shamrickus marked this pull request as ready for review April 21, 2023 15:42
@codecov
Copy link

codecov bot commented Apr 21, 2023

Codecov Report

Merging #7454 (260a9a0) into master (b96f7d3) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #7454      +/-   ##
============================================
- Coverage     65.45%   65.44%   -0.02%     
  Complexity       98       98              
============================================
  Files           305      305              
  Lines         11621    11621              
  Branches        790      790              
============================================
- Hits           7607     7605       -2     
- Misses         3667     3669       +2     
  Partials        347      347              
Flag Coverage Δ
traffic_portal_v2 76.42% <ø> (-0.05%) ⬇️
unit_tests 76.42% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...perimental/traffic-portal/src/app/app.ui.module.ts 100.00% <ø> (ø)
...tal/traffic-portal/src/app/shared/shared.module.ts 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ocket8888 ocket8888 self-assigned this Apr 28, 2023
@ocket8888 ocket8888 added the experimental a feature/component not directly supported by ATC label May 3, 2023
@ocket8888 ocket8888 merged commit e6af58a into apache:master May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file experimental a feature/component not directly supported by ATC medium impact impacts a significant portion of a CDN, or has the potential to do so Traffic Portal v2 Related to the experimental Traffic Portal version 2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants