feat(ui): add share modal and users

- fix(external users): fix app starting for external users
This commit is contained in:
Edouard Vanbelle
2026-06-02 12:25:44 +02:00
parent ec72374651
commit 9fac34f91e
15 changed files with 468 additions and 54 deletions
+4 -1
View File
@@ -407,8 +407,11 @@ function setupActionsBarDelegation() {
function deserializeHash() {
const hashContext = /** type {OxiContext} */ {};
// External users have no home folder; default them to /#/sharedwithme
// (their actual landing) so the URL bar reflects what they'll see.
// Internal users default to the Files section.
// FIXME rename files into drive ?
hashContext.section = 'files';
hashContext.section = app.isExternalUser ? 'sharedwithme' : 'files';
const hash_elements = window.location.hash.split('/');