Skip to content

default hide subflows toggled to true on dashboard & run pages#22487

Open
DSCmatter wants to merge 1 commit into
PrefectHQ:mainfrom
DSCmatter:ui-v2/default-hide-subflows-true
Open

default hide subflows toggled to true on dashboard & run pages#22487
DSCmatter wants to merge 1 commit into
PrefectHQ:mainfrom
DSCmatter:ui-v2/default-hide-subflows-true

Conversation

@DSCmatter

Copy link
Copy Markdown

This PR changes the default state of the "Hide subflows" filter from false to true on both the Dashboard and the Runs list pages. This reduces visual noise by default for users with complex workflows containing many nested subflows, while still allowing them to manually toggle the switch when they want to inspect them.

Checklist

  • This pull request references any related issue by including "closes "

  • If this is a complex change, a maintainer has confirmed the proposed approach on the linked issue.

    • This is a minor usability enhancement changing default values.
  • If this pull request adds or changes functionality, it includes tests or explains why tests are not needed.

    • Added a new unit test in dashboard.test.tsx verifying that the toggle is checked by default on dashboard load. Updated existing Playwright E2E tests (dashboard.spec.ts and runs-flow-runs.spec.ts) to match the new defaults.
  • If this pull request changes user-facing behavior, it updates documentation or explains why documentation is not needed.

    • This updates UI filter defaults; no documentation changes are required.
  • If this pull request removes docs files, it includes redirect settings in mint.json.

    • No documentation files were deleted.
  • If this pull request adds functions or classes, it includes helpful docstrings.

    • No new functions or classes were added.

@github-actions github-actions Bot added enhancement An improvement of an existing feature ui-replatform Related to the React UI rewrite labels Jul 13, 2026
@DSCmatter
DSCmatter force-pushed the ui-v2/default-hide-subflows-true branch from 6122f68 to b5beea1 Compare July 13, 2026 00:41
@DSCmatter

Copy link
Copy Markdown
Author

Hi, It's marked as a draft only because I've hit the open PR limit. Could a maintainer please mark it as "Ready for review" when convenient? Thanks

@DSCmatter
DSCmatter marked this pull request as ready for review July 15, 2026 11:51

@desertaxle desertaxle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR @DSCmatter! I'd prefer to solve the linked issue by saving the user's choice of whether to hide or show subflows in the browser so that it persists across sessions rather than changing the default for all users.

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

Labels

enhancement An improvement of an existing feature ui-replatform Related to the React UI rewrite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keeping hide subflow On as default

2 participants