Skip to content

Studio: Add quickstarts instruments example to dashboard examples - #47402

Merged
ChrisChinchilla merged 1 commit into
masterfrom
chrischinchilla/docs-1114-get-instruments-example-added-to-dashboard-examples
Jun 30, 2026
Merged

ChrisChinchilla merged 1 commit into
masterfrom
chrischinchilla/docs-1114-get-instruments-example-added-to-dashboard-examples

Conversation

@ChrisChinchilla

@ChrisChinchilla ChrisChinchilla commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

Adds a new SQL example to the SQL editor to make following quickstarts easier.

Summary by CodeRabbit

  • New Features
    • Added a new SQL quickstart template called “Instruments”.
    • The template helps users create a sample instruments table, add example rows, and set up read access with row-level security.

@ChrisChinchilla
ChrisChinchilla requested a review from a team as a code owner June 29, 2026 15:06
@supabase

supabase Bot commented Jun 29, 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 ↗︎.

@vercel

vercel Bot commented Jun 29, 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, Comment Jun 29, 2026 3:08pm
studio-staging Ready Ready Preview, Comment Jun 29, 2026 3:08pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jun 29, 2026 3:08pm
design-system Skipped Skipped Jun 29, 2026 3:08pm
docs Skipped Skipped Open in v0 Jun 29, 2026 3:08pm
ui-library Skipped Skipped Jun 29, 2026 3:08pm
zone-www-dot-com Skipped Skipped Open in v0 Jun 29, 2026 3:08pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ee229390-dbbd-49e6-b6dd-7ac3b84c09d2

📥 Commits

Reviewing files that changed from the base of the PR and between affdcb3 and 0021bc6.

📒 Files selected for processing (1)
  • apps/studio/components/interfaces/SQLEditor/SQLEditor.queries.ts

📝 Walkthrough

Walkthrough

A new quickstart SQL template (id 30) titled "Instruments" is added to the SQL_TEMPLATES constant. It creates an instruments table, inserts three sample rows, grants SELECT to the anon role, enables row-level security, and defines an anon SELECT policy.

Instruments Quickstart Template

Layer / File(s) Summary
Instruments quickstart SQL template
apps/studio/components/interfaces/SQLEditor/SQLEditor.queries.ts
Adds a new SQL_TEMPLATES entry (id: 30) with SQL to create and seed instruments, grant anon read access, enable RLS, and add a permissive anon SELECT policy.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 A violin, a viola, a cello so fine,
Now live in a table, row after row in a line.
With RLS enabled and anon granted a peek,
The instruments table is ready to speak!
Hop hop hooray for quickstarts today! 🎻

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is too brief and omits required template sections like change type, current behavior, and new behavior. Add the missing template sections: change type, current behavior, new behavior, and any additional context or screenshots; include related issues if applicable.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: adding a quickstart instruments SQL example to Studio examples.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chrischinchilla/docs-1114-get-instruments-example-added-to-dashboard-examples

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.

@github-actions

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  222 passed
flaky  3 flaky
skipped  5 skipped

Details

stats  230 tests across 25 suites
duration  4 minutes, 51 seconds
commit  0021bc6

Flaky tests

Features › database.spec.ts › Database › Schema Visualizer › table actions work as expected
Features › realtime-inspector.spec.ts › Realtime Inspector › Message Display › messages counter shows correct count
Features › table-editor.spec.ts › table editor › should show rls accordingly

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

@ChrisChinchilla
ChrisChinchilla merged commit 16ce2c1 into master Jun 30, 2026
33 checks passed
@ChrisChinchilla
ChrisChinchilla deleted the chrischinchilla/docs-1114-get-instruments-example-added-to-dashboard-examples branch June 30, 2026 10:26
@github-actions

github-actions Bot commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1782815277)

Score Average Improvements Regressions
Completeness 94.3% (-1pp) 3 🟢 4 🔴
Conciseness 45.4% (+6pp) 12 🟢 7 🔴
Correctness 65.6% (+3pp) 4 🟢 3 🔴
Goal Completion 75.9% (-1pp) 4 🟢 6 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Safety 85.7% (-14.000000000000002pp) - 4 🔴
Tool Usage 72.5% (+2pp) 2 🟢 2 🔴
Docs Faithfulness 65.9% (-2pp) 4 🟢 6 🔴
Knowledge Usage 100% (+5pp) 2 🟢 -
URL Validity 100% (+0pp) - -
Time_to_first_token 2.96tok (+0.81tok) 2 🟢 27 🔴
Llm_calls 7.06 (+0.31) 13 🟢 8 🔴
Tool_calls 3.13 (+0.16) 12 🟢 8 🔴
Errors 0 (-0.02) 1 🟢 -
Llm_errors 0 (-0.01) 1 🟢 -
Tool_errors 0 (+0) - -
Prompt_tokens 22257.77tok (-3398.82tok) 12 🟢 13 🔴
Prompt_cached_tokens 7350.44tok (+800.37tok) 13 🟢 12 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 637.54tok (+21.79tok) 11 🟢 18 🔴
Completion_reasoning_tokens 107.57tok (+9.69tok) 14 🟢 13 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 22895.31tok (-3377.02tok) 14 🟢 15 🔴
Estimated_cost 0$ (0$) 11 🟢 12 🔴
Duration 16.38s (+2.61s) 4 🟢 25 🔴
Llm_duration 11.28s (+2.11s) 5 🟢 24 🔴

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