Skip to content

Add Studio ExplorerQuery shell - #48926

Merged
SaxonF merged 1 commit into
chore/toolbar-componentfrom
chore/query-cell-shell
Aug 12, 2026
Merged

SaxonF merged 1 commit into
chore/toolbar-componentfrom
chore/query-cell-shell

Conversation

@SaxonF

@SaxonF SaxonF commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the Studio-owned ExplorerQuery shell used by notebooks, SQL snippets, dedicated query tabs, and assistant query blocks within Explorer.

  • provides framed embedded and full-height viewport roots
  • provides composable editor, results, and footer layout regions
  • keeps result content responsible for its own scrolling while the results region fills remaining height
  • remains presentational: query models, execution, source resolution, persistence, and result rendering stay external
  • expands the project-local Explorer agent skill with composition and sizing guidance
  • adds focused Studio component tests

All files are scoped to apps/studio; this PR no longer changes ui-patterns or the design-system app.

Stack

Validation

  • pnpm --filter studio exec vitest run components/interfaces/Explorer/ExplorerQuery/ExplorerQuery.test.tsx components/interfaces/Explorer/ExplorerToolbar/ExplorerToolbar.test.tsx — 6 tests passed
  • pnpm --filter studio typecheck
  • Prettier
  • git diff --check

@vercel

vercel Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview Aug 12, 2026 3:10am
studio-staging Ready Ready Preview Aug 12, 2026 3:10am
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Aug 12, 2026 3:10am
design-system Skipped Skipped Aug 12, 2026 3:10am
docs Skipped Skipped Aug 12, 2026 3:10am
ui-library Skipped Skipped Aug 12, 2026 3:10am
zone-www-dot-com Skipped Skipped Aug 12, 2026 3:10am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 63cffcea-0ba7-4993-9591-c5f2a892ac2e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@supabase

supabase Bot commented Aug 11, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results (next)

passed  242 passed
flaky  1 flaky
skipped  5 skipped

Details

stats  248 tests across 29 suites
duration  3 minutes, 55 seconds
commit  7fc0bf8

Flaky tests

Features › wrappers.spec.ts › Stripe › can create a stripe wrapper with tables

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@SaxonF
SaxonF force-pushed the chore/query-cell-shell branch from e49eb35 to 68c2178 Compare August 11, 2026 10:52
@SaxonF
SaxonF marked this pull request as ready for review August 11, 2026 22:08
@SaxonF
SaxonF requested a review from a team as a code owner August 11, 2026 22:08
@SaxonF
SaxonF force-pushed the chore/query-cell-shell branch from 68c2178 to d6303d0 Compare August 11, 2026 22:08
@SaxonF SaxonF changed the title Add QueryCell shell pattern Add ExplorerQuery shell pattern Aug 12, 2026

@dnywh dnywh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested on deploy preview.

@SaxonF
SaxonF force-pushed the chore/query-cell-shell branch from 7fbbed4 to 7fc0bf8 Compare August 12, 2026 03:06
@SaxonF
SaxonF requested a review from a team as a code owner August 12, 2026 03:06
@SaxonF SaxonF changed the title Add ExplorerQuery shell pattern Add Studio ExplorerQuery shell Aug 12, 2026
@SaxonF
SaxonF merged commit 7c4872a into master Aug 12, 2026
40 checks passed
@SaxonF
SaxonF deleted the chore/query-cell-shell branch August 12, 2026 03:21
SaxonF added a commit that referenced this pull request Aug 12, 2026
## Summary

Adds the Studio-owned `ExplorerToolbar` composition used by Explorer
notebooks, chats, SQL snippets, query cells, and tabs.

- provides icon, title, actions, and compact action-button slots
- follows Studio's 40px header sizing with a `--header-height` fallback
- keeps resource-specific state and behavior in the consuming Explorer
surface
- adds focused Studio component tests
- adds project-local agent guidance at
`apps/studio/.claude/skills/explorer/SKILL.md`

These components are intentionally scoped to Studio under
`apps/studio/components/interfaces/Explorer`; this PR no longer changes
`ui-patterns` or the design-system app.

## Stack

- Base: `master`
- Next: #48926
- This is the first PR in the Explorer query component stack.

## Validation

- `pnpm --filter studio exec vitest run
components/interfaces/Explorer/ExplorerToolbar/ExplorerToolbar.test.tsx`
— 3 tests passed
- `pnpm --filter studio typecheck`
- Prettier
- `git diff --check`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added shared Explorer toolbar components for icons, titles, actions,
custom controls, and compact buttons.
* Added accessibility defaults, configurable toolbar sizing, ref
forwarding, and native property support.
* Added documentation covering Explorer component usage, composition,
sizing, actions, state ownership, and extensions.

* **Tests**
* Added comprehensive coverage for toolbar composition, styling,
accessibility, refs, and configurable behavior.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1786505065)

Score Average Improvements Regressions
Completeness 77% (-22pp) - 13 🔴
Conciseness 54% (+12pp) 17 🟢 4 🔴
Correctness 58.9% (-11pp) 3 🟢 6 🔴
Goal Completion 62.1% (-18pp) 3 🟢 13 🔴
Knowledge Usage 100% (+3pp) 1 🟢 -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Tool Usage 71.9% (+1pp) 1 🟢 1 🔴
Docs Faithfulness 57.3% (-8pp) 3 🟢 8 🔴
Safety 92.9% (-2pp) - 1 🔴
Time_to_first_token 2.72tok (-0.04tok) 14 🟢 15 🔴
Llm_calls 7.55 (+0.16) 17 🟢 9 🔴
Tool_calls 3.15 (+0.15) 13 🟢 9 🔴
Errors 0.02 (+0.02) - 1 🔴
Llm_errors 0.01 (+0.01) - 1 🔴
Tool_errors 0 (+0) - -
Prompt_tokens 21244.03tok (-1158.74tok) 11 🟢 14 🔴
Prompt_cached_tokens 7056.18tok (+600.28tok) 13 🟢 9 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 619.17tok (+22.78tok) 12 🟢 17 🔴
Completion_reasoning_tokens 99.74tok (+4.87tok) 10 🟢 15 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 21863.21tok (-1135.95tok) 13 🟢 16 🔴
Estimated_cost 0$ (0$) 11 🟢 15 🔴
Duration 15.86s (-0.39s) 14 🟢 15 🔴
Llm_duration 11.17s (+0.06s) 14 🟢 15 🔴

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.

2 participants