graphql-kit / graphql-voyager

🛰️ Represent any GraphQL API as an interactive graph

Home Page:https://graphql-kit.com/graphql-voyager/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Click on field to highlight

dkbarn opened this issue · comments

I am running GraphQL Voyager 1.0.0-rc.31 in Chrome 90.0.4430.93.

At the moment, clicking on an individual field in the docs sidebar will highlight that field in red in the graph view. However, the reverse is not true: if you click on a field in the graph view, it is not highlighted in red, and the sidebar does not highlight the field in any way. You can only click to highlight whole entities in the graph view, not individual fields.

It would be very helpful if there was parity in behavior between the docs sidebar and the graph view in regards to field highlighting. When a user clicks on a field in the graph view, they want to see the description of that field in the sidebar, without having to scroll and find it.