-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Badge on the pinned messages header icon #16226
Comments
interested to contribute ! Any specific hint on how to start ? (components, data supporting this feature ?) |
Please join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel. Please also see our Developer's Guide. |
@tclain how's this one going? |
I'd like to pick this up ! |
I've identified 2 events when this state (new pinned post) would be shown or needs updation:
I'm currently trying to implement the event |
I figured what the RHS thing is, the right hand panel that opens up on clicking the "pinned post" button. Please ignore the above question. Any feedback on the direction I'm taking, would be useful though. |
Yep, those both sound correct for when the badge would need to be updated. I'm a bit surprised that action causes a POST_EDITED event since I thought that was only for when the user edits the text of a post or the message attachment on a post, but that shouldn't cause any problems regardless. |
The solution for this: Track unread pinned posts on the serverAdd a property Use these properties on the client to determine if there are unread pinned posts : On first load of the channel on the clientThe The On POST_EDITED event that pins a new post to the channel.
On channel member clicking on the pinned posts button to reveal the pinned posts
|
@hmhealey if you have thoughts on this implementation? ^ |
Yep, we've been chatting 1-on-1 about it as well |
@bitsapien let us know if you'd like to take this for hacktoberfest? :) |
I would like to work on this issue. |
@sk409 how's this ticket going? Can we help at all? |
@esethna |
Summary: Add a badge to the pinned post icon to inform users of new pinned posts they haven't read
Note this is blocked on this PR: mattermost/mattermost-webapp#7030
Proposed Solution
![](Channel Header - Pinned - Badge.png|width=100%)
Figma design file
Figma clickable prototype
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-24067
The text was updated successfully, but these errors were encountered: