Skip to content

cell-tour cannot highlight cells in run mode, #115

@spex66

Description

@spex66

Hi @koaning

situation

  • Love the from wigglystuff import CellTour feature and it works fine in uvx run --python 3.13 marimo edit --sandbox.. column mode, where it jumps nicely from cell to cell :)

issue

  1. Switching in edit mode to "app view" (ctrl-.) => the "start tour" button results in "No tour steps defined"
  2. Starting in marimo run --sandbox .. mode -- supposed to guide users -- it shows the cell-tour centers in the middle of the screen.
  • dependencies: wigglystuff 0.2.20
  • marimo: 0.19.7

I've not yet isolated it in a marimo notebook yet, sharing for early check if you can reproduce it?
If not happy to start on isolating and helping improving

The cell with celltour setup is IMO w/o surprises?

"""Interactive notebook tour using wigglystuff CellTour."""
from wigglystuff import CellTour

tour = CellTour(
    steps=[
        {
            "cell_name": "chapter1_setup_header",
            "title": "1. Setup",
            "description": "Configure your CDF connection with .env credentials",
        },
        {
            "cell_name": "chapter2_export_header",
            "title": "2. Export from CDF",
            "description": "Export transformation job metrics from CDF API",
        },
        {
            "cell_name": "chapter3_loading_header",
            "title": "3. Load Data",
            "description": "Load previously exported JSONL files for analysis",
        },
        {
            "cell_name": "chapter4_concurrency_header",
            "title": "4. Concurrency Dashboard",
            "description": "Visualize when transformation jobs overlap",
        },
        {
            "cell_name": "chapter5_metrics_header",
            "title": "5. Metrics Dashboard",
            "description": "Explore metrics trends per transformation",
        },
        {
            "cell_name": "chapter6_export_header",
            "title": "6. Save Results",
            "description": "Export analysis results to CSV, Parquet, or JSON",
        },
    ],
    auto_start=False,
    show_progress=True,
)

mo.vstack(
    [
        mo.md("**New here?** Click the button below for a guided tour of this notebook."),
        tour,
    ]
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions