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

Remove icons-generic #1074

Merged
merged 34 commits into from
Nov 12, 2024
Merged

Conversation

MBudreviciusBentley
Copy link
Contributor

@MBudreviciusBentley MBudreviciusBentley commented Oct 15, 2024

Changes

Removed several references to @bentley/icons-generic by either reusing similar icons from @itwin/itwinui-icons or inlining the icons directly.

Testing

Verified the components with updated icons in the test app to ensure they function as expected.

@MBudreviciusBentley MBudreviciusBentley self-assigned this Oct 16, 2024
@MBudreviciusBentley MBudreviciusBentley linked an issue Oct 16, 2024 that may be closed by this pull request
@MBudreviciusBentley MBudreviciusBentley marked this pull request as ready for review October 16, 2024 11:33
@MBudreviciusBentley MBudreviciusBentley requested a review from a team as a code owner October 16, 2024 11:33
@MBudreviciusBentley
Copy link
Contributor Author

There are still a few remaining files that use @bentley/icons-generic. However, since the SVGs are imported as strings, updating the component property types will be necessary to replace them.

@GerardasB GerardasB requested a review from FlyersPh9 October 16, 2024 13:55
@GerardasB GerardasB enabled auto-merge (squash) November 5, 2024 10:28
@MBudreviciusBentley MBudreviciusBentley merged commit 2810fd0 into master Nov 12, 2024
18 of 20 checks passed
@MBudreviciusBentley MBudreviciusBentley deleted the MBudrevicius/RemoveIconsGeneric branch November 12, 2024 08:32
@GerardasB
Copy link
Collaborator

@Mergifyio backport release/5.0.x

Copy link
Contributor

mergify bot commented Dec 7, 2024

backport release/5.0.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Dec 7, 2024
* Removed a lot of dependencies on @bentley/icons-generic

* Updated e2e tests to use relative path

---------

Co-authored-by: GerardasB <[email protected]>
(cherry picked from commit 2810fd0)

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
#	ui/appui-react/src/appui-react/statusfields/SectionsField.tsx
#	ui/components-react/package.json
#	ui/components-react/src/components-react/editors/EnumButtonGroupEditor.tsx
GerardasB added a commit that referenced this pull request Dec 10, 2024
* Remove icons-generic (#1074)

* Removed a lot of dependencies on @bentley/icons-generic

* Updated e2e tests to use relative path

---------

Co-authored-by: GerardasB <[email protected]>
(cherry picked from commit 2810fd0)

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
#	ui/appui-react/src/appui-react/statusfields/SectionsField.tsx
#	ui/components-react/package.json
#	ui/components-react/src/components-react/editors/EnumButtonGroupEditor.tsx

* Fix merge issues

* Update NextVersion.md

---------

Co-authored-by: MBudreviciusBentley <[email protected]>
Co-authored-by: GerardasB <[email protected]>
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.

Remove dependency on @bentley/icons-generic
3 participants