mattermost/mattermost

Badge on the pinned messages header icon

Open

#16,226 创建于 2020年11月7日

在 GitHub 查看
 (14 评论) (0 反应) (1 负责人)TypeScript (32,880 star) (7,823 fork)batch import
Area/End User FeatureDifficulty/3:HardHacktoberfestHelp WantedTech/GoTech/ReactJS

描述

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: https://github.com/mattermost/mattermost-webapp/pull/7030

Proposed Solution

  • Depends on https://mattermost.atlassian.net/browse/MM-28017
  • Adds a dot badge next to the pinned icon
  • Uses the ‘Active’ theme color for the badge
  • If there's new pinned posts in the channel since the last time you opened the pinned post view (RHS), show the dot. Note that when a server upgrades to the version with this change, only show the dot for new pinned posts after the upgrade (not existing pinned posts before the server upgrade). This is to avoid the dot appearing in every channel once a server is upgraded.

![](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

贡献者指南

Badge on the pinned messages header icon · mattermost/mattermost#16226 | Good First Issue