-
Notifications
You must be signed in to change notification settings - Fork 829
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
Direct messages cause notification icons to appear on each team, which don't clear until clicked on each team #160
Comments
Sure, currently the client parses html (btw, the part you linked is for 'unread channels'. The mention count is gotten from sidebar and mention-highlight). |
Thanks @leipert for the feedback. Very much appreciated, We have a related issue that was recently opened in the /platform repo: mattermost/mattermost#3529. The team is open for suggestions on the expected behaviour when handling direct message lists across multiple teams. Feel free to add your thoughts by participating in the discussion. |
Adding repro steps from @jfpreusse-bhvr: SummaryWhen receiving a direct message, a red notification icon is added to all tabs and can only be cleared by opening the message on each team. Steps to reproduceThis is for the Windows Desktop Application version 1.3.0.
Expected behaviorThe direct message notification icon should be displayed on one team only (e.g. the main team on the server, or make this a user preference), or at least be cleared for all tabs when read on one of the teams. Observed behaviorThe direct message notification icon is displayed on all the teams. The user must open the message in each team for all notification icons to be cleared. |
So, in taking a cursory look at this, is there a reason to map the notifications to all teams rather than just the first team? i.e. src/browser/index.jsx:
|
For earlier mattermost servers, it was necessary because users were separately managed by each team even if they exist in the same server. Then, the code you pointed is the wrong part. |
Mattermost has a feature in review where teams belonging to the same server would appear on the sidebar, left of the channels. I think once the sidebar for teams gets implemented, we can much more easily streamline how notifications across teams work. Hence, adding a |
Adding |
Adding my suggestion from the closed issue 3529. Here's how I think this should work. This is one of the most annoying issue for us since we're all part of multiple teams. Suppose that:
What should happen:
To me this makes a lot of sense since I generally talk to another user from the team which makes the most sense for the topic I want to discuss. |
@leipert @drmikecrowe @jfperusse-bhvr This issue should be resolved in Mattermost 3.6 with the new multi-deployment support through team sidebar. The release will be on January 16th. With the new release, all of your teams will be visible on the left-hand sidebar as an additional team, and therefore you no longer need a separate tab for each team. To update your team management tabs, simply go to File > Settings or click Ctrl+Comma on your keyboard to visit the App Settings page. |
CONTRIBUTING.md
?Hey @yuya-oc, we currently have the problem, that we have two teams with the same users.
So basically the unread count is increased in both teams, for every direct message.
Now that I found out, that you are getting the unread count by parsing html, would you be open to a PR with more direct approach and retrieving the unread count directly with the API?
Anyway, thank you for your work on the client. I would look forward to a possible collaboration.
/cc @crspeller @it33
The text was updated successfully, but these errors were encountered: