anyuianyui
anyui-LIVE
anyui
Feedback
  • English
  • 中文
anyui-LIVE
anyui
Feedback
  • English
  • 中文
  • Introduction

    • Introduction
  • Get Started

    • Get Started
  • Workspace

    • Workspace
  • Editor

    • Overview
    • Toolbar
    • Navigator
    • Inspector
    • Display Layers
    • Event Flow Overview
    • Statusbar
    • Settings
    • Keyboard shortcuts
    • Canvas
    • Preview
    • Resource management
    • Code Viewer
    • History
  • Agent
  • Desktop
  • Data safety
  • Subjects

    • Image
    • Font Library
    • Layout
    • Symbol
    • Animation
    • Global style
    • Dynamic LVGL version
    • Dynamic Display Size Change
    • Override screen size
    • Codegen
    • User custom code
    • Transplant
    • Simulator
    • Translation
  • FAQ

The history tab lists the edit history of the current document, so you can review past changes and return to an earlier state. This guide explains the concept, how to use it, and what to watch out for.

Overview

Design work is iterative: widgets move, styles change, and screens get restructured. The document bar already offers Undo / Redo to step backward and forward through the edit history; the history tab exposes that same history as a list, so you can see what each step changed instead of undoing repeatedly without knowing why.

The history is one of the three tabs of the inspector, alongside Inspector (widget properties) and Event (interaction handlers).

Use it to:

  • Review what changed and in which order, including changes made through the agent.
  • Locate the step you want to return to, rather than pressing undo repeatedly.
  • Understand the effect of a series of edits before exporting or generating code.

Edits made by the agent are ordinary document edits, so they enter the same history and are reviewed and reverted the same way. See Agent.

Usage

  1. Select the History tab in the inspector.
  2. Read the entries from newest to oldest to see what each step changed. The current position and the undoable/redoable operations are marked.
  3. Select an entry to jump back to that state, or step through the history with Undo / Redo in the document bar.
  4. Confirm the restored result on the canvas and in preview.

Attention points

  • Undo and redo are locked in preview mode, so the history is not navigable while previewing; return to edit mode first. See Toolbar.
  • Document history is not the agent Conversation history, which stores past chat sessions browsed from the agent panel's toolbar. Restoring a conversation does not restore document state, and vice versa. See Agent.
  • History covers document edits in the current session. Removing a project is irreversible and cannot be undone - history is not a backup. See Workspace.
  • Generated code is produced from the current design state; after restoring an earlier state, rebuild before trusting an open code view or an earlier export. See Codegen.

Related guides

  • Inspector - widget properties and the history tab.
  • Toolbar - undo, redo, save, and export in the document bar.
  • Overview - the editor interface as a whole.
  • Agent - agent edits and conversation history.
  • Canvas - seeing the restored state.
  • Preview - verifying the restored behavior.
Prev
Code Viewer