Skip to content

WidgetText collapsed mode#14775

Merged
mergify[bot] merged 4 commits intodevelopfrom
wip/kw/collapse-text
Feb 18, 2026
Merged

WidgetText collapsed mode#14775
mergify[bot] merged 4 commits intodevelopfrom
wip/kw/collapse-text

Conversation

@kazcw
Copy link
Contributor

@kazcw kazcw commented Feb 17, 2026

Pull Request Description

When a component is collapsed, any contained text widget:

  • has a fixed maximum width
    • this width is increased when the widget is focused
    • long text can be scrolled with the cursor
  • is displayed in a single line, with newline characters shown as a placeholder character
    • copying from the text will copy the real newlines, not the placeholder
Screen.Recording.2026-02-17.at.06.47.03.mov

Fixes #14625.

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.
  • If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

@kazcw kazcw self-assigned this Feb 17, 2026
@farmaazon
Copy link
Contributor

@kazcw could we also add a maximum width on Expanded WidgetText, with horizontal scrollbar if needed?

@kazcw
Copy link
Contributor Author

kazcw commented Feb 18, 2026

@kazcw could we also add a maximum width on Expanded WidgetText, with horizontal scrollbar if needed?

Sure--I'm working on how widgets are sized in expanded mode right now in #14626, so I'll include that there

@kazcw kazcw marked this pull request as ready for review February 18, 2026 15:50
Copy link
Contributor

@farmaazon farmaazon left a comment

Choose a reason for hiding this comment

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

CR: 🆗

@kazcw kazcw added the CI: Ready to merge This PR is eligible for automatic merge label Feb 18, 2026
@mergify mergify bot merged commit 761b716 into develop Feb 18, 2026
76 of 81 checks passed
@mergify mergify bot deleted the wip/kw/collapse-text branch February 18, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: Ready to merge This PR is eligible for automatic merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expanded/collapsed modes on Text Widget

2 participants

Comments