Fix SDK bridge response and enhance edit page UX with versioning#317
Merged
Fix SDK bridge response and enhance edit page UX with versioning#317
Conversation
Two fixes:
1. SDK bridge bug: mu.store.get() was resolving with the full response
object {"result": value} instead of unwrapping to just the value.
This caused apps (like Notes) to display [object Object] instead of
the stored text.
2. Edit page now shows code editor and preview side-by-side instead of
hiding code behind a toggle. Clearer status message after AI
modifications ("Code updated — review changes and click Save").
https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
Versions:
- Each save snapshots the current HTML/name as a numbered version
- Up to 50 versions kept per app
- /apps/{slug}/versions shows full history with timestamps
- Authors can restore any previous version (creates a new snapshot)
- Version count shown on app detail page and edit page
Saved-at:
- App detail page shows "saved <date>" when updated after creation
- Edit page shows "Last saved <timestamp>" that updates live on save
- Edit page stays on page after save instead of redirecting away
Fork:
- Fork button on every app detail page (for logged-in users)
- Creates a copy under the current user's account with unique slug
- Tracks forked_from relationship, shown on detail page
- Redirects to edit page so you can immediately customize
https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
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.
No description provided.