feat(frontend): improve lazy draft route handling#765
Merged
Conversation
Navigate newly created drafts through reserved placeholder paths so empty drafts can be materialized later with the correct public or private anchors. Add shared helpers and tests for reserved draft IDs, breadcrumbs, resource pages, and editor change handling.
Create private drafts immediately with generated non-dashed paths, remember their parent return route, and hide child-draft creation actions where documents cannot create children.
Encode server handoff stream strings as bytes before streaming responses. Keep /hm profile tab URLs routed to the registered account document, and run Vitest files sequentially without forcing a single fork.
Exercise a visible mobile navigation control instead of checking React private internals, making the browser hydration test assert user-facing interactivity.
Skip the browser hydration test while replacing the removed client-side signal with a CI-safe check.
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
Fixes #658 #751