[feature]: Auto-save unsent comments and work item drafts in browser localStorage

未关闭
#10,348 1 条评论 0 个 reaction 已指派 2 人 在 GitHub 查看

维护者通常 1 天内回复

@vihar 已经在做这个了。

开始于 2026年11月18日。

评估

这个 Issue 还没有评估数据。

描述

✨feature plane
Is there an existing issue for this?
  • I have searched the existing issues
Summary

Automatically persist unsubmitted text in the browser's localStorage for both work item comments and new work item creation:

  • Auto-save on input: Debounce and save typed content locally (keyed by workspace, project, and work item ID).
  • Auto-restore: Automatically restore the unsent text if the user accidentally closes the browser tab, refreshes the page, or navigates away and returns later.
  • Auto-cleanup: Clear the saved draft from localStorage once the comment is successfully posted or the work item is created/discarded.
Why should this be worked on?

Currently, if a user is writing a detailed comment or drafting a new work item and accidentally refreshes the page, closes the tab, or navigates to another view, all unsaved progress is permanently lost.

While Plane shows a manual "Save this draft?" confirmation when explicitly clicking the close button on the work item creation modal, it does not protect against accidental tab closures, browser crashes, or navigation—and comments have no draft persistence at all.

Adding automatic localStorage draft persistence (standard in tools like GitLab and GitHub) prevents frustrating data loss and eliminates the need for users to write long comments or specifications in external editors before pasting them into Plane.

主要语言
TypeScript
星标
63k
派生
6.5k
平均合并
2 天 16 小时
30 天内合并 PR
70

环境准备

从这里开始

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

makeplane/plane 的其他 Issue

查看 makeplane/plane 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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