Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add single document with tabs sample #820

Merged
merged 4 commits into from
Nov 8, 2019

Conversation

jimlambie
Copy link
Contributor

@jimlambie jimlambie commented Nov 6, 2019

This PR simply adds a more advanced example collection schema for the single document collections. For investigation (issue raised by @jayraydon)

If it's a new document, the tabs work (check the href for the tabs, each one is built correctly with the format {collection}/new/{tabName})

The tabs also work immediately after saving a new document, when the document id has been pushed into the URL (they now have the format /{collection}/{documentId}/tabName).

The problem is that the tabs don't have the correct href when editing an existing document, and therefore can't be changed (they now have the format /{collection})

@eduardoboucas eduardoboucas merged commit fdcdc8d into develop Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants