UI: Calendar island fails to open — shows Projects popup overlay instead #51
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_os#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
When clicking Projects > Calendar from the dock popup, the Calendar window does not open properly. Instead, the Contexts window (background) remains visible and the Projects popup re-appears on top, obscuring any Calendar content.
The test found no month name, no day-of-week headers (Sun-Sat), and no calendar grid — confirming the Calendar view never rendered.
Steps to Reproduce
Expected
A Calendar view with month grid, day headers, navigation arrows, and "+ New Event" button.
Severity
High — Calendar island is completely inaccessible
Screenshots
deep_cal_01_initial.png
Adding a current-build repro that suggests this has regressed further — the whole shell now disappears when the Calendar route is hit, not just the Calendar window.
Build:
make installdevon hero_os / hero_osis / hero_router / hero_proc, started viamake run. Accessed through hero_router athttp://127.0.0.1:9988/hero_os/ui/.Observed symptom matrix (today, dev):
/space/geomind/calendar(direct deep-link)document.body.innerText.length === 0, no.dock-btn, no.window-header. URL rewrites to/hero_os/ui/. Dark empty page./space/geomind/archipelagos+calendar(equivalent of clicking Calendar "Open" from the Store)/space/geomind/nonexistentXYZ/space/geomind/archipelagos+nonexistentXYZThe fallback handling for unknown islands is fine — the crash is specifically triggered by the
calendarisland module during Dioxus mount. Hitting any other island first then trying to open Calendar from the dock will probably reproduce the original "popup overlay" symptom this issue describes; the direct-deep-link path just exposes it louder (whole shell gone).Severity: this probably belongs at Blocker/Critical now — a bookmarkable URL that bricks the whole app on open is a much worse failure mode than "Calendar doesn't render".
Root cause traced — two independent bugs, both now have PRs:
Dioxus signal scope violation (hero_archipelagos #81 → PR #83)
WindowRouteContext::new()created signals in each Window's scope, but root-level effects read them from root. Dioxus logs "used in non-descendant scope" warnings every render — with multiple islands restored from URL, the storm pegs the main thread and freezes the UI before Calendar can even try to render.chrono missing
wasmbindfeature (hero_archipelagos #82 → PR #84)Without
wasmbind,chrono::Local::now()falls back tostd::time::SystemTime::now()on wasm32 — which panics withtime not implemented on this platformthe moment Calendar's view reads the current date.Both fixes are needed to make Calendar open. Will auto-close on #84 merge via its
Closesline.References: