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

Undo Reaction #139

Merged
merged 11 commits into from
May 20, 2019
Merged

Undo Reaction #139

merged 11 commits into from
May 20, 2019

Conversation

BillCarsonFr
Copy link
Member

@BillCarsonFr BillCarsonFr commented May 17, 2019

Fixes #117

Undo Reaction (+ Redact Event)

Known limitations:

  • Undo react (or redact) transient states are not managed (beeing deleted but not yet acknowledged by server) -> Next phase
  • Redact only allowed for message sent by me (no powerlevel / moderation)

TODO:

  • Quick Reaction Cclick on agree and disagree was selected -> redact the disagree
  • Locally Hide/Delete reactions on deleted messages

Known Bugs:

  • Fix / When undoing my reaction, the reactji stays selected as if i have done the reaction
  • Bug / When adding a reaction, the tmp local echo force the display of a new 'day separator' at the bottom if there was no new message for this day yet (then disappears just after -flicker-)
  • Bug / Long click not detected on member name textview (should add longclick listener to this view) / Same with avatar/time

unreact

redact

When adding a reaction, the tmp local echo force the display of a new 'day separator' at the bottom if there was no new message for this day yet (then disappears just after -flicker-)
When undoing my reaction, the reactji stays selected as if i have done the reaction
cannot access deleted object from delete
Copy link
Member

@ganfra ganfra left a comment

Choose a reason for hiding this comment

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

LGTM

@BillCarsonFr BillCarsonFr merged commit 2581bf6 into develop May 20, 2019
@bmarty bmarty deleted the feature/undo_reaction branch July 5, 2019 15:32
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.

Reactions: Undo a reaction
2 participants