Wire office islands via dedicated crate instead of inline iframes #89

Closed
opened 2026-04-23 12:53:58 +00:00 by zaelgohary · 0 comments
Member

crates/hero_os_app/src/island_content.rs and registry.rs hand-roll iframe bodies and metadata entries for each office doc type (docs / sheets / presentations / pdf / diagrams). Adding a new type means touching five match arms and a matching metadata import.

Scope

  • Replace the inline iframes + per-doc-type metadata imports with a single crate dependency that exposes DocType::from_island_id + OfficeApp.
  • Collapse the five match arms in island_content.rs into one pair (DocType-driven).
  • Gate under an island-office feature.

Acceptance

  • Every office doc type opens through the same code path.
  • No iframe markup or document-key logic remains in hero_os_app.
`crates/hero_os_app/src/island_content.rs` and `registry.rs` hand-roll iframe bodies and metadata entries for each office doc type (docs / sheets / presentations / pdf / diagrams). Adding a new type means touching five match arms and a matching metadata import. ## Scope - Replace the inline iframes + per-doc-type metadata imports with a single crate dependency that exposes `DocType::from_island_id` + `OfficeApp`. - Collapse the five match arms in `island_content.rs` into one pair (`DocType`-driven). - Gate under an `island-office` feature. ## Acceptance - Every office doc type opens through the same code path. - No iframe markup or document-key logic remains in `hero_os_app`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_os#89
No description provided.