Skip to content

ROU-13124: Fix ChatMessage placeholders cut off in the IDE - #1309

Merged
gnbm merged 2 commits into
devfrom
ROU-13124
Oct 19, 2026
Merged

gnbm merged 2 commits into
devfrom
ROU-13124

Conversation

@gnbm

@gnbm gnbm commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

This PR is for ROU-13124: ChatMessage placeholders are cut off in Service Studio.

What was happening

  • In Service Studio, the empty Image and Content placeholders of the ChatMessage block collapsed, so their hint text was clipped.

What was done

  • Gave the empty Image and Content placeholders a minimum size at design time (-servicestudio-* only, no runtime effect).
  • Offset the Image placeholder by the photo gap so the message does not move when an avatar is added (left and right sides).
  • Same change ported to both classic-theme/ bundles and logged in the classic README.
  • Replaced the deprecated word-break: break-word with overflow-wrap: anywhere (SonarCloud finding).

Test Steps

  1. In Service Studio, add an empty ChatMessage (and one with DisplayOnRight) to a screen.
  2. Check the placeholder hints are fully visible.
  3. Drop an avatar into the Image placeholder and check the message does not move.
  4. Repeat with the classic theme.

Screenshots

(add screenshots from Service Studio)

Checklist

  • tested locally
  • documented the code
  • clean all warnings and errors of eslint
  • requires changes in OutSystems (if so, provide a module with changes)
  • requires new sample page in OutSystems (if so, provide a module with changes)

gnbm added 2 commits October 18, 2026 22:37
Use overflow-wrap: anywhere instead (SonarCloud finding) and single-quote the @use path.
The Image and Content placeholders carry no class and collapse to the width of their shrink-to-fit parents, so the editor's hint was clipped. Give the empty placeholders a minimum size, and offset the Image one by the photo gap so the message does not move when an avatar is dropped in. Ported to both classic-theme bundles (16px offset for their 40px avatar) and logged in the classic README.
@gnbm gnbm added the bug Something isn't working label Oct 18, 2026
@gnbm gnbm changed the title ROU-13124 Fix ChatMessage placeholders cut off in Service Studio ROU-13124: Fix ChatMessage placeholders cut off in the IDE Oct 18, 2026
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

🖼️ Storybook: Chromatic UI tests result: ✅ Passed

Metric Value
Visual changes 0
Errors 0
Storybook Preview
Chromatic Build View Results

@gnbm
gnbm marked this pull request as ready for review October 18, 2026 21:49
@gnbm
gnbm requested a review from a team as a code owner October 18, 2026 21:49
@gnbm
gnbm merged commit da188cf into dev Oct 19, 2026
18 of 19 checks passed
@gnbm
gnbm deleted the ROU-13124 branch October 19, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants