Mattermost-server: Private channels should appear in channel link autocomplete

Created on 9 Nov 2020  路  5Comments  路  Source: mattermost/mattermost-server

Environment: Firefox/Mac on community-daily

Repro steps:
1) Create a private channel named privatechannel
2) In the post textbox, type ~priv

Observed: No autocomplete entry appears for ~privatechannel or any other private channel
Expected: An autocomplete entry appears for ~privatechannel. If users viewing the post are a member of the linked channel, then show it as a link, if not it should appear as normal text (as to not give away that the channel exists)

Note we should do a load test on a server with a lot of private channels to check perf degradation on this


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-18496

AreEnd User Feature Medium Help Wanted TecGo

All 5 comments

Hi, I'd like to take this ticket!
:)

@CCCCY096 all yours!

Hello, I'm trying to find the documentation regarding the SQL schema "Channels" and "ChannelMembers" in function channel_store.go/AutocompleteInTeamForSearch. Could you provide more documentation on how these two SQL tables are structured and how to query private channels?
Also, is it possible to join the developer community? It seems like the invitation link provided is not valid: https://community.mattermost.com/signup_user_complete/?id=f1924a8db44ff3bb41c96424cdc20676

Thanks a lot!

@agnivade may be able to help ^

Was this page helpful?
0 / 5 - 0 ratings