Draft
Conversation
Contributor
Release Version Check
This version will be released automatically when this PR is merged to |
Contributor
Preview DeploymentThe web app for this PR has been deployed: Use this to verify the app works correctly, especially for dependency updates. |
4ad81de to
253df1d
Compare
253df1d to
57c033b
Compare
5fe502d to
66f01cf
Compare
66f01cf to
824cf75
Compare
824cf75 to
0ee85e3
Compare
- Add @cept/core SpaceExporter: collects all files from a space (pages, workspace state, databases, assets) and produces archive manifest with SHA-256 integrity checking - Add @cept/core SpaceImporter: reads ZIP archives and writes files into new or existing spaces with configurable conflict resolution (keep, replace, rename, skip) and per-file overrides - Add previewImportConflicts() for scanning conflicts before committing - Add SpaceExportDialog UI with options for databases/assets inclusion - Add SpaceImportDialog UI with target space selection, conflict strategy picker, and workspace-state import toggle - Wire both dialogs into App.tsx and command palette - 55 unit tests covering export, import, all 4 conflict strategies, per-file overrides, error handling, progress callbacks, and full round-trip (export then import) verification https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM
…quivalents Every action available in the command palette must also be accessible via a visible, clickable UI element that works across desktop, tablet, and mobile. The command palette is a power-user accelerator, not the primary discovery mechanism. https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM
Add Export Space and Import Space buttons to: - Sidebar "More" menu (always visible when sidebar is open) - Settings > Spaces tab > Import/Export section This ensures space export/import are discoverable without the command palette, satisfying the new UI discoverability rule. https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM
The cept-modal-* CSS classes used by both dialogs had no stylesheet defined, causing them to render as unstyled raw HTML. Added modal-styles.css with overlay, dialog container, header, body, buttons, fieldsets, progress bar, and dark mode support. Replaced inline styles in both components with proper CSS classes. https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM
Two bugs in page content loading caused pages to show "Loading..." forever: 1. When readPageContent returned null (file doesn't exist on disk yet), pageContents[id] was never set, so contentLoaded stayed false forever. Fix: fall back to empty string when backend returns null. 2. The check `!pageContents[id]` treated empty string '' as falsy, causing re-reads from backend on every navigation to pages with empty content. Fix: use `!(id in pageContents)` for proper existence check. Applied the fix in all three code paths: handlePageSelect, initial load, and loadAndApplySpaceState (space switching). https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM
The SpaceImportDialog's onImportComplete callback was ignoring the spaceId and spaceName parameters, so after importing a space from ZIP the app would only refresh the manifest but never actually switch to the imported space — leaving the user on the old space with stale data. Now properly saves current space state, updates the manifest, and switches to the newly imported space. https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM
- Fix stale space name in sidebar when creating or switching spaces by syncing editSpaceNameValue with the spaceName prop via useEffect - Add import/export ZIP buttons to the Settings tab for discoverability (previously only on the Spaces tab) - Add tests for both fixes https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM
0ee85e3 to
2d8532d
Compare
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.
Summary
Test plan
Closes #42
https://claude.ai/code/session_01WsFd9hPNmHcP9kJCj7fZHM