Skip to content

chore(app): add rich text to demo app#1332

Open
florentmaitre wants to merge 10 commits into
developfrom
1330-add-rich-text-to-demo-app
Open

chore(app): add rich text to demo app#1332
florentmaitre wants to merge 10 commits into
developfrom
1330-add-rich-text-to-demo-app

Conversation

@florentmaitre

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown

status = alertMessageStatus,
onClose = onClose,
actionLink = alertMessageActionLink,
bulletList = bulletList

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.

There is a problem in the display of the OudsAlertMessage, the label and the icon are no more centered vertically. I think we should test in OudsAlertMessage if the bullet list is empty.

Image

Comment thread app/src/main/res/values/strings.xml Outdated
<string name="app_tokens_typography_lineHeight_tech" translatable="false">Line height: %s sp</string>

<!-- Components -->
<string name="app_components_common_annotatedText_tech" translatable="false">Annotated text</string>

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 display "Annotated text example", because "Annotated text" seems to refer to a parameter?

bulletList = bulletList.toMutableList().apply { set(index, value) }.toList()
},
enabled = bulletListTextInputsEnabled,
helperText = stringResource(id = R.string.app_components_common_annotatedTextHelperText_tech)

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.

I don't know how to do better but when I tested the app, this helper text suggested me to enter annotated text in the field above but I didn't know how. I needed to scroll to access the "Annotated text" switch.

description,
constrainedMaxWidth
constrainedMaxWidth,
annotatedText

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.

It would be clearer if the "Annotated text example" switch was just after the "Error message" field.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It is OK if we keep the "Annotated text example" switch last with the new "Supports annotated text. Use switch below for example." wording?

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.

Add rich text to demo app

2 participants