Skip to content

Conversation

@cephalization
Copy link
Contributor

@cephalization cephalization commented Oct 26, 2025

splits.on.single.example.mov

Resolves #9839


Note

Integrates a splits management menu into the single example details dialog and queries datasetSplits to support it.

  • Example Details Dialog (app/src/pages/example/ExampleDetailsDialog.tsx)
    • Integrates ExamplesSplitMenu into header (DialogTitleExtra) with size="S" for single example (selectedExampleIds set, empty selectedSplitIds).
    • Adds datasetSplits { id name color } to GraphQL query and builds examplesCache from example’s splits.
  • GraphQL (app/src/pages/example/__generated__/ExampleDetailsDialogQuery.graphql.ts)
    • Updates query and types to include datasetSplits and adjusts selections accordingly.
  • Examples Split Menu (app/src/pages/examples/ExamplesSplitMenu.tsx)
    • Adds optional size prop to button; updates heading copy for single-example context.
    • Documents single-example usage pattern (skip filter mode).

Written by Cursor Bugbot for commit 2457f74. This will update automatically on new commits. Configure here.

@cephalization cephalization requested a review from a team as a code owner October 26, 2025 15:14
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Oct 26, 2025
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: 📘 Todo

Development

Successfully merging this pull request may close these issues.

[experiments][ui] display and be able to edit splits for a particular example on example details slideover

1 participant