Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[graphiql] custom tab names #3406

Closed
mfulton26 opened this issue Aug 14, 2023 · 1 comment
Closed

[graphiql] custom tab names #3406

mfulton26 opened this issue Aug 14, 2023 · 1 comment

Comments

@mfulton26
Copy link

GraphQL Playground allowed my team and me to define custom tab names. This was great when grouping multiple queries into one tab that use a common set of variables and headers so that as a user I can define those once and not have to copy/paste variables and/or headers between tabs.

The latest Graph_i_QL currently derives the tab name from the name of the last executed query in the tab and defaults to the first operation name if none have been executed yet. This dynamic behavior can be very confusing as the tab name changes depending on which operation I executed last.

Instead, I'd like a way to define explicit tab names, define them in my defaultTabs when rendering the React component, and being able to set a tab name that doesn't change on the operations defined within the tab nor on which operation I executed last.

Double-clicking or right-clicking the tab name to be able to enter a name edit mode could work well.

@dimaMachina
Copy link
Collaborator

Duplicate #3608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants