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] Cant assign name for the tab #3608

Open
1 task done
Kowjako opened this issue May 22, 2024 · 6 comments
Open
1 task done

[graphiql] Cant assign name for the tab #3608

Kowjako opened this issue May 22, 2024 · 6 comments

Comments

@Kowjako
Copy link

Kowjako commented May 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I cant change name when new tab is added

Expected Behavior

I want to give specific name for each newly added tab

Steps To Reproduce

  1. Go to graphiql example like this: https://graphql.github.io/swapi-graphql/?
  2. Add new tab using "+" button
  3. Try to change tab name

Environment

  • GraphiQL Version: 3.2.2
  • OS: Windows 10
  • Browser: Chrome
  • Bundler:
  • react Version: 18
  • graphql Version: 16

Anything else?

No response

@peterldowns
Copy link

Running into this on the github graphql explorer, would be really nice to be able to name my queries instead of seeing them all as <untitled>:

image

@acao
Copy link
Member

acao commented May 28, 2024

that's not good at all... surprised e2e did not catch this, I will take a look

@seeruk
Copy link

seeruk commented Jul 5, 2024

It's because it's based on the name of the query in that tab, you have to give a name to the query:

image

It took me a few moments to figure this out when I first tried it out too...

@mfulton26
Copy link

Using the name of the first query isn't a great experience when a tab contains multiple queries in. I also sometimes want to name the tab differently than the first query or leave the query unnamed.

@acao
Copy link
Member

acao commented Aug 24, 2024

@mfulton26 agreed, it is not ideal, do you want to create a feature request?

@mfulton26
Copy link

@mfulton26 agreed, it is not ideal, do you want to create a feature request?

I thought I did. It got marked as a duplicate of this issue: #3406 (comment)

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

5 participants