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
Hooks / Filters should be added to the new version with different names to prevent possible conflicts with folks running a plugin that extended the old GraphiQL IDE (i.e. graphiql_app -> graphiql_ide_app)
Document how to use these hooks/filters (at minimum in the merged PR that implements it, so we can add the docs to the website or wherever else when appropriate)
Updated Filters
PHP
wpgraphqlide_capability_required
wpgraphqlide_enqueue_script
wpgraphqlide_external_fragments
wpgraphqlide_context (new hook! no existing mapping)
JavaScript
wpgraphqlide_rendered
wpgraphqlide_cleanup (new hook! no existing mapping)
The text was updated successfully, but these errors were encountered:
Due to architectural limitations of the current GraphiQL IDE, we will not be performing a 1:1 migration as original planned. Instead, we will capture the spirit of these pluggable areas in a new tracking ticket. #109
User Story
As a WordPress developer, I would like to be able to actions/filter various parts of the GraphiQL IDE to provide customized functionality.
Acceptance Criteria
wpgraphqlide_
Existing Hooks
JavaScript Filters
graphiql_app
from core plugin #40graphiql_query_params_provider_config
from core plugin #39graphiql_app_context
from core plugin #38graphiql_auth_switch_context_default_value
from core plugin #37graphiql_explorer_context_default_value
from core plugin #36graphiql_fetcher
from core plugin #35graphiql_before_graphiql
from core plugin #34graphiql_after_graphiql
from core plugin #33graphiql_context_default_value
from core plugin #32graphiql_toolbar_buttons
from core plugin #31graphiql_toolbar_before_buttons
from core plugin #30graphiql_toolbar_after_buttons
from core plugin #29graphiql_explorer_operation_action_menu_items
from core plugin #28graphiql_router_screens
from core plugin #27JavaScript Action
graphiql_update_query
from core plugin #26graphiql_rendered
from core plugin #25PHP Filters
graphql_render_admin_page
from core plugin #24graphiql_external_fragments
from core plugin #23PHP Actions
enqueue_graphiql_extension
from core plugin #22Hooks / Filters should be added to the new version with different names to prevent possible conflicts with folks running a plugin that extended the old GraphiQL IDE (i.e.
graphiql_app
->graphiql_ide_app
)Updated Filters
PHP
wpgraphqlide_capability_required
wpgraphqlide_enqueue_script
wpgraphqlide_external_fragments
wpgraphqlide_context
(new hook! no existing mapping)JavaScript
wpgraphqlide_rendered
wpgraphqlide_cleanup
(new hook! no existing mapping)The text was updated successfully, but these errors were encountered: