Repository navigation
UI: Add a default preference for expanded task groups - #73429
Merged
Merged
Conversation
ucaeon
requested review from
bbovenzi,
choo121600,
guan404ming,
pierrejeambrun,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
September 21, 2026 04:49
ucaeon
force-pushed
the
task-group-default-state
branch
from
September 21, 2026 08:44
794e1e9 to
0cd75d6
Compare
bbovenzi
reviewed
Sep 22, 2026
bbovenzi
approved these changes
Sep 22, 2026
ucaeon
force-pushed
the
task-group-default-state
branch
from
September 23, 2026 02:42
5209655 to
9c46e1f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an Expand task groups by default preference under Settings → Graph, following the user-settings approach suggested in the issue.
This uses browser-local settings rather than introducing the Dag and TaskGroup constructor parameters originally proposed.
Behavior
closes: #55305
Testing
example_task_groupthat the preference persists after reload, nested groups expand by default, and manual selections are preserved after reload.Screenshots
Before — Settings
The Graph settings section has no option to choose whether task groups expand by default.
After — Settings with the new preference enabled
The new “Expand task groups by default” toggle lets users choose the default expansion behavior for Dags without a saved group selection.
Nested task groups expanded by default
With the preference enabled and no saved selection for this Dag, both top-level and nested task groups expand automatically.
Manual group selection preserved after reload
After manually collapsing
section_2and reloading,section_2remains collapsed whilesection_1stays expanded. The saved selection takes precedence over the enabled default.Was generative AI tooling used to co-author this PR?
Generated-by: Codex (GPT-6) following the guidelines