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
Currently, SchemaDocumentation shows only the root types in the initial screen, and has a lot of screen real estate that could be used to show more types. That would bring the UI closer to the results of { __schema { types { name } } } query, so it's IMHO both a nice use of the empty space an pretty consistent.
I'm up for sending a PR if you feel it would be a worthwhile contribution. With TypeLink and schema.getTypeMap() the implementation seems be pretty straightforward.
Got a hacky implementation working with `pnpm patch`.
As alternatives, I've considered disabling the Documentation Explorer plugin and swapping it with my own version, and mutating DOC_EXPLORER_PLUGIN export like a bandit, but I feel like it would be nice to have this feature in all GraphiQLs, not only in mine :)
The text was updated successfully, but these errors were encountered:
@hasparus I really like this idea! we could also label it 'all schema types'
noting that some schemas include a lengthy markdown in the Schema.description, so perhaps we can make it disable-able via a plugin setting, but I like the idea of enabling this feature by default
Hello 👋
Currently, SchemaDocumentation shows only the root types in the initial screen, and has a lot of screen real estate that could be used to show more types. That would bring the UI closer to the results of
{ __schema { types { name } } }
query, so it's IMHO both a nice use of the empty space an pretty consistent.I'm up for sending a PR if you feel it would be a worthwhile contribution. With
TypeLink
andschema.getTypeMap()
the implementation seems be pretty straightforward.Got a hacky implementation working with `pnpm patch`.
Screen.Recording.2023-01-20.at.18.56.03.mov
As alternatives, I've considered disabling the Documentation Explorer plugin and swapping it with my own version, and mutating
DOC_EXPLORER_PLUGIN
export like a bandit, but I feel like it would be nice to have this feature in all GraphiQLs, not only in mine :)The text was updated successfully, but these errors were encountered: