feat: implement tabbed Write/Preview interface in EditorScreen (#1291)#1304
Open
AryanRajuBankar3000 wants to merge 1 commit into
Open
feat: implement tabbed Write/Preview interface in EditorScreen (#1291)#1304AryanRajuBankar3000 wants to merge 1 commit into
AryanRajuBankar3000 wants to merge 1 commit into
Conversation
Contributor
|
Thank you @, for creating the PR and contributing to our UltimateHealth project 💗. |
Author
|
Hi @SB2318! I have successfully implemented the tabbed Write/Preview layout using the existing Preview screen logic as you suggested. Everything is running smoothly locally. Please let me know if you'd like any adjustments to the UI or tab styling! |
eea1cc2 to
24e0b9f
Compare
Collaborator
|
@AryanRajuBankar3000 |
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.
Description
Closes #1291
What this PR does:
This PR restructures the
EditorScreento use a seamless "Write / Preview" tabbed interface, replacing the previous flow that required a navigation jump to a separate screen.Why it was implemented:
As discussed in the issue, a split-screen approach reduces mobile typing space. This tabbed approach preserves the full-screen writing area while allowing users to instantly verify their formatting before publishing, resulting in a much better mobile UX.
Technical Details:
<TouchableOpacity>tab toggle at the top of theEditorScreen.PreviewScreencomponent inside the tab to avoid adding any new markdown parsing dependencies.Screenshots / Screen Recording
(Drag and drop a screenshot of the "Write" tab here)
(Drag and drop a screenshot of the "Preview" tab here)
Checklist