Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stale cells (aka single-shot cells) #3068

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 21, 2024

  1. Add stale cells (aka single-shot cells)

    Adds to PlutoRunner a new struct `Stale`. When returned from a cell,
    this struct passes down its formatting to its single member `out`.
    However, the cell also gets marked as stale. This means that none of the
    cells that depend on it will be run. The stale cell, however, will still
    be run when its dependencies run.
    
    On the frontend stale outputs are displayed on a light or dark orange
    background while stale cells and cells that depend on them get orange
    traffic lights.
    
    When a cell is in one of those two states a warning sign with an
    explanatory popup is displayed below the "fold code" button.
    
    Add a small test for stale cells
    SimonLafran committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    127ef1c View commit details
    Browse the repository at this point in the history