Repository navigation
v0.4.9: drawing-app exports, an editable PowerPoint appendix, and a board that rests at idle
v0.4.9 covers everything since v0.4.7, including the 0.4.8 hotfix, which was never tagged. The board now exports to the drawing apps teams already use: draw.io, Visio, SVG and Excalidraw files rebuild the current view as grouped, editable shapes, and the PowerPoint deck ends with an editable copy of the board. Until now, changing the diagram outside the browser meant redrawing it from a picture. The 0.4.8 hotfix stops the board repainting every frame when nobody is using it, which had slowed every Chrome window, and loads the boot data in parallel. The AI app accepts image attachments again.
Highlights
- Edit in another app. Four new downloads rebuild the current view as grouped, editable shapes. Every zone, group box and tile is a group you can ungroup, labels are real text, arrows are connectors, product logos are images, and each tile keeps its Databricks link.
- Editable PowerPoint appendix. The deck keeps its pixel-exact board slide and now ends with an Editable Architecture appendix: a break slide, then the same board as grouped native shapes for PowerPoint, Keynote and Google Slides, in all 16 languages.
- One Download menu. The YAML descriptor's Export and Import join the Download menu, so every file in or out of the board lives in one place.
- The board rests at idle. After 60 s without input, or while the tab is hidden, motion pauses. At rest the shared GPU process drops from 68% to 0.2% of a core and memory from 823 MB to 283 MB.
- Faster first board. Boot data loads in parallel, and a returning reader's language is applied before the first build, so the board is built once.
- AI app image attachments work again, including prompts with screenshots.
Changes
Exports (#4)
- Drawing-app downloads (dd301b9, 240b25e, 7c5cdb6, 47817eb).
What: an "Edit in another app" section in the Download menu with draw.io (.drawio), Visio (.vsdx), SVG and Excalidraw files, all written in the browser from one model of the board,collectBoard().
Why: the board could only leave the browser as pictures, decks or the YAML descriptor, so changing the diagram meant redrawing it.
Impact:.drawioopens in draw.io (web, desktop, Confluence, Jira) and imports into Lucidchart;.vsdxopens in Visio and imports into Miro, Lucidchart, draw.io and OmniGraffle;.svgopens in Figma, Illustrator and Inkscape as vector layers and text;.excalidrawopens in Excalidraw. collectBoard()revived and fixed (dd301b9).
What: layout px instead of mixed units,color-mix()colours and alpha, zone outlines drawn from theirbox-shadowrings, right-to-left alignment, connector and ring colours read from CSS. One shared skip list, rounded-path helper, Office package relationship builder, board fit, title strip, section break and script-font table serve every writer.
Why: it had no callers since the deck's board became a raster image, and text came out about 1.3x too big for its boxes.
Impact: the four files and the appendix carry the same shapes, groups and links.- Arabic and East Asian text (d8ceaa1).
What: Unicode directional isolates on Arabic labels in draw.io and Excalidraw, and East Asian and complex-script fonts named per language.
Why: draw.io misplaced single-line Arabic labels undertextDirection=rtl, and Japanese, Chinese and Korean text showed as empty boxes in the Visio file.
Impact: Arabic labels stay in place and CJK text renders in Visio. The ja, ko and he decks now name those fonts too. - YAML descriptor in the Download menu (36230e4).
What: Export and Import move into the Download menu as "Architecture descriptor", the separate toolbar button goes away, and the menu scrolls when it is taller than the window.
Why: files in and out of the board were split across two menus.
Impact: one place for every download and import. - Editable PowerPoint appendix (6b18853).
What: after the closing slide the deck adds a break slide (an APPENDIX tab, Editable Architecture and a subtitle), then the board as grouped native shapes. The PDF is unchanged.
Why: one PowerPoint download instead of two, with the pixel-exact board still where readers expect it.
Impact: the deck has two more slides, and every slide before the appendix is byte-identical to 0.4.8. The title, tab and subtitle are translated in 16 languages, and the break slide mirrors for Arabic and Hebrew. - Export hygiene (dd301b9).
What and why: edit-mode "+" buttons leaked into PNG, GIF and PDF exports. The shared skip list now covers every export.
Performance (#2, released as 0.4.8)
People reported Chrome using a lot of CPU and slowing down other windows while the board was open. The board ran 148 to 170 CSS animations that never stopped, so the page repainted every frame all day. Pausing them alone took idle CPU to zero; JS heap, DOM nodes and listeners stayed flat, so it was not a script leak (ea60976).
- Highlight dots. The pulse animated
box-shadow, which repainted the board under 132 to 154 dots every frame. It is now atransformandopacityring the compositor runs, pulsing 5 times when the dots appear and then holding a static glow. - Rest. After 60 s without pointer, key or wheel input, or while the tab is hidden, all motion pauses. Any input resumes it, and the HTML export strips the rest state.
- Loading bar. It animated
leftforever while invisible, forcing 73 layouts a second. It now usestransformand runs only while a fetch is in flight. - Z ring. Its own compositor layer, so the travelling dash repaints only the ring.
- Reduced motion. The medallion arrows and pocket connectors now stop for readers who ask for reduced motion, in all five shapes.
- Parallel boot. The version check, resource maps, manifest, linked or saved industry and saved language load in parallel instead of up to six requests in a row. The language is applied before the first build, and the loading bar stays on until the last boot fetch lands.
AI app (commits by @ashrafosman)
- Image attach and paste (ef2cdc0, 9fe5b8d).
What: the Content Security Policy'simg-srcallowsblob:inapp/ai/app.pyandapp/main.py.
Why: the attach and paste path decodes images through ablob:URL, so the earlier policy blocked it and attached images were silently dropped.
Impact: attachments and pasted images reach the model again. - Prompts with images (be5fa91).
What: the/generatesize guard counts only text toward its 200k character cap and limits images to 5.
Why: it counted each image's base64 data as text, so a single screenshot returned 413 "Prompt too large".
Impact: prompts with images go through, and the text bound stays.
Repository (#3)
CLAUDE.md(508d84d, 1de1e27): the repo guide for contributors and coding agents, covering the single board file, SCHEMA and BUILD rules, the links and regional-availability policies, the gates, the fork and pull-request workflow and the release process.
Gates
tools/perfgate.js(4dcec16): 27 checks for idle motion, reduced motion and parallel boot. 27/27 on this release, 10/27 on v0.4.7.tools/verify_exports.js: 17 drawing cases (7 boards, all 5 shapes, Arabic, Japanese, dark, platform-only, edit mode) checking shape, group, logo and link parity with the board, plus deck appendix checks.--liveopens the files in draw.io, excalidraw.com and LibreOffice.verify_all_sectionsbuilds the appendix on all 71 boards,verify_deck_i18nchecks the appendix text in 10 languages, andsmoke_offlinebuilds the four files and the Arabic deck from the offline copy.
Known risks and regressions
| Risk | Severity | Mitigation |
|---|---|---|
| Labels can shift slightly in draw.io, Visio, Excalidraw and the editable slide, because each app draws text in its own fonts | Low | Shapes and groups match the board one to one, and the deck's board slide stays a pixel-exact image |
| The PowerPoint deck is about 0.9 MB (24%) larger because of the appendix | Low | The PDF has no appendix |
| First board on a shared link is about 14 ms slower than 0.4.8, from 12 KB more gzipped HTML | Low | Main-thread time is unchanged, and it stays well ahead of v0.4.7 |
| A presenter who does not touch the mouse for 60 s sees the motion stop until the next input | Low | Any pointer, key or wheel input resumes it |
| While in use, the page process uses a little more CPU (27% vs 20%) because it renders 121 fps instead of 40 | Low | About 4 times cheaper per frame |
| Lucidchart, Miro, Visio for the web, Figma, PowerPoint and Keynote have not been opened by hand yet | Medium | draw.io, excalidraw.com, LibreOffice, Chromium and Google Slides are verified |
| linkgate (5 content issues), smoke_share (10) and audit_i18n_runtime (1) fail | Low | Identical before this release and not touched by it |
Validation
Gates ran on the #4 head (6b18853), whose tree is identical to the merge commit (493d6f1). The live site serves that index.html byte for byte.
| Gate | Result |
|---|---|
| verify_exports --live | 7/7 deck cases, 17/17 drawing cases, 4/4 live checks |
| verify_all_sections | 71/71 boards at 10/4/4/4, appendix builds on all |
| verify_deck_i18n | 300/300 |
| verify_i18n_coverage | pass, 0 missing |
| perfgate | 27/27 |
| smoke_offline, smoke_yaml, smoke_split, smoke_i18n | 13/13, 19/19, 14/14, pass |
| live_check (app/main.py) | 10/10 |
| regiongate --live, heightgate | pass |
| AI app under its Content Security Policy | deck downloads with 0 violations |
| Planted defects | a throwing appendix fails 71/71 boards and the offline test, a missing German tab fails verify_deck_i18n, and a deck without the editable slide fails 7/7 deck cases |
| linkgate, smoke_share, audit_i18n_runtime | fail exactly as before this release |
Metrics
Performance, banking board, M3 Pro, real GPU (measured in #2):
| Metric | v0.4.7 | v0.4.8 |
|---|---|---|
| GPU process CPU after 60 s idle | 68% | 0.2% |
| Page process CPU after 60 s idle | 20% | 0% |
| Page + GPU memory after 60 s idle | 823 MB | 283 MB |
| Frames per second while in use | 40 | 121 |
| First board, shared link in German, 150 ms RTT | 1492 ms | 1172 ms |
| First board, plain visit, 150 ms RTT | 1288 ms | 977 ms |
| perfgate | 10/27 | 27/27 |
What 0.4.9 adds on top of 0.4.8 (headless Chromium, 150 ms RTT, median of 9 runs):
| Metric | v0.4.8 | v0.4.9 |
|---|---|---|
| First board, shared link in German | 1185 ms | 1199 ms |
| Boot main-thread time | 273 ms | 273 ms |
index.html gzipped |
269.7 KB | 281.5 KB |
| Download formats | PDF, PowerPoint, PNG, GIF, HTML, YAML | adds draw.io, Visio, SVG, Excalidraw |
| PowerPoint deck, banking board | 27 slides, 3.5 MB | 29 slides, 4.4 MB |
Upgrade notes
- Readers: nothing to do. GitHub Pages serves 0.4.9, and SCHEMA stays 39, so returning browsers keep their saved boards.
- Databricks App deployments: redeploy to pick up the AI-app fixes in
app/ai/app.pyandapp/main.py. - Exported file names follow the existing pattern,
databricks-<industry>-reference-architecture[-platform][_<lang>].<ext>. - Anything that counts deck slides should expect two more at the end.
- No URL, YAML schema or saved-state changes. BUILD 0.4.7 to 0.4.8 (#2) to 0.4.9 (#4).
Commits and pull requests
- #2: stop the board repainting every frame at idle, load boot data in parallel (ea60976, 4dcec16)
- AI-app fixes: ef2cdc0, 9fe5b8d, be5fa91
- #3: repo guide (508d84d, 1de1e27)
- #4: drawing-app exports and the PowerPoint appendix (dd301b9, 240b25e, 7c5cdb6, 47817eb, d8ceaa1, 36230e4, 6b18853)
- Full diff: v0.4.7...v0.4.9
Contributors
- Amr Ali (@amralieg): exports, PowerPoint appendix, performance hotfix, repo guide and gates.
- Ashraf Osman (@ashrafosman): AI-app image attachment and image-prompt fixes, co-authored with Isaac.