feat: inline PDF preview in filesystem island #19

Open
opened 2026-02-19 13:24:56 +00:00 by mik-tf · 0 comments
Owner

When opening a PDF file in the filesystem island, show an inline preview using an embedded viewer instead of opening in a new browser tab.

This provides a better user experience for the demo by keeping users within the HeroOS interface.

Scope:

  • Detect .pdf files in the file open handler
  • Show an inline preview panel with the PDF rendered via iframe/embed
  • Add a close button to return to file browsing
  • Non-PDF files continue opening in new tabs as before
When opening a PDF file in the filesystem island, show an inline preview using an embedded viewer instead of opening in a new browser tab. This provides a better user experience for the demo by keeping users within the HeroOS interface. **Scope:** - Detect `.pdf` files in the file open handler - Show an inline preview panel with the PDF rendered via iframe/embed - Add a close button to return to file browsing - Non-PDF files continue opening in new tabs as before
Sign in to join this conversation.
No labels
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_archipelagos#19
No description provided.