wp-graphql / wpgraphql-ide

A next-gen query editor for WPGraphQL 🚀
GNU General Public License v3.0
10 stars 0 forks source link

feat: Handle settings for IDE link in wpadminbar #151

Closed josephfusco closed 3 months ago

josephfusco commented 3 months ago

These changes resolve #150

Screenshots

IDE Settings

legacy editor toggled off

legacy editor toggled on

settings

josephfusco commented 3 months ago

screenshot of GitHub actions showing cannot find REST endpoint

jasonbahl commented 3 months ago

In addition to the global setting for how the IDE should behave (drawer or standalone), we should also add a User Profile setting that allows individual users to override the global setting.

Some users might want the drawer, while some might want a standalone page, and some might want no Admin Bar link at all.

jasonbahl commented 3 months ago

@josephfusco in addition to the "Admin Link Behavior" setting, we should also add a separate setting to enable/disable the legacy IDE.

This would allow users to enable one or the other, or even both at the same time if they chose.

If we get this supported at the global settings level and the user profile level, I think we'd be pretty darn close to being ready for a core merge of the new WPGraphQL IDE