...
The user can decide to remove them, or add new channels.
This would use a pretty similar UI as the channels listing page in the system console.
We will not have the filters here that exist in that channels listing page.
A server cannot reshare a channel that's shared with them (so this would only show channels belonging to your server)
However, a channel originating on your server can be shared to multiple secure connections
...
The user can click on Reject to reject the channel invite, or accept Accept to get this modal to choose a destination team:
...
After which, the team would show up like this.
...
If the user adds a channel by staying on the external channels tab, once he has selected the channels, we will take him to his own channels tab automatically and show the added channel there.
...
Changing the destination team
The user can change the destination team to decide where the channels land.
Unless the destination team is overridden at a per channel level, the default team would also change for the channel.
The user can decide to change the destination team of a channel before he accepts the connection by pressing the edit button.
If they press the edit button, a modal like this appears. allowing them to change the team (only for that channel).
Once a channel is accepted and added to a destination team, we do not allow users to move the destination team.
They can still move it through MM Kettle, or how they normally move any channel across teams.
New channel requests
If a channel request is send and the automatically accept channel invites option is turned off. We will send a bot message to all admins as well. They can then accept or reject the channel and choose a destination team.
...
Removing an accepted channel
Once a channel is accepted, each server has the option to unsync the channel from the other remote.
They can do that by clicking the remove button on the channel.
...
Connection list page
Here we display the connections that the user has created/accepted.
Status of the connection.
Channels shared
Options to See the invitation code, edit, and delete the connection.
The option to see the invitation code will only be there if the connection is pending.
Once the connection is made, the share code option will disappear, as we only allow users to share the code 1 to 1.
...
DMs with External Connection
...