Endpoint to return number edits svg badge
@SimonLab đang làm issue này rồi.
Từ ngày 12/3/2018.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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>
- Ngôn ngữ chính
- Elixir
- Star
- 33
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dwyl/github-backup
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
dwyl/github-backup#138 ·
-
discuss enhancement priority-2
dwyl/github-backup#136 · 10 bình luận · 1 người được giao ·
-
😕 Đang mởhelp wanted priority-2
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
dwyl/github-backup#135 · 1 bình luận · 3 reaction ·
-
Download all of your GitHub data Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
dwyl/github-backup#133 ·
-
Replace Brunch with webpack Đang mởdiscuss priority-4 technical
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
dwyl/github-backup#132 · 3 bình luận · 1 reaction ·
Tất cả issue của dwyl/github-backup
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
carverauto/serviceradar#4542 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
phoenixframework/phoenix#6847 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
beyond-all-reason/teiserver#1584 ·