Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle deleted posts #1020

Merged
merged 6 commits into from
Nov 9, 2017
Merged

Handle deleted posts #1020

merged 6 commits into from
Nov 9, 2017

Conversation

Sekhmet
Copy link
Contributor

@Sekhmet Sekhmet commented Nov 5, 2017

Fixes #906.

Changes:

  • Add isPostDeleted helper that detects if post is deleted (body and title equal to deleted).
  • Hide deleted posts in feed.
  • Display StoryDeleted component instead of content if post has been disabled in single post view.

image

@Sekhmet Sekhmet added the feature label Nov 5, 2017
@Sekhmet Sekhmet self-assigned this Nov 5, 2017
@bonustrack bonustrack temporarily deployed to busy-nd-pr-1020 November 5, 2017 15:40 Inactive
margin: 32px 0;

h3 {
color: #99aab5;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably use constants for this :P

Copy link
Contributor

@jm90m jm90m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, one small comment

@Sekhmet Sekhmet merged commit a648221 into busyorg:new-design Nov 9, 2017
@Sekhmet Sekhmet deleted the deleted-posts branch November 9, 2017 17:59
@bonustrack bonustrack added this to the v2.1 milestone Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants