-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Pin messages sent by attendees #42
Comments
/bounty 150 |
💎 $150 bounty created by alxlion
|
Hey @alxlion, I'd love to work on this! I'm wondering if you can provide a bit more details for the bounty before I get going? From what I understand you'd prefer if the admin has the ability to approve/disapprove each of the messages sent in the live feed so they either show up or don't show up? I'll attempt it for now as I look into the codebase, hope nobody minds Options |
@haruncurak Sorry, I forgot the specs. I edited the first message. I hope it's enough for you, do no hesitate if you have questions and if you have some ideas/improvement to the original specs. Thanks 🙏 |
Thank you! I'll get to it this afternoon and keep you posted over the weekend - |
Great 😊 let me know if you are stuck |
💡 @haruncurak submitted a pull request that claims the bounty. You can visit your org dashboard to reward. |
Hey @alxlion, I've finished up with this issue. Let me know if you would like to add more features moving forward! It took a bit of extra elbow grease since the phx-update interacts with the socket append() and update() in strange ways at times. I fixed all of that up, and ensured there were no visual bugs when pinning/unpinning. Sharing a quick video here: https://streamable.com/3eaxmy Thanks! |
Thanks a lot @haruncurak for your submission, nice work! I will test the PR this weekend to validate the bounty after that. |
Merged ! Will be on the next release. |
🎉🎈 @haruncurak has been awarded $150! 🎈🎊 |
Amazing!! Happy to keep contributing - |
Front
Manager
Add a toggle "Show only pinned messages".
Add a "Pin"/"Unpin" action to a message
On the messages box, with all messages, show the pinned messages first.
Presenter
Show only pinned messages in the presenter if toggle "Show only pinned messages" is enabled.
Attendees view
Add a "Pinned" flag to a message when
pinned
= trueUse this icon:
Use an SVG file like the "Host" badge.
Back
When "Show only pinned messages" toggle is changed, change the
show_only_pinned
value of thepresentation_states
table and broadcast the change to all (presenter + manager + attendees).When "Pin"/"Unpin" on Manager is clicked on a message, change the
pinned
value of a message (posts
table)Database
Add a new column
show_only_pinned
(bool) topresentation_states
table.Add a new column
pinned
(bool) toposts
table.The text was updated successfully, but these errors were encountered: