Skip to content

fix(minimal-workspace): remove the no-op copy logs/traces buttons from the onboarding notebook#68

Merged
bjoaquinc merged 1 commit into
develfrom
fix/remove-notebook-copy-buttons
Jul 1, 2026
Merged

fix(minimal-workspace): remove the no-op copy logs/traces buttons from the onboarding notebook#68
bjoaquinc merged 1 commit into
develfrom
fix/remove-notebook-copy-buttons

Conversation

@bjoaquinc

Copy link
Copy Markdown
Collaborator

Overview

The onboarding notebook's "Copy logs" / "Copy traces" buttons only ever copied placeholder text ("[No pipeline logs available]"). A read-only notebook can't reach the pipeline's trace — pipeline.last_trace lives where the pipeline ran, not in the serve job — and the platform runs API exposes only a logs link, no trace structure. So there's nothing real for them to copy today; removing them until the platform can serve trace data to read-only sessions.

Changes

  • Remove the pipeline copy button + hover menu from schema_overview.py, along with the now-dead helpers (makeMenu, copyText/legacyCopy, toast, the copy SVGs) and their CSS.
  • Drop the logs/traces widget traits, their wiring in onboarding_success.py, and the pipeline_logs/pipeline_trace stubs in dlt_access.py.
  • Rebuild the session snapshot.
  • Kept: FK-target tooltips (attachTip) and the page-3 prompt-copy button (that one copies a real prompt).

Tests

  • Live-rendered the widget: copy button gone, schema + FK tooltips intact, no console errors.
  • Full suite (175) + ruff/mypy pass; snapshot marimo_version still matches the lock.

…the onboarding notebook

A read-only notebook can't reach the pipeline's trace (last_trace lives where the
pipeline ran, not in the serve job), and the platform runs API exposes only a logs
link, no trace — so those buttons copied "[No pipeline logs available]" placeholder
text. Removed the copy affordance, its dead helpers, the logs/traces traits and
pipeline_logs/pipeline_trace stubs; rebuilt the session snapshot. FK-target tooltips
(attachTip) and the page-3 prompt-copy button are unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bjoaquinc bjoaquinc force-pushed the fix/remove-notebook-copy-buttons branch from 771ea1a to 0e8bd4f Compare July 1, 2026 11:51
@bjoaquinc bjoaquinc merged commit ee49644 into devel Jul 1, 2026
5 checks passed
@bjoaquinc bjoaquinc deleted the fix/remove-notebook-copy-buttons branch July 1, 2026 12:58
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