Skip to content

feat(angular): update to Angular 20 #1828

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

Merged
merged 8 commits into from
Aug 20, 2025
Merged

feat(angular): update to Angular 20 #1828

merged 8 commits into from
Aug 20, 2025

Conversation

thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Jun 25, 2025

Issue URL: internal

What is the current behavior?

The app runs on Angular 19.

What is the new behavior?

  • Upgraded to Angular 20.

Does this introduce a breaking change?

  • Yes
  • No

Other information

N/A

Copy link

vercel bot commented Jun 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ionic-conference-app Ready Ready Preview Comment Aug 20, 2025 3:05pm

public user: UserService,
public config: Config
) {
constructor() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should be using ngOnInit so we can completely move away from constructor (since Angular prefers inject) but it throws a warning regarding the icons not loading in. We should look into this more since the icons did load fine so the warning is being thrown too soon.

Copy link
Member

@ShaneK ShaneK Aug 20, 2025

Choose a reason for hiding this comment

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

We can move most things to ngOnInit I believe, but not icon registration. There's no Angular lifecycle hook that renders soon enough for the template to know that the icons exist, so I'll keep icon registration in constructors, unfortunately.

It may be worth looking into ionicons to see if we can defer that check, but probably not as part of this upgrade.

ShaneK added 2 commits August 20, 2025 06:55
…ndencies in the package-lock, and fixing tests
…destroy, making image in support align with other ionic images to prevent it from complaining about its resolution, updating typescript to be a bit more modern
@ShaneK ShaneK marked this pull request as ready for review August 20, 2025 15:06
width="200"
height="200"
priority
/>
Copy link
Member

@ShaneK ShaneK Aug 20, 2025

Choose a reason for hiding this comment

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

This image styling was conflicting with its CSS and causing a ratio conflict. In this change, I tried to make it act like the Ionic logos in its neighboring pages.

@ShaneK ShaneK merged commit 3732f16 into main Aug 20, 2025
4 checks passed
@ShaneK ShaneK deleted the FW-6285 branch August 20, 2025 17:43
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.

3 participants