Endpoint to return number edits svg badge
@SimonLab 已经在做这个了。
开始于 2018年3月12日。
评估
这个 Issue 还没有评估数据。
描述
linked to #14 (Meta table)
Each time a new version (edit) of the issue description or a comment of the issue is saved, the meta table will display the new incremented number of edits. We can update directly the issue description of the new number via the Github API, however a nicer solution is to use a svg served by the "github-backup" server.
So in a similar way to https://github.com/dwyl/hits-elixir we need to:
- create an endpoint ex:
/edit-count/{issue_id}which will return an svg image - insert the svg image similar to
[](https://github.com/dwyl/hits-elixir)
format of the hit-elixir svg:
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="20">
<rect width="30" height="20" fill="#555"/>
<rect x="30" width="50" height="20" fill="#4c1"/>
<rect rx="3" width="80" height="20" fill="transparent"/>
<g fill="#fff" text-anchor="middle"
font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="15" y="14">hits</text>
<text x="54" y="14">696</text>
</g>
</svg>
- 主要语言
- Elixir
- 星标
- 33
- 派生
- 3
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dwyl/github-backup 的其他 Issue
-
enhancement
难度 5/5 一周以上 新手友好度 15/100
dwyl/github-backup#138 ·
-
discuss enhancement priority-2
dwyl/github-backup#136 · 10 条评论 · 已指派 1 人 ·
-
😕 未关闭help wanted priority-2
难度 5/5 一周以上 新手友好度 25/100
dwyl/github-backup#135 · 1 条评论 · 3 个 reaction ·
-
enhancement
难度 5/5 一周以上 新手友好度 20/100
dwyl/github-backup#133 ·
-
discuss priority-4 technical
难度 5/5 一周以上 新手友好度 20/100
dwyl/github-backup#132 · 3 条评论 · 1 个 reaction ·
查看 dwyl/github-backup 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
carverauto/serviceradar#4542 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
phoenixframework/phoenix#6847 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 82/100
beyond-all-reason/teiserver#1584 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
ash-project/ash#2954 ·