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

Remove posts after response #7385

Closed

Conversation

svbergerem
Copy link
Member

With this PR the opacity of posts is decreased after clicking the delete button. If the server response shows a successful removal the post is removed from the stream. Otherwise it goes back to the initial state.

post_remove_before

post_remove_after

Fixes #5445.

Pass destroyModel from post control view to post view
and don't listen to the remove event in the post view
anymore. The `remove` function will be called from the
base view.

Fixes diaspora#5445
@SuperTux88 SuperTux88 added this to the 0.6.5.0 milestone Mar 26, 2017
@SuperTux88
Copy link
Member

Merged as 8a98cd4 and 3ce4bba

Thank you 👍

@svbergerem svbergerem deleted the remove-posts-after-response branch March 26, 2017 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants