Skip to content

Conversation

@tristandubbeld
Copy link
Contributor

Creates a minimal GraphQL fragment for the sandboxesByPath query, removing unnecessary fields..

The fragment is colocated with the query and includes only the fields actually needed for rendering sandbox items in the dashboard.

@codesandbox
Copy link

codesandbox bot commented Nov 14, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@tristandubbeld tristandubbeld merged commit 642d51c into tristan/csb-709-remove-irrelevant-fields-for-sandboxesbypath Nov 18, 2025
9 of 10 checks passed
@tristandubbeld tristandubbeld deleted the tristan/csb-710-remove-irrelevant-fields-for-getteamdrafts branch November 18, 2025 09:22
tristandubbeld added a commit that referenced this pull request Nov 19, 2025
#8830)

* refactor: remove irrelevant fields from query and fix type errors

* fix: recover Stats component

* fix: runtime and typechecks for potentially undefined properties

* chore: rename fragment to not include fragment twice

* fix(dashboard): use type guard instead of type assertion in search items filter

* fix(dashboard): support filtering deleted sandboxes with reduced field set

* fix: handle null/undefined fields for deleted sandboxes

* refactor: create custom sandboxByPath fragment to reduce query payload

* refactor: create custom draftSandbox fragment to reduce query payload (#8831)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants