20.6: History rewind as a registry command

未关闭
#78 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust

调研方向

Start by reading task #201 and tracing an existing registry command through the engine catalog, shell menu, Action dispatch, and command palette. Then inspect the engine's history model and the document history UI entry points; the issue names no files or tests. Done means the command is dispatchable and listed in the palette, history entries can restore prior document states, current-entry rewind is a no-op, empty history is safe, and the rewind scope is documented.

由索引模型根据 Issue 内容生成。

描述

enhancement

Phase 20.6 of the daily-driver expansion: FireCraft's undo stack is not inspectable, so a user cannot step back to an earlier state of a document.

Work

  • Expose history rewind as a registry command in the same shape as every other shell command — engine catalog command id, shell menu row, Action variant, command-palette entry.
  • A history panel/overlay listing the document's edit-history entries; the user selects one and the document returns to that state.
  • Reuse the engine's existing history model if one exists. Do not build a second, parallel history.
  • Be explicit in the implementation and the docs about what is and is not rewound (for example, if only the undo stack is covered, say so).

Acceptance

  • The registry command exists and is dispatchable by command id.
  • The history list reflects the document's edits; choosing an earlier entry restores the earlier state.
  • Rewinding to the current entry is a no-op and rewinding an empty history is safe.
  • The command appears in the command palette.

Tracking: task #201.

主要语言
Rust
星标
11
派生
1
平均合并
9 小时 48 分钟
30 天内合并 PR
13

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aliasfoxkde/FireCraft 的其他 Issue

查看 aliasfoxkde/FireCraft 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。