Split frontend UI into feature modules

This commit is contained in:
2026-02-07 02:07:29 +01:00
parent b16bf8007f
commit 34d274d244
9 changed files with 1153 additions and 1093 deletions

14
wwwroot/js/ui-runtime.js Normal file
View File

@@ -0,0 +1,14 @@
const runtime = {
refreshPhaseData: async () => {},
loadSuggestData: async () => {},
loadVoteData: async () => {},
handleAuthError: () => false,
};
export function configureUiRuntime(deps) {
Object.assign(runtime, deps ?? {});
}
export function getUiRuntime() {
return runtime;
}