Skip to content

Conversation

@kgogov
Copy link
Contributor

@kgogov kgogov commented Jan 20, 2026

Add ui5-avatar-badge component for visual affordance on avatars. The badge displays icons with different value states to indicate status or notifications.

Key features:

  • Five value states (None, Positive, Critical, Negative, Information)
  • RTL support with CSS logical properties
  • Works in badge slot of ui5-avatar

Updated Avatar component to reference ui5-avatar-badge in badge slot documentation.

Test coverage includes all sizes, shapes and value states.

Documentation structured following Button/ButtonBadge pattern with dedicated AvatarBadge page marked as new component.

Fixes internal issue with avatar badge implementation.

Jira: BGSOFUIPIRIN-6975
Fixes #12396

Add `ui5-avatar-badge` component for visual affordance on avatars.
The badge displays icons with different value states to indicate status
or notifications.

Key features:
- Five value states (None, Positive, Critical, Negative, Information)
- RTL support with CSS logical properties
- Works in badge slot of `ui5-avatar`

Updated Avatar component to reference `ui5-avatar-badge` in badge
slot documentation.

Documentation structured following Button/ButtonBadge pattern with
dedicated AvatarBadge page marked as new component.

Fixes internal issue with avatar badge implementation.

Jira: BGSOFUIPIRIN-6975
Fixes #12396
@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Jan 20, 2026

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview January 20, 2026 13:12 Inactive
- Move default styles to :host selector
- Remove redundant @SInCE tags from properties
- Remove CSS header comment
- Move icon styles to end of file for better organization
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview January 20, 2026 16:09 Inactive
- Migrate disabled interaction test from ui5-tag to ui5-avatar-badge
- Fix typo in test ID (diabled -> disabled)
- Add comprehensive badge tests:
  - Badge rendering with icons
  - All five value states
  - Badge size for each avatar size (XS, S, M, L, XL)
  - Badge icon size for each avatar size
- Add required icon imports (accept, message-error, information, ai)
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview January 20, 2026 17:09 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview January 20, 2026 17:31 Inactive
@kgogov kgogov requested a review from kineticjs January 21, 2026 08:47
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.

[Avatar]: Difference between avatar with tag between version 1 and 2

4 participants