Altair: Add Query\Mutation Buttons inside search result

Created on 13 Mar 2019  路  3Comments  路  Source: imolorhe/altair

Is it possible to add a search inside the docs section, but that mantain the "add query"/"add mutation" button?

When you have a very long list of query or mutation, with similar name it's difficult to find the right entity to use without search, but if you search , you lost the possibility to use the add ... button.

I'd like a general search that only filter the list below. A dynamically filtered list, when you filter by write into the search input then you mantain the same appearence of the list but filtered. In this scenario the list mantains buttons to add querymutations.

altair desiderata

Maybe the easiest way to implement can be adding a button inside the Query/Mutations detail, that appear when you search and find only one entity.

altair desiderata 1

Thanx alot for the attention.

(I add a modified UI possibilities)

enhancement

Most helpful comment

I'm going with the implementation of adding the button the the query details view. So after searching for a query and clicking it from the results, you can click the Add query button for that query, and not just its fields.

All 3 comments

I'll look into this as soon as I can.

Thnx @imolorhe

I'm going with the implementation of adding the button the the query details view. So after searching for a query and clicking it from the results, you can click the Add query button for that query, and not just its fields.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bsr203 picture bsr203  路  12Comments

imolorhe picture imolorhe  路  4Comments

sneko picture sneko  路  10Comments

rshea0 picture rshea0  路  11Comments

benhutton picture benhutton  路  10Comments