diff --git a/docs/agents/task-logs/daily/2026-02-22_scheduler-update-agent_completed.md b/docs/agents/task-logs/daily/2026-02-22_scheduler-update-agent_completed.md new file mode 100644 index 00000000..6924a537 --- /dev/null +++ b/docs/agents/task-logs/daily/2026-02-22_scheduler-update-agent_completed.md @@ -0,0 +1,4 @@ +# Scheduler Update Agent - Completed + +**Date:** 2026-02-22 +**Result:** Rosters verified and in sync. Fix applied to UploadModal race condition which was failing CI. diff --git a/js/ui/applicationBootstrap.js b/js/ui/applicationBootstrap.js index aa2f28bc..65605954 100644 --- a/js/ui/applicationBootstrap.js +++ b/js/ui/applicationBootstrap.js @@ -1124,6 +1124,7 @@ export default class ApplicationBootstrap { }, logger: devLogger, }); + app.appChromeController.initialize(); app.blacklistedEventIds = new Set(); if (this.window?.NostrTools?.nip19?.decode) { diff --git a/js/ui/components/UploadModal.js b/js/ui/components/UploadModal.js index b600193b..3cd72700 100644 --- a/js/ui/components/UploadModal.js +++ b/js/ui/components/UploadModal.js @@ -1263,8 +1263,14 @@ export class UploadModal { // --- Modal Control --- async open({ triggerElement } = {}) { - await this.load(); + try { + await this.load(); + } catch (error) { + devLogger.error("[UploadModal] Failed to load modal template:", error); + } + if (!this.root) return; + this.root.classList.remove("hidden"); this.setGlobalModalState("upload", true); this.isVisible = true;