Add UI for share by token

This commit is contained in:
Max Berger
2026-02-22 22:52:28 +01:00
parent f5e42cdeff
commit b7bc0538d2
17 changed files with 574 additions and 93 deletions

View File

@@ -20,8 +20,9 @@
import { Scene, push_scene, pop_scene, scene_stack } from "./scene_manager.js";
import { LoadingScene } from "./LoadingScene.js";
import { get_principal } from "./api.js";
import { get_principal, discover_server_features } from "./api.js";
import { CollectionsScene } from "./CollectionsScene.js";
import { maybe_enable_sharing_options } from "./ShareCollectionScene.js";
/**
* @constructor
@@ -89,6 +90,7 @@ export function LoginScene() {
error = error1;
user = saved_user;
});
discover_server_features(saved_user, password, maybe_enable_sharing_options);
push_scene(collections_scene, true);
}
});