Skip to content

feat: update alert message, inline alert, button, checkbox item, radio button item, switch item, suggestion chip, filter chip, link, tag and text input to allow the use of fixed images#1320

Open
florentmaitre wants to merge 18 commits into
developfrom
1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images
Open

feat: update alert message, inline alert, button, checkbox item, radio button item, switch item, suggestion chip, filter chip, link, tag and text input to allow the use of fixed images#1320
florentmaitre wants to merge 18 commits into
developfrom
1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images

Conversation

@florentmaitre

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented May 21, 2026

Copy link
Copy Markdown

@florentmaitre florentmaitre force-pushed the 1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images branch from 6dc659d to 158033a Compare May 21, 2026 15:53
@florentmaitre florentmaitre force-pushed the 1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images branch from 158033a to 21b8b0d Compare May 21, 2026 16:53
@florentmaitre florentmaitre marked this pull request as draft May 22, 2026 15:29
@florentmaitre florentmaitre force-pushed the 1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images branch from 21b8b0d to 59a7ce1 Compare May 22, 2026 17:19
@florentmaitre florentmaitre force-pushed the 1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images branch from 59a7ce1 to ec06092 Compare May 26, 2026 16:37
@florentmaitre florentmaitre force-pushed the 1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images branch from 3c49b6d to a315d9f Compare May 28, 2026 16:00
@florentmaitre florentmaitre force-pushed the 1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images branch from a315d9f to 9baa167 Compare May 28, 2026 16:33
@florentmaitre florentmaitre force-pushed the 1316-update-alert-message-inline-alert-button-checkbox-item-radio-button-item-switch-item-suggestion-chip-filter-chip-link-tag-and-text-input-to-allow-the-use-of-fixed-images branch from 9baa167 to fde0aa1 Compare May 28, 2026 16:35
if (result == Modifier) element else result
}
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not related to this PR but the Modifier extension last() no longer seems to be used.

* Creates an instance of [OudsTagAsset.Icon].
*
* @param painter Painter of the icon.
* @param tinted Controls whether the icon should be tinted with the theme color. Defaults to `true`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe we can also add samples with non-tinted icon?

onCheckedChange = { hasIcon = it },
enabled = iconSwitchEnabled
)
CustomizationSwitchItem(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As discussed together, we should replace the "Tinted icon" switch and the "Icon" switch by chips with "Icon" label and "None", "Tinted", "Untinted" values.
This should be done in every components we have these 2 switches. For the others, that only have one "Tinted icon" switch, we can replace it by chips with 2 values.

* - Functional statuses: [OudsIconBadgeStatus.Positive], [OudsIconBadgeStatus.Warning], [OudsIconBadgeStatus.Negative], [OudsIconBadgeStatus.Info].
* Each functional status has its dedicated functional icon that matches the meaning of the badge.
* @param size The size of this badge. The icon is not displayed when size is [OudsBadgeSize.ExtraSmall] or [OudsBadgeSize.Small].
* @param size The size of this badge.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The badge is an exception, we don't allow to have a untinted icon here?

*
* @param bitmap Image bitmap of the icon.
* @param contentDescription The content description associated with this [OudsButtonIcon]. This value is ignored if the button also contains label.
* @param tinted Controls whether the icon should be tinted with the theme color. Defaults to `true`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we precise in these comments that, for an untinted icon, they must ensure sufficient contrast for accessibility reasons?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we allow untinted icon for OudsFloatingActionButton?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants