Skip to content

refactor: move text selection handling to workspace component#4383

Merged
aglinxinyuan merged 1 commit into
apache:mainfrom
xuang7:refactor/text-select-workspace
Apr 14, 2026
Merged

refactor: move text selection handling to workspace component#4383
aglinxinyuan merged 1 commit into
apache:mainfrom
xuang7:refactor/text-select-workspace

Conversation

@xuang7
Copy link
Copy Markdown
Contributor

@xuang7 xuang7 commented Apr 14, 2026

What changes were proposed in this PR?

This PR refactors the text selection behavior by moving the non-selectable handling to the workspace component. The overall effect is similar to the current version, with a few additional workflow-related areas also becoming non-selectable. The Layers dropdown remains handled separately, since it is not part of the workspace component's :host DOM subtree.

Demonstration:
workflow-workspace
workflow

Any related issues, documentation, discussions?

Related PR: #4366
Related issue: #4365

How was this PR tested?

Tested manually

Was this PR authored or co-authored using generative AI tooling?

No

Copy link
Copy Markdown
Contributor

@mengw15 mengw15 left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions Bot added refactor Refactor the code frontend Changes related to the frontend GUI labels Apr 14, 2026
@aglinxinyuan aglinxinyuan merged commit babb1b8 into apache:main Apr 14, 2026
11 checks passed
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes related to the frontend GUI refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants