feat: consolidate shared UI and harden browser authority for release

This commit is contained in:
2026-09-08 01:35:05 +02:00
parent ac40774785
commit b75ca34295
143 changed files with 8664 additions and 752 deletions
@@ -0,0 +1,19 @@
import MailboxPage from "../../../govoplan-mail/webui/src/features/mail/MailboxPage";
import { generatedTranslations } from "../../../govoplan-mail/webui/src/i18n/generatedTranslations";
import { PlatformLanguageProvider } from "../src/i18n/LanguageContext";
import type { AuthInfo } from "../src/types";
import "../../../govoplan-mail/webui/src/styles/mail-profiles.css";
const settings = { apiBaseUrl: "", apiKey: "", accessToken: "" };
const auth: AuthInfo = {
user: { id: "mail-tree-user", account_id: "mail-tree-account", email: "mail-tree@example.test" },
tenant: { id: "mail-tree-tenant", name: "Mail tree fixture", slug: "mail-tree" },
scopes: ["mail:mailbox:read", "mail:profile:read", "mail:profile:use"],
roles: [], groups: [], profile_loaded: true, roles_loaded: true, groups_loaded: true
};
export default function MailFolderExplorerScenario() {
return <PlatformLanguageProvider preferredLanguageCode="en" moduleTranslations={[generatedTranslations]}>
<MailboxPage settings={settings} auth={auth} />
</PlatformLanguageProvider>;
}