Skip to content

feat: Create sqlrooms notebook package - #131

Merged
ilyabo merged 130 commits into
mainfrom
cursor/create-sqlrooms-notebook-package-7824
Feb 27, 2026
Merged

ilyabo merged 130 commits into
mainfrom
cursor/create-sqlrooms-notebook-package-7824

Conversation

@ilyabo

@ilyabo ilyabo commented Sep 6, 2025 •

Copy link
Copy Markdown
Collaborator

Introduce @sqlrooms/notebook package to enable an interactive, reactive notebook experience for SQLRooms, supporting SQL, markdown, and input cells with automatic dependency-based re-execution.

The reactive execution model is a core design principle, where changes in SQL cell definitions or input variable values automatically trigger re-runs of dependent SQL cells. This fosters an exploratory data analysis workflow by ensuring results are always up-to-date with the latest data and parameters. SQL cells create named views in a dedicated notebook schema for easy referencing and isolation.


Open in Cursor Open in Web

Summary by CodeRabbit

  • New Features

    • Notebook example app with Sheets panel, Assistant drawer, data-source upload, and a Sheets-based UI for notebook/canvas switching.
    • Extensible cell registry with default sql/text/vega/input cells; new cell UIs (SQL run/cancel with paginated results, Vega charts, text, inputs) and Add‑new controls.
  • Bug Fixes

    • More reliable SQL execution with retry/backoff and debounced persistence to reduce lost state.
  • Refactor

    • Unified cells architecture: cells/DAG shared between Notebook and Canvas for consistent behavior and rendering.
  • Tests

    • New tests for DAG execution, sheet ownership, qualification, and concurrency.
  • Docs

    • New READMEs and example app configs.

This commit introduces the SQL notebook feature, enabling users to create and manage SQL, markdown, text, vega, and input cells within a tabbed interface. It includes the necessary slice logic, UI components, and example setup.

Co-authored-by: ilyabo <[email protected]>
@cursor

cursor Bot commented Sep 6, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@ilyabo
ilyabo marked this pull request as ready for review September 6, 2025 09:11
@ilyabo ilyabo changed the title Create sqlrooms notebook package feat: Create sqlrooms notebook package Sep 9, 2025
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
Signed-off-by: Ilya Boyandin <[email protected]>
@ilyabo
ilyabo merged commit f42caa2 into main Feb 27, 2026
5 checks passed
@ilyabo
ilyabo deleted the cursor/create-sqlrooms-notebook-package-7824 branch February 27, 2026 15:37
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