Home as drafts hub, camera close UX, light/dark mode, upload destination#287
Merged
morepriyam merged 3 commits intomainfrom Feb 4, 2026
Merged
Home as drafts hub, camera close UX, light/dark mode, upload destination#287morepriyam merged 3 commits intomainfrom
morepriyam merged 3 commits intomainfrom
Conversation
…stination - Move all drafts to home: Welcome to Pulse shows draft list, Import, Export - Remove Shorts/Drafts nav from camera; + opens camera with new draft every time - No auto-load last draft when opening camera without draftId (useDraftManager) - Close button: single action (no Start New/Start Over/Close menu); upload mode closes to (tabs) to avoid white screen after QR deeplink - Home: light/dark mode (Colors surface/border/secondaryText/selection), delete icon (MaterialIcons delete-outline), upload drafts show full server URL below segment/timestamp; Export only when drafts exist - Remove (camera)/drafts.tsx; simplify CloseButton and UploadCloseButton to onClose only Co-authored-by: Cursor <cursoragent@cursor.com>
morepriyam
added a commit
that referenced
this pull request
Feb 4, 2026
…stination (#287) - Move all drafts to home: Welcome to Pulse shows draft list, Import, Export - Remove Shorts/Drafts nav from camera; + opens camera with new draft every time - No auto-load last draft when opening camera without draftId (useDraftManager) - Close button: single action (no Start New/Start Over/Close menu); upload mode closes to (tabs) to avoid white screen after QR deeplink - Home: light/dark mode (Colors surface/border/secondaryText/selection), delete icon (MaterialIcons delete-outline), upload drafts show full server URL below segment/timestamp; Export only when drafts exist - Remove (camera)/drafts.tsx; simplify CloseButton and UploadCloseButton to onClose only
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.
Closes #275 (Refactor welcome screen – plus = new pulse, welcome = list of drafts)


Closes #209 (Enhance landing page – show drafts on main page, option to make new one)
https://youtube.com/shorts/D43Z9nYwx2s?si=D_t72uLUvwaSa6xx
Summary
Changes
Navigation & layout
Draft behavior
draftIdis not passed, do not load last modified draft; start with an empty draft and no redo stack. QR/deeplink flow (withdraftId) unchanged.Close button
onClose); no modal with Start New / Start Over / Close.handleClose()then, in upload mode,router.replace("/(tabs)")(avoids white screen after QR); in camera mode,router.back().Home (tabs/index)
draftIdandmode. Light/dark theme viaColors(surface, border, secondaryText, selection, inputBackground). Delete uses MaterialIconsdelete-outline. Upload drafts show link icon + full server URL below segment/timestamp. Export button only whendrafts.length > 0.surface,border,secondaryText,inputBackground,selectionfor light and dark.Testing