Skip to content

Visualise document evolution #1307

Open
@davystrong

Description

Motivation

I'd like to be able to sweep through the evolution of a document to find the cause of "layout did not converge" errors.

This is being discussed here along with some options for integrating detection into the compiler. However, actually generating different versions of the document for visual debugging may be more appropriate as an IDE feature.

Description

Some way of switching the number of iterations used by the compiler for the preview. A dropdown or slider in the preview window would be great. Changing the number of iterations shouldn't change the position at which the document is displayed.

Examples/Questions

  • Previewing a document with a state feedback loop should display the final version of the document, along with a warning (at the top of the window?) that the layout didn't converge. The warning should include a dropdown or slider to select previous iterations of the document. Changing the value of the slider/dropdown should immediately display the other version, without confirmation.
  • How should the value be selected? I was thinking of a slider or a dropdown, but increment/decrement buttons could work too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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