dwyl / dwyl/github-backup

Indicate when a comment has been deleted

Open
#58 9 comments 0 reactions 1 assignee Claimed by @nelsonic View on GitHub
please-test priority-2
Dominant language
Elixir
Stars
33
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.