wp-graphql / wp-graphql

:rocket: GraphQL API for WordPress
https://www.wpgraphql.com
GNU General Public License v3.0
3.66k stars 443 forks source link

Support the user's toolbar preference in the viewer model #2764

Closed blakewilson closed 6 months ago

blakewilson commented 1 year ago

What problem does this address?

Allows headless frontend apps who may have created a custom admin bar implementation for the frontend and want to dynamically show or hide it.

What is your proposed solution?

Add a isToolbarVisible property to the viewer.

What alternatives have you considered?

No response

Additional Context

No response

josephfusco commented 6 months ago

Released in https://github.com/wp-graphql/wp-graphql/pull/2788