Skip to content

feat: show feature subgraphs in playground and schema dropdowns - #3196

Open
gausie wants to merge 14 commits into
mainfrom
sam/cosmo-415-studio-playground-and-schema-view-should-show-feature
Open

feat: show feature subgraphs in playground and schema dropdowns#3196
gausie wants to merge 14 commits into
mainfrom
sam/cosmo-415-studio-playground-and-schema-view-should-show-feature

Merge branch 'main' into sam/cosmo-415-studio-playground-and-schema-v…

d302212
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 31, 2026 in 0s

29.47% (target 30.00%)

View this Pull Request on Codecov

29.47% (target 30.00%)

Details

Codecov Report

❌ Patch coverage is 2.62582% with 445 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.47%. Comparing base (5f85878) to head (d302212).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
[...ationSlug]/[namespace]/graph/[slug]/playground.tsx](https://app.codecov.io/gh/wundergraph/cosmo/pull/3196?src=pr&el=tree&filepath=studio%2Fsrc%2Fpages%2F%5BorganizationSlug%5D%2F%5Bnamespace%5D%2Fgraph%2F%5Bslug%5D%2Fplayground.tsx&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=wundergraph#diff-c3R1ZGlvL3NyYy9wYWdlcy9bb3JnYW5pemF0aW9uU2x1Z10vW25hbWVzcGFjZV0vZ3JhcGgvW3NsdWddL3BsYXlncm91bmQudHN4) 0.00% 135 Missing ⚠️
[...ationSlug]/[namespace]/graph/[slug]/schema/sdl.tsx](https://app.codecov.io/gh/wundergraph/cosmo/pull/3196?src=pr&el=tree&filepath=studio%2Fsrc%2Fpages%2F%5BorganizationSlug%5D%2F%5Bnamespace%5D%2Fgraph%2F%5Bslug%5D%2Fschema%2Fsdl.tsx&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=wundergraph#diff-c3R1ZGlvL3NyYy9wYWdlcy9bb3JnYW5pemF0aW9uU2x1Z10vW25hbWVzcGFjZV0vZ3JhcGgvW3NsdWddL3NjaGVtYS9zZGwudHN4) 0.00% 115 Missing ⚠️
studio/src/components/schema/schema-selector.tsx 0.00% 104 Missing and 1 partial ⚠️
...o/src/components/schema/feature-flag-menu-item.tsx 0.00% 49 Missing and 1 partial ⚠️
...tudio/src/components/schema/schema-type-select.tsx 0.00% 19 Missing and 1 partial ⚠️
[...ionSlug]/[namespace]/graph/[slug]/schema/index.tsx](https://app.codecov.io/gh/wundergraph/cosmo/pull/3196?src=pr&el=tree&filepath=studio%2Fsrc%2Fpages%2F%5BorganizationSlug%5D%2F%5Bnamespace%5D%2Fgraph%2F%5Bslug%5D%2Fschema%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=wundergraph#diff-c3R1ZGlvL3NyYy9wYWdlcy9bb3JnYW5pemF0aW9uU2x1Z10vW25hbWVzcGFjZV0vZ3JhcGgvW3NsdWddL3NjaGVtYS9pbmRleC50c3g=) 0.00% 18 Missing ⚠️
...raph/[slug]/compositions/[compositionId]/index.tsx 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3196       +/-   ##
===========================================
- Coverage   71.35%   29.47%   -41.89%     
===========================================
  Files         336      749      +413     
  Lines       49535    91730    +42195     
  Branches     6116     1367     -4749     
===========================================
- Hits        35345    27035     -8310     
- Misses      14164    62823    +48659     
- Partials       26     1872     +1846     
Files with missing lines Coverage Δ
studio/src/components/schema/schema-selection.ts 100.00% <100.00%> (ø)
studio/src/lib/playground-schema-loading.ts 100.00% <100.00%> (ø)
...raph/[slug]/compositions/[compositionId]/index.tsx 0.00% <0.00%> (ø)
[...ionSlug]/[namespace]/graph/[slug]/schema/index.tsx](https://app.codecov.io/gh/wundergraph/cosmo/pull/3196?src=pr&el=tree&filepath=studio%2Fsrc%2Fpages%2F%5BorganizationSlug%5D%2F%5Bnamespace%5D%2Fgraph%2F%5Bslug%5D%2Fschema%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=wundergraph#diff-c3R1ZGlvL3NyYy9wYWdlcy9bb3JnYW5pemF0aW9uU2x1Z10vW25hbWVzcGFjZV0vZ3JhcGgvW3NsdWddL3NjaGVtYS9pbmRleC50c3g=) 0.00% <0.00%> (ø)
...tudio/src/components/schema/schema-type-select.tsx 0.00% <0.00%> (ø)
...o/src/components/schema/feature-flag-menu-item.tsx 0.00% <0.00%> (ø)
studio/src/components/schema/schema-selector.tsx 0.00% <0.00%> (ø)
[...ationSlug]/[namespace]/graph/[slug]/schema/sdl.tsx](https://app.codecov.io/gh/wundergraph/cosmo/pull/3196?src=pr&el=tree&filepath=studio%2Fsrc%2Fpages%2F%5BorganizationSlug%5D%2F%5Bnamespace%5D%2Fgraph%2F%5Bslug%5D%2Fschema%2Fsdl.tsx&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=wundergraph#diff-c3R1ZGlvL3NyYy9wYWdlcy9bb3JnYW5pemF0aW9uU2x1Z10vW25hbWVzcGFjZV0vZ3JhcGgvW3NsdWddL3NjaGVtYS9zZGwudHN4) 0.00% <0.00%> (ø)
[...ationSlug]/[namespace]/graph/[slug]/playground.tsx](https://app.codecov.io/gh/wundergraph/cosmo/pull/3196?src=pr&el=tree&filepath=studio%2Fsrc%2Fpages%2F%5BorganizationSlug%5D%2F%5Bnamespace%5D%2Fgraph%2F%5Bslug%5D%2Fplayground.tsx&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=wundergraph#diff-c3R1ZGlvL3NyYy9wYWdlcy9bb3JnYW5pemF0aW9uU2x1Z10vW25hbWVzcGFjZV0vZ3JhcGgvW3NsdWddL3BsYXlncm91bmQudHN4) 0.00% <0.00%> (ø)

... and 1076 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.