Skip to content

feat: add reusable SQL snippets with side panel in editor - #99

Merged
aalvaropc merged 1 commit into
mainfrom
feat/sql-snippets
Apr 11, 2026
Merged

feat: add reusable SQL snippets with side panel in editor#99
aalvaropc merged 1 commit into
mainfrom
feat/sql-snippets

Conversation

@aalvaropc

@aalvaropc aalvaropc commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • New sql_snippets table with title, SQL, description (migration included)
  • New Snippets context with CRUD operations scoped to workspace
  • Side panel in SQL editor now has tabs: History | Snippets
  • Create snippets from current editor SQL via "New Snippet" button
  • Insert snippets into editor with one click (appends to current SQL)
  • Delete snippets with confirmation
  • Snippets persist per workspace and are shared among team members

Test plan

  • mix precommit — 638 tests, 0 failures
  • Manual: switch to Snippets tab, create a snippet, insert it into editor, delete it

@aalvaropc
aalvaropc merged commit f95c82a into main Apr 11, 2026
2 checks passed
@aalvaropc
aalvaropc deleted the feat/sql-snippets branch April 11, 2026 20:11
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.

1 participant