Skip to content

docs(data-apps): connect pages to their own notebook without its ID - #37

Merged
dinohamzic merged 2 commits into
mainfrom
dino/grn-5763-data-app-notebook-without-id
Nov 26, 2026
Merged

dinohamzic merged 2 commits into
mainfrom
dino/grn-5763-data-app-notebook-without-id

Conversation

@dinohamzic

@dinohamzic dinohamzic commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor
  • Follows deepnote/deepnote-internal#21313, which lets a data app page call Deepnote.connect().notebook() without an ID so a copy of the project keeps working, and should merge only once that change is deployed.
  • The data apps skill now connects pages that way, and names a notebook ID only to show another app's data.
  • create_data_app_token now also returns the app's notebookId, which the MCP skill lists and the local preview takes as --notebook-id.
  • The preview script passes that ID in its handshake reply, the same way Deepnote's shell does, so pages without an ID also work locally.

Pages now call `Deepnote.connect().notebook()` without an ID, so a copy of
the project keeps working. The local preview passes the notebook ID that
`create_data_app_token` returns, the way Deepnote's handshake does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SQznHZ7hEr7Na8M51aTzb7
@linear-code

linear-code Bot commented Nov 20, 2026

Copy link
Copy Markdown

GRN-5763

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The local preview accepts an optional --notebook-id and passes its value to the rendered Deepnote page. The page includes notebookId in its embedded configuration and API-token responses. The skill instructions describe connecting to the project’s own notebook or another app’s notebook. The MCP skill documents notebookId in the token response.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • deepnote/agent-plugins#30: Adds the local data app preview and documents its token source; this change extends that preview workflow with notebook ID handling.
Merge Risk: Minimal · up to 35350

The change documents ID-free notebook connections and lets the local preview pass an optional notebook ID. No concrete merge-blocking defect was established. Deploy the client prerequisite before merging, as the PR already states.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Updates Docs Inconclusive The PR changes three files in this repository, all under plugins/deepnote/skills/: deepnote-data-apps/SKILL.md, deepnote-data-apps/scripts/app-dev.mjs, and deepnote-mcp/SKILL.md. It updates th… Remind the author and reviewers to do the following before or alongside merge: 1. Update the primary documentation in the deepnote/deepnote OSS repo. Cover the ID-less Deepnote.connect().notebook() pattern, the notebookId field in the…
Passed Passed checks: 4 passed

Check name Status Explanation
Title check Passed Title matches the main change. It names the docs(data-apps) change that connects pages to their own notebook without an ID, which is the primary point of the PR. It is short and specific.
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.
Description check Passed The description matches the changeset. It states that data app pages now connect with Deepnote.connect().notebook() without an ID, that the skill names an ID only for another app's data, that create_d…
Full details: Description check

Explanation

The description matches the changeset. It states that data app pages now connect with Deepnote.connect().notebook() without an ID, that the skill names an ID only for another app's data, that create_data_app_token returns notebookId, and that the local preview takes it as --notebook-id and passes it in the handshake reply. These points align with the raw summary and the PR objectives.

Full details: Updates Docs

Explanation

The PR changes three files in this repository, all under plugins/deepnote/skills/: deepnote-data-apps/SKILL.md, deepnote-data-apps/scripts/app-dev.mjs, and deepnote-mcp/SKILL.md. It updates the in-repo skill docs for the new behavior. It adds an optional --notebook-id to the local preview, and create_data_app_token now returns notebookId. The check requires documentation in the deepnote/deepnote OSS repo and a roadmap update in the deepnote/deepnote-internal landing page. Neither repository is visible in this checkout, so I cannot confirm those updates. The check's own fallback applies: remind the user to update them.

Resolution

Remind the author and reviewers to do the following before or alongside merge: 1. Update the primary documentation in the deepnote/deepnote OSS repo. Cover the ID-less Deepnote.connect().notebook() pattern, the notebookId field in the create_data_app_token response, and the --notebook-id option of the local preview. 2. Update the roadmap on the landing page of deepnote/deepnote-internal to reflect this feature. This PR links to deepnote/deepnote-internal#21313, so check that item's status too. Once those updates are confirmed, this check can be re-run.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

LanguageTool

LanguageTool checks were skipped: reviews.tools.languagetool.enabled_only requires at least one selection in enabled_rules or enabled_categories. Select rules/categories, set enabled_only to false to use the default rules, or set enabled to false to disable LanguageTool.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: a63f6bfc-3ead-4713-ae6d-80472f516494
Commits

Reviewing files that changed from the base of the PR and between d658cc7 and 3535019.

Files selected for processing: 3

  • plugins/deepnote/skills/deepnote-data-apps/SKILL.md
  • plugins/deepnote/skills/deepnote-data-apps/scripts/app-dev.mjs
  • plugins/deepnote/skills/deepnote-mcp/SKILL.md

Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

…make --notebook-id optional

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dinohamzic dinohamzic self-assigned this Nov 26, 2026
@dinohamzic
dinohamzic requested review from m1so and tkislan November 26, 2026 08:47
@dinohamzic
dinohamzic marked this pull request as ready for review November 26, 2026 08:47
@dinohamzic
dinohamzic merged commit af237d8 into main Nov 26, 2026
2 checks passed
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.

3 participants