diffplug / diffplug/gitcasso

save revision and submission history of comments

未关闭
#26 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
HTML
星标
58
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Currently, Gitcasso cannot save drafts - as soon as a tab is closed, the draft is lost.

The sketch of the proposed feature is below:

- if the user has opted-in to draft saving
- then we save the draft history of their comments in a local `IndexedDB`, with a storage model similar to Gmail
- all comments are saved forever, or you can prune to only save the past `n` months
- you can "trash" a comment, anything in trash for more than 30 days gets permanently deleted
- you can go into the trash and delete a comment immediately

There are some things you can vote on

- **I want draft-saving** -> ⭐ the repo and 👍 this issue
- **I also want the option to opt-in to draft-saving on every textarea on any website** -> 🎉 this issue
- see also #98

贡献指南

打开贡献指南

调研方向

No files or tests are identified in the issue. Start by reviewing the existing comment textareas and related issue #98, then determine how opt-in draft saving should use local IndexedDB. Done means supporting persistent draft history, retention pruning, trash handling, and permanent deletion after 30 days.

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

评估

技术栈
html
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

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