Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Figma zFigma link: https://www.figma.com/design/C5KmGaL6A0teemBsLc3IVy/Shared-Teams-across-Server?node-id=1971-43986&t=YVuhbFCjnSHwpuJI-11

...

We can create and accept a connection from the Connected OrganisationsOrganizations page under the environment section.

...

  • 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

...

This code will only be shared once, and the user has to copy both of these and send them to the other org inorder in order for a connection to be established.

...

This inner page is similar to the one above. Except, it has two tabs which shows channels shared by the external org, and the then your own channels shared.

...

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.

...

...

Info

The

...

save and cancel buttons only are for the top section, not for the Shared channels section where the user is sharing, accepting or removing channels.

Once accepted, the user can also change the destination team of a channel.

...

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).

    image-20240112-122304.pngImage Removed

    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 sent 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.

...

If a channel has been removed previously in a shared connection, then any party that tries to share that channel will get an error like this when sharing that channel.

...

This only exists per connection. The admins can still share this channel with another remote (if it hasn’t been removed from there either).

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

...