DEVREL-2692: Branch navigation examples#52
Open
AndrewDiMola wants to merge 1 commit intoWebflow-Examples:mainfrom
Open
DEVREL-2692: Branch navigation examples#52AndrewDiMola wants to merge 1 commit intoWebflow-Examples:mainfrom
AndrewDiMola wants to merge 1 commit intoWebflow-Examples:mainfrom
Conversation
Companion examples for docs PR webflow/openapi-internal#796. New pageBranching section with: - getBranchId: read branch ID of current page - getParentPageId: read source page ID - listBranches: discover all branches for a page - navigateToBranch: discover + switchPage to first branch - navigateBackToMain: getParentPageId + switchPage back
ef2ff27 to
507a0b5
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.
Companion examples for the docs work in webflow/openapi-internal#796.
Adds a
pageBranchingsection tosrc/examples/pages.tswith:getBranchId— read the branch ID of the current page.getParentPageId— read the source page ID of a branch.listBranches— discover all branches for a page.navigateToBranch— discover branches and switch to the first one.navigateBackToMain— get parent page ID and switch back to the main page.