sanity icon indicating copy to clipboard operation
sanity copied to clipboard

Referenced document won't open in group tab.

Open DavithkbY opened this issue 1 year ago • 9 comments

When trying to open a referenced document inside a group tab, the document doesn't open.

To Reproduce

Steps to reproduce the behavior:

  1. Clone this repo: https://github.com/DavithkbY/sanity-issue-demo-main
  2. Create a document
  3. Create a 'Document referencing document'
  4. Set a reference inside the 'navigations' tab and try to click on the document to open it in a pane Expected behavior

The referenced document should open in a new pane. Currently this doesn't happen and is bugged. It only opens when going to 'All Fields'.

Sanity Version

3.52.1

What operating system are you using? Mac OS

Which versions of Node.js / npm are you running?

20.10.0

Video showing the bug:

https://github.com/user-attachments/assets/c0304d9c-c209-45bf-887f-2fbdccad4f42

DavithkbY avatar Jul 29 '24 11:07 DavithkbY

Apologies, we are working on fixing this

binoy14 avatar Aug 16 '24 16:08 binoy14

Thanks for reporting, a fix for this will be included in the next release.

sjelfull avatar Aug 20 '24 13:08 sjelfull

@sjelfull is the issue fixed? I still have it happening on my local project in sanity studio with the latest 3.55.0 version:

https://github.com/user-attachments/assets/7f9b0362-249c-436d-bc2e-66d391fdb0b4

DavithkbY avatar Aug 26 '24 11:08 DavithkbY

It's also still reproducible on the git repo. I've updated it to sanity 3.55.0. :

https://github.com/user-attachments/assets/3f10f0bf-c7d7-4702-af18-d30f842bb66a

DavithkbY avatar Aug 26 '24 11:08 DavithkbY

Bump, has this been fixed in 3.56? Can't see anything in the changelog.

ChBernat avatar Aug 28 '24 10:08 ChBernat

@jordanl17 this issue still hasn't been fixed in Studio V 3.57.0

DavithkbY avatar Sep 06 '24 14:09 DavithkbY

Bump, can this issue be reopened? It's still not fixed!

DavithkbY avatar Sep 13 '24 19:09 DavithkbY

We are still looking into this. It is a bit tricky to find the root cause, since we are only able to reproduce it sometimes.

sjelfull avatar Sep 16 '24 08:09 sjelfull

Hi @sjelfull is this fixed yet?

DavithkbY avatar Oct 11 '24 11:10 DavithkbY

@sjelfull Do we have any progress on this? Our customers are reminding me more and more often about this issue.

ChBernat avatar Nov 13 '24 16:11 ChBernat

@sjelfull any update on this? can we support you somehow? for us we can reproduce it very clearly in our client's studio

julianvaupel avatar Dec 19 '24 07:12 julianvaupel

Hello everyone! Senior Support engineer for Sanity 👋
I tried replicating this as well, but was not able to (see more below) ... It might be related to a specific customisation in your Studios or something else that alludes us.

would it be possible to get a reproduction from one of you? (The best would be a studio code we can spin up - zip or repo)

My setup from today's attempt to reproduce this:

"sanity": "^3.68.3",

As you can see, the referenced document opens up as expected from another group tab (both from a field and an array item)

Image

bobinska-dev avatar Jan 16 '25 19:01 bobinska-dev

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

github-actions[bot] avatar Jul 24 '25 00:07 github-actions[bot]