Deleting posts #7
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: blisstown/campfire#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
users should be able to delete their own posts.
the ability to delete a post should be determined by comparing the post author's user ID with that of the client user. the option to delete a post could be provided through a dedicated button in the action bar, or a drop-down "more" option. this resembles the flow of #6, and could be listed alongside the option to edit a post.
deleting a post should first prompt the user to confirm their decision to delete their post, and if confirmed, send the request to the mastodon API (
DELETE /api/v1/statuses/:id
).ideally this will be tucked into the "more" button later, but the functionality now exists 👍