Add RHS informations card to show users votes#431
Conversation
Codecov Report
@@ Coverage Diff @@
## master #431 +/- ##
==========================================
+ Coverage 93.63% 93.78% +0.14%
==========================================
Files 14 14
Lines 1289 1320 +31
==========================================
+ Hits 1207 1238 +31
Misses 55 55
Partials 27 27
Continue to review full report at Codecov.
|
kaakaa
left a comment
There was a problem hiding this comment.
Great 👍 This feature works fine for me, and your changes almost looks great! I left a few review comments and would appreciate your response.
And Let me make one suggestion. How about including the functionality of --show-voters in the existing --progress setting? Separating those two poll settings would make --progress just display the number of votes on buttons, which does not seem useful. And I don't want to increase the number of poll setting as much as possible. How does this sounds for your use case?
kaakaa
left a comment
There was a problem hiding this comment.
I forgot to send comments.
|
About including the functionality of --show-voters in the existing --progress setting, i thought the same thing as you at first and i did the code that way, but i wasn't sure if people using --progress would want to have the extra information sidebar. |
|
Thanks for sharing your thought, and I understand it. But I still be inclined to include this functionality in
If I seem to have missed something, let me know it. |
|
Great. I'll completely agree with you and i will move show-voters with progress. |
This converter add more informative on mouse over a name
Use bundle.LocalizeWithConfig instead of MustLocalize, because MustLocalize causes panic if translation is missing.
|
I made the change to include the functionality of |
kaakaa
left a comment
There was a problem hiding this comment.
Thanks 👍 There are 2 additional points that I would like to fix, so please approve them if they looks good.
|
Since Matterpoll is on a way to release v1.5.0, I'd like to wait to merge this PR until the release process moves forward. If the release process seems to take a long time, I'll cut a new branch for |
|
Since there is no activity for a month in mattermost/mattermost-marketplace#298, move forward this PR. Thanks again for your contribution @jbattistispiria! |
|
@jbattistispiria This is great, thanks for the contribution. 🎉 Quick q: Does this feature work on mobile? |
|
No. AFAIK, |
* docs: update how to install goi18n * Update readme for #431 * bump up version * clean up readme
|
Hi all! Although a bit outdated... I'd like to know how I get to see this card that shows me the users participating in an open poll? I started a poll using the option |
|
@physiker05 I'm sorry that I didn't catch your comment. |
|
@kaakaa Thanks for getting back to me! Well, you probably identified the main issue... I'm running on v1.4.0 😁. |

Add a new option when creating a poll «Show Voters».Add error when anonymous option is use with show voters option.Change made after comments:
--progresssettingShow extra information on who voted for what during poll in the RHS feed.
The extra information is send in markdown by using a "card" props from the Mattermost API.
Mattermost post add the info icon to the post and create the RHS.
Fix #96