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

[PM-4347] Upgrade angular to 17 #11031

Merged
merged 15 commits into from
Nov 4, 2024
Merged

[PM-4347] Upgrade angular to 17 #11031

merged 15 commits into from
Nov 4, 2024

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented Sep 13, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-4347

📔 Objective

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link
Contributor

github-actions bot commented Sep 13, 2024

Logo
Checkmarx One – Scan Summary & Details87cdd0da-1081-4229-9ef9-e7df4e6f84c8

No New Or Fixed Issues Found

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 33.53%. Comparing base (c96b4f4) to head (1b2f846).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
apps/web/src/polyfills.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11031      +/-   ##
==========================================
+ Coverage   33.51%   33.53%   +0.02%     
==========================================
  Files        2815     2815              
  Lines       87564    87646      +82     
  Branches    16695    16694       -1     
==========================================
+ Hits        29344    29395      +51     
- Misses      55911    55942      +31     
  Partials     2309     2309              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justindbaur justindbaur marked this pull request as ready for review October 17, 2024 20:30
justindbaur
justindbaur previously approved these changes Oct 17, 2024
Copy link
Contributor

@coroiu coroiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, not much to say 🙂
Seems like there's one broken story due to @ being present in the HTML

package.json Outdated
@@ -27,27 +27,28 @@
"storybook": "ng run components:storybook",
"build-storybook": "ng run components:build-storybook",
"build-storybook:ci": "ng run components:build-storybook --webpack-stats-json",
"postinstall": "patch-package"
"postinstall": "patch-package && rimraf ./node_modules/@types/glob && rimraf ./node_modules/@types/minimatch"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: will this fix: #11542 ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hinton question for you probably.

@justindbaur justindbaur requested a review from a team as a code owner October 22, 2024 12:22
@justindbaur justindbaur requested a review from vleague2 October 22, 2024 12:22
@@ -71,7 +71,7 @@ The content can be a button, anchor, or static container.
<bit-item>
<button bit-item-content type="button">
<bit-avatar slot="start" text="Foo"></bit-avatar>
[email protected]
Copy link
Member

@justindbaur justindbaur Oct 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bitwarden/team-design-system Since this is just rendering text it would be fine for us to have @ for readability or also switch it to &#64; so we aren't showing off invalid HTML, any preference?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm I am fine with either, just not really understanding why it broke 🤔 I guess it's a reserved character for Angular html?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's always technically not right to use it but likely angular got much more strict about it with the addition of the new control flow syntax: https://angular.dev/guide/templates/control-flow

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay that makes sense. Then yes I agree with not showing invalid html in the docs file!

@github-actions github-actions bot temporarily deployed to Web Vault - US QA Cloud October 28, 2024 14:58 Inactive
@github-actions github-actions bot temporarily deployed to Web Vault - US QA Cloud October 30, 2024 02:36 Inactive
@github-actions github-actions bot temporarily deployed to Web Vault - US QA Cloud October 30, 2024 12:35 Inactive
@github-actions github-actions bot temporarily deployed to Web Vault - EU QA Cloud October 31, 2024 01:54 Inactive
@github-actions github-actions bot temporarily deployed to Web Vault - US QA Cloud November 4, 2024 15:50 Inactive
@Hinton Hinton requested review from justindbaur and coroiu November 4, 2024 15:58
justindbaur
justindbaur previously approved these changes Nov 4, 2024
gbubemismith
gbubemismith previously approved these changes Nov 4, 2024
Copy link
Member

@gbubemismith gbubemismith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vault change looks good

@Hinton Hinton dismissed stale reviews from gbubemismith and justindbaur via 1b2f846 November 4, 2024 16:44
@Hinton Hinton enabled auto-merge (squash) November 4, 2024 16:45
@Hinton Hinton merged commit cd79457 into main Nov 4, 2024
52 checks passed
@Hinton Hinton deleted the ps/angular17 branch November 4, 2024 16:51
justindbaur pushed a commit that referenced this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants