save revision and submission history of comments

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

还没有人认领这个 Issue。

评估

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

调研方向

Issue 中没有确定任何文件或测试。首先检查现有的评论文本区域和相关 issue #98,然后确定选择加入的草稿保存应如何使用本地 IndexedDB。完成的标准是支持持久化草稿历史记录、保留期限清理、回收站处理,以及 30 天后的永久删除。

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

描述

enhancement

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
主要语言
HTML
星标
58
派生
0
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

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

diffplug/gitcasso 的其他 Issue

查看 diffplug/gitcasso 的全部 Issue

相似的 Issue

更多 Web Dev Issue

把新 issue 发到你的邮箱

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