Evaluate layout-sensitive Observable width and visibility helpers for notebooks #139
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close the remaining Observable System Guide layout-helper gap now that notebook parity covers
now,invalidation, the bundled sample datasets, notebook-local imports, and sortableInputs.table(...)headers.Problem
The notebook runtime still documents
widthandvisibilityas unsupported because both helpers depend on layout, viewport, resize, and visibility semantics that Observable derives from its cell observer runtime. The current markdown-native notebook execution model has worker and in-process paths, DOM-backed outputs, rerun commands, restored output state, and notebook teardown, but it does not yet define how layout-sensitive helper values should be computed, refreshed, or cleaned up.Goal
Decide and implement the smallest notebook-owned contract for
widthandvisibilitythat fits the current runtime architecture, keeps markdown-native notebooks stable across reruns and reloads, and makes the remaining System Guide examples understandable in Lapis.Scope
widthandvisibilityagainst the current notebook session model, output host registry, rerun flow, and worker/in-process split.Non-goals
widthandvisibility.Acceptance Criteria
widthandvisibility, including any intentional limitations.Implementation Notes
Suggested Files or Specs To Inspect
packages/notebook/src/lib/runtime/**packages/notebook/src/lib/session/**packages/notebook/src/notebook-plugin.tspackages/workspace/e2e/notebook-system-guide.spec.tse2e-vault/plugin-notebook/System Guide.notebook.mdspec/src/20-packages/plugins/notebook/documents-and-runtime.mdspec/src/20-packages/plugins/notebook/observable-system-guide-parity.mdValidation Commands
Follow-up Tasks
width/visibilitycontract is stable.visibilityremains intentionally unsupported, consider author-facing guidance or diagnostics that explain the limitation inline.Implementation Summary
Populate when closing the issue.