dwyl / dwyl/github-backup

Indicate when a comment has been deleted

Offen
#58 9 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @nelsonic Auf GitHub ansehen
please-test priority-2
Vorherrschende Sprache
Elixir
Sterne
33
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

As a gh-backup user,
I want to know when a comment has been deleted
So that I can see all the activity happening on github reflected on the backup app.

- [x] Catch webhook from Github for a deleted comment
- [x] Update the comment table with a new column to indicate if a comment is deleted (`deleted: true` or `false`). Default of `false`.
- [x] Add a `deleted_by` column to the comments table
- [x] Update the `deleted` column when a comment is deleted to `true`
- [x] Add the name of the user who deletes the comment into the `deleted_by` column
- [x] Update the UI when a comment is deleted to reflect the gh UI:
![image](https://user-images.githubusercontent.com/16775804/37088515-8aa0405c-21f5-11e8-9762-939cac1c0475.png)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.