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(ui5-badge): rename Badge ui5-badge to Tag ui5-tag #8884

Merged
merged 1 commit into from
May 2, 2024
Merged

Conversation

ilhan007
Copy link
Member

Rename Badge to Tag - tags, styles, classes to match with the SAP Design Tag concept.

BREAKING CHANGE: Badge web component has been renamed to Tag.

Changed item Old New
tag ui5-badge ui5-tag
  • The Badge ui5-badge has been renamed to Tag ui5-tag. If you have previously used the ui5-badge:
<ui5-badge></ui5-badge>

Now use ui5-tag instead:

<ui5-tag></ui5-tag>

@ilhan007 ilhan007 added the 2.0 label Apr 30, 2024
@ilhan007 ilhan007 changed the title refactor(ui5-badge): rename Badge to Tag refactor(ui5-badge): rename Badge ui5-badge to Tag ui5-tag Apr 30, 2024
@ilhan007 ilhan007 mentioned this pull request Apr 30, 2024
@GerganaKremenska GerganaKremenska dismissed their stale review May 2, 2024 06:40

wrong button

@@ -32,25 +32,25 @@ AVATAR_GROUP_ARIA_LABEL_GROUP=Conjoined avatars.
AVATAR_GROUP_MOVE=Press ARROW keys to move.

#XACT: ARIA announcement for the badge
BADGE_DESCRIPTION_BADGE=Badge
TAG_DESCRIPTION_BADGE=Badge
Copy link
Member

Choose a reason for hiding this comment

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

Since we renmed the component, maybe it is reduntant to have "TAG_DESCRIPTION_BADGE" and confusing. We can leave only "Tag description", uneless there is some use case that we need the badge description?

Copy link
Member Author

Choose a reason for hiding this comment

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

I was thinking about this, and probably yes, but I will leave this to the team, as there will be some follow-up alignments - from what I heard one of the design sets could be even removed, and if it's "Set3", then the text in question will be naturally removed.

Screenshot 2024-05-02 at 10 14 55 Screenshot 2024-05-02 at 10 15 12

So I suggest merging it now, the pure refactoring, and later you can remove it.

@ilhan007 ilhan007 merged commit 4b8c1ee into main May 2, 2024
10 checks passed
@ilhan007 ilhan007 deleted the ref-badge branch May 2, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants