Open juliushaertl opened 3 months ago
So on the backend side we have things in place, but disabled. To turn it on, we simply need:
On the frontend side we need
For the record, we have three modes. The constants are define in Application
:
public const NAV_ENTRY_MODE_HIDDEN = 0;
public const NAV_ENTRY_MODE_RECIPIENTS = 1;
public const NAV_ENTRY_MODE_ALL = 2;
Setting the Nav bar entry is possible via following routes:
api1#updateShareDisplayMode
share#updateDisplayMode
as well as when creating a share, via optional displayMode
mode parameter. Default is hidden!
UPDATE 2024-07-26
For we have started to show applications by default, while the nominal default would be to hide them, we also shall change the default to show all and have a repair step to update the existing applications. So, users will not be confused while their applications are not there anymore, also it may be a better, more discoverable setting.
@enjeck As disscussed last week, something to look into after the user/group picker is ready :)
Added two tasks to https://github.com/nextcloud/tables/issues/1177#issuecomment-2225363092
Setting the Nav bar entry is possible via following routes:
api1#updateShareDisplayMode
share#updateDisplayMode
So does this mean the owner of the Application can't hide/unhide for themselves? Since it's not a share? @blizzz
Setting the Nav bar entry is possible via following routes:
api1#updateShareDisplayMode
share#updateDisplayMode
So does this mean the owner of the Application can't hide/unhide for themselves? Since it's not a share? @blizzz
Oh, I see that's what NAV_ENTRY_MODE_RECIPIENTS
is for.
Leftover from contexts work.
@blizzz Could you document the current logic on what is possible for hiding the applications from the backend side in here so we can have a clear description on what we need to do on the frontend?