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

Cannot cancel an up/a down vote on a comment #5033

Closed
carolromero opened this issue Apr 1, 2019 · 0 comments
Closed

Cannot cancel an up/a down vote on a comment #5033

carolromero opened this issue Apr 1, 2019 · 0 comments
Labels
type: bug Issues that describe a bug

Comments

@carolromero
Copy link
Member

Describe the bug
Currently after the user has up or down voted a comment, that cannot be cancelled.

It should be possible for the users to cancel their actions due to misclicks. The current functionality can lead to unintended visibility for a comment that may not deserve it (or the other way around).

Extra data (please complete the following information):

  • Decidim Version: 0.16
  • Decidim installation: Metadecidim

Additional context
https://meta.decidim.org/processes/bug-report/f/210/proposals/14310

@carolromero carolromero added type: bug Issues that describe a bug lot: core labels Apr 1, 2019
mrcasals pushed a commit that referenced this issue Apr 3, 2019
#### 🎩 What? Why?
Allows cancelling a comment vote (up or down) in case the user has already voted the comment. This is important regarding the UX to prevent users from locking down their opinion due to misclicks and producing unnecessary visibility (positive or negative) for the comment.

This is done by allowing the user to to re-click the voting button after the voting. Clicking it for a second time cancels the vote.

#### 📌 Related Issues
- Fixes #5033

#### 📋 Subtasks
- [x] Add `CHANGELOG` entry
- [X] Add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issues that describe a bug
Projects
None yet
Development

No branches or pull requests

2 participants