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

Airplane icon added (angled) #497

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/fluffy-falcons-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@cypress-design/react-icon': minor
Copy link
Contributor

Choose a reason for hiding this comment

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

@emilmilanov I believe that the icon updates were considered as patch updates, instead of minor typically. We should probably continue to follow that pattern. Everything else looks good though.

Choose a reason for hiding this comment

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

In looking at older PRs that introduce new icons, I saw both minor and patch used.

From a semantic versioning definition, I think this type of change would align with minor: "when you add functionality in a backward compatible manner"

But I think you could argue either way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

I used yarn changeset to create this part of the code; it doesn't offer a patch option, only major or minor. I can override this to patch if we agree on it. When I added icons to the DS before, I always used minor.

Copy link
Contributor

Choose a reason for hiding this comment

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

@warrensplayer I'll let you make the final call on that. I'd rather just make sure we know which pattern to use and to stick with that. If you've got strong feelings on the matter, we'll just follow your lead.

That said, I kind of just guessed that bart was using patch updates more often as to not run out of minor numbers. I don't know how many numbers are available before a major version is required. Maybe it's endless?

Choose a reason for hiding this comment

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

@ryanjwilke There is no limit to the numbers.

@emilmilanov I did go back and look a little bit harder and the CHANGELOG.md files and it does seem like most of the changes that add icons use patch. So I guess update your changeset file to use patch as well for all three packages.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changeset is updated from minor to patch. I also renamed icons to object-airplane-angled...

'@cypress-design/vue-icon': minor
'@cypress-design/icon-registry': minor
---

Share icon added
5 changes: 5 additions & 0 deletions icon-registry/icons-static/action-share-large_x16.svg

Choose a reason for hiding this comment

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

@emilmilanov Instead of just "share" as the name, would it make sense to call them "share-airplane" or something like that in case we ever add different icons for "share"?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think I agree on that. I do think that the icons should probably just reflect the name of whatever it is that has been illustrated instead of a semantic name. (i.e. airplane, airplane-angled, etc)

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions icon-registry/icons-static/action-share-small_x16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading