Interfaccia, parte 2: Attività, Impostazioni, collegamento, Importa, doppioni, primo avvio ed errori di configurazione

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
Claude committed 2026-10-13 20:27:34 +00:00
1 parent 0515776b04
commit d614050ee5
90 files changed
+7825 -49

No files matched your search

+9 -1
View File
@@ -1,12 +1,13 @@
// Start of the interface: texts, icons, capabilities of the shell, theme, frame, events, router.
import { api, initCarried, setAccess } from './core/api.js';
import { setCapabilities } from './core/context.js';
import { caps, setCapabilities } from './core/context.js';
import { loadIcons, h, fill } from './core/dom.js';
import { startEvents } from './core/engine.js';
import { buildShell, startRouter } from './core/shell.js';
import { loadTexts, t } from './core/text.js';
import { initTheme } from './core/theme.js';
import { showProblems } from './pages/problems.js';
async function boot() {
initCarried();
@@ -26,6 +27,13 @@ async function boot() {
// the defaults describe a plain browser
}
initTheme();
const problems = caps().problems || [];
if (problems.length) {
// Spec §8.2, §11: with a configuration problem the interface shows only the page that explains it.
showProblems(root, problems);
document.documentElement.removeAttribute('aria-busy');
return;
}
buildShell(root);
startEvents();
startRouter();