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

feat(angular): use Ionic standalone components #1798

Merged
merged 13 commits into from
Oct 12, 2023
Merged

feat(angular): use Ionic standalone components #1798

merged 13 commits into from
Oct 12, 2023

Conversation

thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Sep 7, 2023

Issue URL: internal

What is the current behavior?

Angular standalone starter doesn't use the Ionic standalone components.

What is the new behavior?

Angular standalone starter uses the Ionic standalone components.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Leaving it as a draft to prevent the PR to be merged until the mentioned criteria above are met.

Verify that all the Angular standalone starters:

  • render with no issues
  • builds with no issues
  • passes tests

@thetaPC thetaPC marked this pull request as ready for review September 12, 2023 19:12
@thetaPC thetaPC marked this pull request as draft September 12, 2023 19:12
@thetaPC thetaPC requested review from a team, brandyscarney and mapsandapps and removed request for a team and brandyscarney September 12, 2023 19:13
Copy link
Contributor

@mapsandapps mapsandapps left a comment

Choose a reason for hiding this comment

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

I saw a couple things in here that differed from the guide.

As well as the other comments, it looks like

              {
                "glob": "**/*.svg",
                "input": "node_modules/ionicons/dist/ionicons/svg",
                "output": "./svg"
              }

needs to be removed from the angular.json (twice in the same file).

import { DataService, Message } from '../services/data.service';

addIcons({ personCircle });
Copy link
Contributor

Choose a reason for hiding this comment

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

The docs (step 7) use addIcons in the constructor. Is there a reason it's better in one place over the other? (I'm least-familiar with Angular, and I don't know the answer.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure, I was following the design doc. I'll switch to follow the Framework docs to stick with consistency.

angular-standalone/base/src/main.ts Outdated Show resolved Hide resolved
angular-standalone/official/list/src/app/home/home.page.ts Outdated Show resolved Hide resolved
@thetaPC thetaPC changed the base branch from main to feature-7.5 September 18, 2023 15:53
@thetaPC thetaPC requested a review from mapsandapps September 18, 2023 15:53
Copy link
Contributor

@mapsandapps mapsandapps 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 👍🏻

@thetaPC thetaPC requested a review from mapsandapps October 12, 2023 18:31
@thetaPC
Copy link
Contributor Author

thetaPC commented Oct 12, 2023

@mapsandapps I updated the versions and would like a double check that everything still works.

@thetaPC thetaPC marked this pull request as ready for review October 12, 2023 18:31
Copy link
Contributor

@sean-perkins sean-perkins left a comment

Choose a reason for hiding this comment

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

Tested the blank starter locally and the dependency updates look good from the latest commit.

@thetaPC thetaPC merged commit 06abacb into feature-7.5 Oct 12, 2023
30 checks passed
@thetaPC thetaPC deleted the FW-4768 branch October 12, 2023 19:57
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