Skip to content

fix: v2: closing task properties does not deselect the task#2265

Merged
camielvs merged 1 commit into
masterfrom
05-13-fix_closing_task_properties_does_not_deselect_the_task
May 14, 2026
Merged

fix: v2: closing task properties does not deselect the task#2265
camielvs merged 1 commit into
masterfrom
05-13-fix_closing_task_properties_does_not_deselect_the_task

Conversation

@camielvs
Copy link
Copy Markdown
Collaborator

@camielvs camielvs commented May 13, 2026

Description

Closing a task properties window does not deselect the task, making it impossible to reopen the window without first manually deselecting and reselecting the task. This PR fixes that by extracting the (now shared) deselection logic into a hook and attaching it to the task properties close handler.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • Improvement

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

Select a task in v2 editor

Close the properties window that opened up -> task should deselect

Click the task again and window should open again

confirm the esc handlers still work as expected.

Additional Comments

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

🎩 Preview

A preview build has been created at: 05-13-fix_closing_task_properties_does_not_deselect_the_task/666b1ed

@camielvs camielvs changed the title fix: closing task properties does not deselect the task fix: v2: closing task properties does not deselect the task May 13, 2026
@camielvs camielvs marked this pull request as ready for review May 14, 2026 00:48
@camielvs camielvs requested a review from a team as a code owner May 14, 2026 00:48
@camielvs camielvs force-pushed the 05-13-fix_closing_task_properties_does_not_deselect_the_task branch from 111853b to dce1383 Compare May 14, 2026 23:30
@camielvs camielvs force-pushed the 05-13-chore_add_v1_style_undo-redo_controls_to_canvas branch 2 times, most recently from 7f89cd6 to cabae0f Compare May 14, 2026 23:34
@camielvs camielvs force-pushed the 05-13-fix_closing_task_properties_does_not_deselect_the_task branch from dce1383 to 49f6f7c Compare May 14, 2026 23:34
@camielvs camielvs force-pushed the 05-13-chore_add_v1_style_undo-redo_controls_to_canvas branch 2 times, most recently from 0655705 to 959c1e8 Compare May 14, 2026 23:38
@camielvs camielvs force-pushed the 05-13-fix_closing_task_properties_does_not_deselect_the_task branch from 49f6f7c to df127d9 Compare May 14, 2026 23:38
@camielvs camielvs changed the base branch from 05-13-chore_add_v1_style_undo-redo_controls_to_canvas to graphite-base/2265 May 14, 2026 23:42
@camielvs camielvs force-pushed the graphite-base/2265 branch from 959c1e8 to 4410c4e Compare May 14, 2026 23:42
@camielvs camielvs force-pushed the 05-13-fix_closing_task_properties_does_not_deselect_the_task branch from df127d9 to a7a7099 Compare May 14, 2026 23:42
@graphite-app graphite-app Bot changed the base branch from graphite-base/2265 to master May 14, 2026 23:43
@camielvs camielvs force-pushed the 05-13-fix_closing_task_properties_does_not_deselect_the_task branch from a7a7099 to 666b1ed Compare May 14, 2026 23:43
Copy link
Copy Markdown
Collaborator Author

camielvs commented May 14, 2026

Merge activity

  • May 14, 11:50 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 14, 11:50 PM UTC: @camielvs merged this pull request with Graphite.

@camielvs camielvs merged commit 2dfa1b6 into master May 14, 2026
17 checks passed
@camielvs camielvs deleted the 05-13-fix_closing_task_properties_does_not_deselect_the_task branch May 14, 2026 23:50
@camielvs camielvs mentioned this pull request May 15, 2026
3 tasks
@camielvs camielvs added the #gsd:50471 CSOM-X label May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants