may-tas/TextEditingApp

Implement Advanced Undo/Redo with Visual History Timeline

Aperta

#113 aperta il 1 ott 2025

 (41 commenti) (0 reazioni) (2 assegnatari)Dart (35 fork)auto 404
enhancementgssoc25hacktoberfestlevel3no-issue-activity

Metriche repository

Star
 (19 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Problem

The current undo/redo system is basic and doesn't provide users with a clear view of their editing history. Users can't see what changes will be undone/redone or jump to specific points in history.

Solution

Implement a visual timeline that shows:

  • Thumbnail previews of canvas states
  • Timestamps of changes
  • Ability to jump to any point in history
  • Branching history for complex editing workflows

Acceptance Criteria

  • Visual timeline widget in the UI
  • Thumbnail generation for canvas states
  • Jump-to functionality
  • History branching support
  • Performance optimization for large histories

Technical Details

  • Use RepaintBoundary for efficient thumbnail generation
  • Implement history as a tree structure instead of linear list
  • Add state diffing to avoid storing full states

Guida contributor