Skip to content

v1 bridge: keep working after the new OpenFlowKit, export all diagrams - #84

Merged
Vrun-design merged 3 commits into
mainfrom
v1-bridge
Oct 3, 2026
Merged

Vrun-design merged 3 commits into
mainfrom
v1-bridge

Conversation

@Vrun-design

Copy link
Copy Markdown
Owner

Last v1 release before the new OpenFlowKit (v2) replaces it on app.openflowkit.com. v2 itself is NOT part of this — it stays on its own branch until launch.

What users get

  • A notice card: "A new OpenFlowKit is on the way — your diagrams will move over automatically", with Download a backup and Got it (dismissal remembered).
  • Export all my diagrams on Home: one openflowkit-v1-backup JSON file, every page of every diagram, images inline, undo history left out.

Why it must ship before v2
v1 and v2 share one IndexedDB database; v2 upgrades it from version 3 to 4 (keeping every v1 store). Today's v1 then fails to open it and shows an empty dashboard. With this release:

  • v1 opens the database at whatever version is there, so a rollback or a stale tab still lists every diagram.
  • Every connection closes on versionchange, so an open v1 tab never blocks v2's upgrade.
  • A tab whose database moves on mid-session shows "OpenFlowKit has been updated — Reload" (edits there would not reach v2). A fresh load on the newer database stays silent.

Checks

  • npm run lint && npm run test:ci: 1473 tests, build and bundle budgets pass.
  • Headless Chromium on real IndexedDB: dismiss persists → upgrade to v4 from another tab → stale tab warns on its next save → reload lists the diagram with no warning → backup downloads with the new shape, no page errors.
  • New dev dependency fake-indexeddb: the version tests need real IndexedDB semantics.

🤖 Generated with Claude Code

Vrun-design and others added 2 commits October 3, 2026 13:05
… all diagrams

Last v1 release before v2 takes over app.openflowkit.com (phase 12.1).

- IndexedDB: open at v3; on VersionError (v2 already moved the shared
  database to v4, keeping every v1 store) reopen at whatever version is
  there, so a rollback or an open tab still lists every diagram. Every
  connection closes on versionchange, so v1 never blocks v2's upgrade.
- A tab whose database moves on mid-session shows "OpenFlowKit was updated
  in another tab. Reload" — edits there would not reach v2. A fresh load on
  the newer database (rollback) stays silent.
- "Export all my diagrams" (banner + Home): one openflowkit-v1-backup file,
  every page of every diagram, images inline, undo history left out.
- Dismissible banner: "A new OpenFlowKit is coming. Your diagrams move over
  automatically." Strings in all seven locales.
- fake-indexeddb (dev): the version tests need real IndexedDB semantics.

Checked: lint, 1473 unit tests, build; headless Chromium on real IndexedDB:
upgrade to v4 from another tab → stale tab warns on its next save → reload
lists the diagram with no warning → backup downloads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nels

Icon, title, one line of copy, real buttons (Download a backup / Got it);
centred above the editor toolbar so it never covers the zoom controls or the
properties panel. The stale-tab warning uses the same card with a Reload button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Deploying openflowkit-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5846e79
Status: ✅  Deploy successful!
Preview URL: https://94087b73.openflowkit-docs.pages.dev
Branch Preview URL: https://v1-bridge.openflowkit-docs.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Deploying openflowkit-app with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5846e79
Status: ✅  Deploy successful!
Preview URL: https://4895fa0b.openflowkit-app.pages.dev
Branch Preview URL: https://v1-bridge.openflowkit-app.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Deploying openflowkit-www with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5846e79
Status: ✅  Deploy successful!
Preview URL: https://1ad2041e.openflowkit-www.pages.dev
Branch Preview URL: https://v1-bridge.openflowkit-www.pages.dev

View logs

On an empty workspace the card sat on Home's "Blank Canvas" button, so a
brand-new user could not click it (CI's e2e smoke caught it: 15 failures).
No diagrams → no notice. The e2e smoke specs start with it dismissed so it
never covers what they click.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Vrun-design
Vrun-design merged commit c9b5c77 into main Oct 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant