Repository navigation
v1 bridge: keep working after the new OpenFlowKit, export all diagrams - #84
Merged
Merged
Conversation
… 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>
Deploying openflowkit-docs with
|
| Latest commit: |
5846e79
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://94087b73.openflowkit-docs.pages.dev |
| Branch Preview URL: | https://v1-bridge.openflowkit-docs.pages.dev |
Deploying openflowkit-app with
|
| Latest commit: |
5846e79
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4895fa0b.openflowkit-app.pages.dev |
| Branch Preview URL: | https://v1-bridge.openflowkit-app.pages.dev |
Deploying openflowkit-www with
|
| Latest commit: |
5846e79
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1ad2041e.openflowkit-www.pages.dev |
| Branch Preview URL: | https://v1-bridge.openflowkit-www.pages.dev |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
openflowkit-v1-backupJSON 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:
versionchange, so an open v1 tab never blocks v2's upgrade.Checks
npm run lint && npm run test:ci: 1473 tests, build and bundle budgets pass.fake-indexeddb: the version tests need real IndexedDB semantics.🤖 Generated with Claude Code