Skip to content

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Oct 2, 2025

Jira URL

https://jira.xwiki.org/browse/XWIKI-12646

Changes

Description

  • Added a couple style rules to make sure the Activity Stream and Pages widgets behave when there's unexpectedly long page names.

Clarifications

  • There might be alternative compromises, but this one works well IMO.
    • We want all gadget content to not overflow their space. This stops page names from overflowing but also prevents other unexpected situations that might arise depending on the gadget. This is the equivalent of what was done for panels.
    • The notification box has a overflow-wrap policy that will break large words if needed. https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap#break-word

Screenshots & Video

Here is a screenshot of my dashboard after applying the styles. We can see that on all the elements, a page with a very long title (both regular word-length and one very long word in it) is displayed somewhat successfully.
Screenshot from 2025-10-02 17-34-29

Executed Tests

Style changes only, I only performed manual tests on my local instance. Given the content of the changes, I don't expect any possible regression.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • N/A, small bug fix.

…m, Space Index and on Children viewer

* Added a couple style rules to make sure the Activity Stream and Pages widgets behave when there's unexpectedly long page names.
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.

1 participant