Skip to content

refactor(ui5-badge): rename Badge ui5-badge to Tag ui5-tag#8884

Merged
ilhan007 merged 1 commit intomainfrom
ref-badge
May 2, 2024
Merged

refactor(ui5-badge): rename Badge ui5-badge to Tag ui5-tag#8884
ilhan007 merged 1 commit intomainfrom
ref-badge

Conversation

@ilhan007
Copy link
Copy Markdown
Contributor

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


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

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
Copy Markdown
Contributor 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
@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