You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new document from structure, before filling in any fields, it can not be opened in presentation mode from the document editor. The problem arises when the user starts filling in fields, and the linking is not updated.
To Reproduce
Steps to reproduce the behavior:
Go to 'structure'
Create any previewable document type
Fill in slug
See that the newly created document is put into the document list
See that there is no link to open the new document in presentation mode
To get the link to appear, you can refresh the page or re-enter the document in another way.
Expected behavior
When the user starts filling in the fields in the document, and the document is saved to the document list, I would expect the linking to show up without having to refresh the page or re-enter the document in any way.
Screenshots
After creating the document.
After filling in fields. This is where I would expect the linking to show up.
After re-entering the document.
Which versions of Sanity are you using?
➜ nextjs-app git:(main) ✗ sanity versions
@sanity/cli (global) 3.4.0 (latest: 3.41.1)
@sanity/image-url 1.0.2 (up to date)
@sanity/react-loader 1.9.17 (up to date)
@sanity/vision 3.41.1 (up to date)
@sanity/visual-editing 1.8.18 (up to date)
sanity 3.41.1 (up to date)
Describe the bug
When creating a new document from structure, before filling in any fields, it can not be opened in presentation mode from the document editor. The problem arises when the user starts filling in fields, and the linking is not updated.
To Reproduce
Steps to reproduce the behavior:
To get the link to appear, you can refresh the page or re-enter the document in another way.
Expected behavior
When the user starts filling in the fields in the document, and the document is saved to the document list, I would expect the linking to show up without having to refresh the page or re-enter the document in any way.
Screenshots
After filling in fields. This is where I would expect the linking to show up. After re-entering the document.After creating the document.
Which versions of Sanity are you using?
➜ nextjs-app git:(main) ✗ sanity versions
@sanity/cli (global) 3.4.0 (latest: 3.41.1)
@sanity/image-url 1.0.2 (up to date)
@sanity/react-loader 1.9.17 (up to date)
@sanity/vision 3.41.1 (up to date)
@sanity/visual-editing 1.8.18 (up to date)
sanity 3.41.1 (up to date)
What operating system are you using?
macOS Sonoma Version 14.4.1
Which versions of Node.js / npm are you running?
➜ nextjs-app git:(main) ✗ npm -v && node -v
10.2.4
v21.6.1
The text was updated successfully, but these errors were encountered: