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

Đang mở
#10,348 1 bình luận 0 reaction 2 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@vihar đang làm issue này rồi.

Từ ngày 18/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

✨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.

Ngôn ngữ chính
TypeScript
Star
63k
Fork
6.5k
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của makeplane/plane

Tất cả issue của makeplane/plane

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.