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

refactor(React-components): For generation of icons, use factory pattern naming #4883

Merged
merged 9 commits into from
Nov 25, 2024

Conversation

nilscognite
Copy link
Contributor

@nilscognite nilscognite commented Nov 21, 2024

Type of change

Refactor

Description 📝

I wanted the icon to more like a factory pattern, so some classes and methods are renamed.
Also move the DefaultIcons to separate file. These shouldn't be a part of the factory itself.

@nilscognite nilscognite changed the title refactor(React-components): Making connection with react better refactor(React-components): For generation of icons, use factory pattern naming Nov 25, 2024
@nilscognite nilscognite marked this pull request as ready for review November 25, 2024 07:51
Copy link
Contributor

@haakonflatval-cognite haakonflatval-cognite left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Just one nitpick

@nilscognite nilscognite enabled auto-merge (squash) November 25, 2024 08:06
@nilscognite nilscognite merged commit 03ad7e4 into master Nov 25, 2024
14 checks passed
@nilscognite nilscognite deleted the np/facory branch November 25, 2024 08:09
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.

2 participants