Skip to main content

Office

Research, not an audit
These pages are research and development and may not match the live app. Do not treat this as an audit. Shared for testing and demo only. Please use responsibly.

Office is the product tab that launches document editors, native Calendar / Tasks, and creative Puter embeds. Document editors open and save Drive bytes in-process. Calendar and tasks persist as sealed messaging collections (schema v13), not as Drive files. Office is not part of the recipient crypto cascade or the live WebRTC path. Sending a file or calendar invite to a peer still goes through the normal chat or live attachment flow.

This page is the office / office-ui sibling libraries and how whatsup hosts the Office tab. The mailbox vault is on Drive. Record shapes stay on Data structures. How the shell sits on the rest of the stack is the Architecture product map.

The product path is closed-source. The office gallery is the public surface you can press: positive-intentions.github.io/office.

Product wiring​

whatsup links Office on the GUI feature and hosts Office routes (Drive volume wiring is summarized on Drive):

PieceRole
officePlatform-free engines: word, spreadsheet, slides, notes, calendar, tasks, blank templates, DOCX / XLSX / PPTX / .note / ICS I/O
office-uiDioxus hosts (MountPreparedApp, CalendarAppHost, TasksAppHost, PuterAppHost), Monaco for text/markdown, ribbon chrome, office_new_file_kinds()
glitr-client calendar / tasksList / upsert / delete over sealed calendar and task collections
glitr-client driveOpen/save document bytes via Drive ops
whatsup office/Office launcher + app pages at /office and /office/:app
whatsup-uiOffice chrome (NavTarget::Office / OfficeApp) — no link to office engines

Cargo: the gui feature enables optional office and office-ui. Desktop and browser GUI builds get Office. TUI and stub platforms do not mount the office hosts.

Host moduleRole
office/page.rsLauncher grid and per-app mounts (docs, calendar, tasks, Puter)
office/store.rsMailbox-backed calendar/tasks stores
office/reminders.rsIn-session reminder notifications (while whatsup is open)
office/share.rsShare event as ICS chat attachment
gui.rsRoutes /office, /office/:app; NavTarget::Office / OfficeApp

whatsup-ui owns navigation and the launcher UI. whatsup opens files through office-ui and writes calendar/task rows through glitr-client. UI details: UI/UX. User how-to: Office.

Open prepares bytes (or a blank seed), mounts a host, and on save upserts a DriveEntry (and blob or CAS file) for documents. Calendar/tasks hosts upsert sealed CalendarDef / CalendarEvent / TaskList / TaskItem rows instead.

office​

office is the shared Rust core. No Dioxus or DOM dependencies. Consumers drive an editor model and paint results.

ConcernBehavior
WordEditor + DOCX import/export (best-effort OOXML)
SpreadsheetSpreadsheetWorkbook + Formualizer formulas; CSV / JSON / XLSX
SlidesSlideEditor / Deck + PPTX import/export
NotesNotesEditor / .note ZIP; Markdown / HTML / plain exports
CalendarCalendarEditor — events, RRULE expansion, reminders, ICS import/export
TasksTasksEditor — lists, priorities, due dates, subtasks
Blankblank_file_bytes seeds for new-file cards (.txt, .md, .docx, .xlsx, .pptx, .note)
ArchiveZIP helpers for demos and encrypted sample packs
ToolsOfficeSession / tool registry including calendar and tasks tools for gallery Dan-EL assistants

Document formats are file payloads inside Drive. Calendar and tasks are GraphQL collections (messaging v13), not Drive files.

office-ui​

office-ui is the shared GUI host layer for Drive, Office, and the office gallery.

SurfaceRole
MountPreparedApp / PreparedOpenOpen a path + bytes into Word, Sheet, Slides, Notes, or text/markdown
Document hostsWordAppHost, SpreadsheetAppHost, SlideDeckAppHost, NotePadAppHost, TextMarkdownAppHost
Calendar / TasksCalendarAppHost, TasksAppHost over pluggable stores
Puter embedsPuterAppHost with PuterAppId::PhotoStudio / VectorStudio only
MonacoPlain text and Markdown editing in the browser/webview
New fileoffice_new_file_kinds() cards used by Drive and the Files story

The gallery (office-gallery) uses the same hosts with story seeds. The product host wires a real mailbox volume / calendar-tasks store instead of mock storage.

Calendar and tasks (v13)​

CollectionDirRole
CalendarDefcalendars/Named calendar (color, visibility)
CalendarEventcalendar-events/Event row (startMs / endMs, RRULE, notes, reminder payload)
TaskListtask-lists/Named list
TaskItemtask-items/Task row (due, priority, done, ordered payload / subtasks)

glitr-client exposes calendar.rs and tasks.rs. Reminders fire only while whatsup is open (office/reminders.rs). Chat Add to calendar on .ics / text/calendar navigates to NavTarget::OfficeApp("calendar") and imports ICS.

PieceRole
officeEngine tests and blank/I/O helpers (including calendar ICS / RRULE and tasks)
office-uiHosts reused by product Drive / Office and gallery stories
office-galleryDioxus stories: Word, Spreadsheet, Slide deck, Note Pad, Calendar, Tasks, Photo/Vector Studio

Open the Office gallery

Gallery stories can dock a Dan-EL assistant (skills + MCP-shaped office::tools). The office crate stays tool-only; the gallery host wires ai-web / ai-core. Product Dan-EL chat is a separate route — see Dan-EL.

Privacy and network​

ClaimMeaning
Sealed at restCalendar/tasks rows use the connect-password envelope (Argon2id then AES-GCM), same as other sealed mailbox types; document bytes use the Drive vault
Not recipient cryptoOpening a spreadsheet or calendar does not cascade to a peer; send / share invite is an explicit chat action
Git host seesUUID filenames and sizes for synced rows; event titles stay inside sealed JSON
ResidualA clone of your repo without the password sees envelopes; with the password, calendar/tasks contents are readable like other sealed docs

Runtime and limits​

  • Browser and desktop GUI: Office hosts on the gui feature.
  • TUI / stub: no office mount; Office is a graphical path.
  • I/O: OOXML import/export is best-effort, not a fidelity claim against Microsoft Office.
  • Reminders: in-session only while whatsup is open.
  • License: office code is AGPL-3.0-only; third-party crates keep their own licenses.

Next: Drive for the vault. Data structures for DriveEntry / DriveBlob and calendar/tasks fields. How the shell mounts Office chrome is on UI/UX. User guide: Office.