Skip to content

workspace: Remove custom-positioned modal placement logic#46047

Merged
danilo-leal merged 1 commit intomainfrom
workspace-clean-modal-clean-up
Jan 5, 2026
Merged

workspace: Remove custom-positioned modal placement logic#46047
danilo-leal merged 1 commit intomainfrom
workspace-clean-modal-clean-up

Conversation

@danilo-leal
Copy link
Member

@danilo-leal danilo-leal commented Jan 4, 2026

This PR essentially removes the logic I introduced in #45361 to position workspace modals based on the pointer click coordinates. All of this code has become unnecessary given in #45924 we made the remote, project, and branch modals use popovers when triggered with a pointer, which already handles all the anchor positioning based on the trigger (and that's much better).

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 4, 2026
@danilo-leal danilo-leal enabled auto-merge (squash) January 4, 2026 23:53
@danilo-leal danilo-leal merged commit 8d810db into main Jan 5, 2026
25 checks passed
@danilo-leal danilo-leal deleted the workspace-clean-modal-clean-up branch January 5, 2026 00:01
rtfeldman pushed a commit that referenced this pull request Jan 5, 2026
This PR essentially removes the logic I introduced in
#45361 to position workspace
modals based on the pointer click coordinates. All of this code has
become unnecessary given in
#45924 we made the remote,
project, and branch modals use popovers when triggered with a pointer,
which already handle all the anchored positioning based on the trigger
(much better).

Release Notes:

- N/A
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…ries#46047)

This PR essentially removes the logic I introduced in
zed-industries#45361 to position workspace
modals based on the pointer click coordinates. All of this code has
become unnecessary given in
zed-industries#45924 we made the remote,
project, and branch modals use popovers when triggered with a pointer,
which already handle all the anchored positioning based on the trigger
(much better).

Release Notes:

- N/A
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…ries#46047)

This PR essentially removes the logic I introduced in
zed-industries#45361 to position workspace
modals based on the pointer click coordinates. All of this code has
become unnecessary given in
zed-industries#45924 we made the remote,
project, and branch modals use popovers when triggered with a pointer,
which already handle all the anchored positioning based on the trigger
(much better).

Release Notes:

- N/A
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Feb 15, 2026
…ries#46047)

This PR essentially removes the logic I introduced in
zed-industries#45361 to position workspace
modals based on the pointer click coordinates. All of this code has
become unnecessary given in
zed-industries#45924 we made the remote,
project, and branch modals use popovers when triggered with a pointer,
which already handle all the anchored positioning based on the trigger
(much better).

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant