Skip to content

Show and hide comment threads#5655

Merged
tramuntanal merged 9 commits intomasterfrom
comments/show-hide-threads
Feb 10, 2020
Merged

Show and hide comment threads#5655
tramuntanal merged 9 commits intomasterfrom
comments/show-hide-threads

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

🎩 What? Why?

This PR lets users show and hide comment threads to improve reading.

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG entry

📷 Screenshots (optional)

Showing the thread (notice how there are 3 replies):
image

Hiding the thread (notice how it correctly counts replies):
image

@mrcasals mrcasals marked this pull request as ready for review January 24, 2020 10:30
@mrcasals
Copy link
Copy Markdown
Contributor Author

@decidim/core this has been approved by @decidim/product, can you review it please?

@mrcasals mrcasals self-assigned this Jan 27, 2020
@mrcasals mrcasals force-pushed the comments/show-hide-threads branch from 5119eee to e547d20 Compare February 3, 2020 08:23
@mrcasals mrcasals requested review from agustibr and leio10 February 4, 2020 14:48
leio10
leio10 previously approved these changes Feb 6, 2020
Copy link
Copy Markdown
Contributor

@leio10 leio10 left a comment

Choose a reason for hiding this comment

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

Very nice use of the local storage 👍

Copy link
Copy Markdown
Contributor

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

Amazing job @mrcasals!
Just one usability detail and we're done :D

Also a merge from master is required 😄

@tramuntanal tramuntanal added project: PAM2020 Barcelona City Council contract in-review labels Feb 9, 2020
@mrcasals
Copy link
Copy Markdown
Contributor Author

@tramuntanal I've rebased from master and added the cursor: pointer style (see last commit), can you re-review please? 😄

@tramuntanal tramuntanal merged commit 4c9d9a9 into master Feb 10, 2020
@tramuntanal tramuntanal deleted the comments/show-hide-threads branch February 10, 2020 14:14
microstudi pushed a commit to Platoniq/decidim that referenced this pull request Feb 21, 2020
* Add icon to comment reply buttons

* Hide and show comment threads

* Add changelog

* Lint code

* Save thread state in localStorage

* Lint code

* Update bundle

* Mock localStorage on tests

* Add pointer cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-review project: PAM2020 Barcelona City Council contract

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide (and show) comments by threads

3 participants