sanity-io / sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content
https://www.sanity.io
MIT License
5.18k stars 417 forks source link

Referenced document won't open in group tab. #7265

Open DavithkbY opened 1 month ago

DavithkbY commented 1 month ago

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

binoy14 commented 1 month ago

Apologies, we are working on fixing this

sjelfull commented 4 weeks ago

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

DavithkbY commented 3 weeks ago

@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 commented 3 weeks ago

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

ChBernat commented 3 weeks ago

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

DavithkbY commented 1 week ago

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

DavithkbY commented 5 days ago

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

sjelfull commented 2 days ago

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.