tchapgouv / tchap-ios

A Matrix client for iOS
https://apps.apple.com/fr/app/tchap/id1446253779
Apache License 2.0
59 stars 17 forks source link

Study impact of Spaces activation #805

Open NicolasBuquet opened 1 year ago

NicolasBuquet commented 1 year ago

Spaces will be activated on web client. Study possible impact on mobile client. Is it worth activating button "Change space"?

If the account is already using spaces (created via the web client or via an alternative Element mobile client), its spaces count is >= 1, an option to create Spaces is listed in bottom right button " + ":

Simulator Screen Shot - iPhone 14 - 2023-04-19 at 17 03 56

It leads to the following screen:

Simulator Screen Shot - iPhone 14 - 2023-04-19 at 17 04 48

If the account is not already using Space, Spaces are not mentioned:

Simulator Screen Shot - iPhone 14 - 2023-04-19 at 17 07 28

NicolasBuquet commented 1 year ago

Search for comment // Tchap: Disable Spaces in iOS source code to see all disabled functionalities in Tchap linked to Spaces.

In LegacyAppDelegate properties:

In LegacyAppDelegate:application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions:

In LegacyAppDelegate:handleUniversalLink:(NSUserActivity *)userActivity:

-> It should prevent to access a Space via an external universal link.

In LegacyAppDelegate methods:

-> It should prevent to preview or open a Space.

In RecentsViewController:

-> It shuold prevent to list or preview Spaces in RecentsViewController

In RoomViewController:

-> It should prevent to join or open a Space from a link in a room.

In SideMenuCoordinator:

-> It should prevent to create a Space, add a room to a Space, display Space settings or invite someone to a Space.

In SpaceCreationEmailInvitesService:

In SpaceSettingsModalCoordinator:

-> It should prevent to display functionnalities about Spaces. But the SpaceSettings controller should not be called because of previously listed restrictions.

jdauphant commented 1 year ago

@NicolasBuquet on ne veut pas de création d'espace sur iOS pour le moment