Skip to content

Conversation

@ivasilov
Copy link
Member

What kind of change does this PR introduce?

This PR adds support for file-based SQL snippets in Studio.

What is the current behavior?

The snippets are saved in browser storage and dissapear on refresh.

What is the new behavior?

The snippets have almost feature-parity with the snippets on the platform variant except:

  • favourite snippets
  • shared snippets
  • rename a folder

Additional context

Should be merged before supabase/supabase#41112.

@ivasilov ivasilov requested a review from a team as a code owner December 23, 2025 08:08
@sweatybridge sweatybridge merged commit 358a5ff into develop Dec 23, 2025
15 of 16 checks passed
@sweatybridge sweatybridge deleted the feat/snippets-folder branch December 23, 2025 09:29
@coveralls
Copy link

coveralls commented Dec 23, 2025

Pull Request Test Coverage Report for Build 20456686970

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 56.1%

Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 12.9%
Totals Coverage Status
Change from base Build 20454832107: -0.01%
Covered Lines: 6833
Relevant Lines: 12180

💛 - Coveralls

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.

4 participants