Skip to content

Expand GraphQL explorer query and variable builder#116

Merged
xaaha merged 35 commits intomainfrom
88-gql-explorer-variable-input-form-scalar-types
Mar 10, 2026
Merged

Expand GraphQL explorer query and variable builder#116
xaaha merged 35 commits intomainfrom
88-gql-explorer-variable-input-form-scalar-types

Conversation

@xaaha
Copy link
Copy Markdown
Owner

@xaaha xaaha commented Mar 10, 2026

  • add a dedicated query preview panel and variable preview panel in the GraphQL explorer so users can see the generated operation and variables alongside the form
  • build GraphQL query strings from the current form state, including enabled arguments, nested field selections, inline fragments, unions, and interfaces
  • add variable input handling for scalar, enum, object, and list arguments, including dynamic list rows and typed variable serialization
  • improve detail-form interaction with per-argument enable/disable checkboxes, enter-to-edit text inputs, search within fields using /, and top/bottom navigation with gg and G
  • improve panel navigation and clipboard support so users can scroll query and variable panels independently and copy content from the focused panel with Ctrl+y
  • update endpoint filtering and detail rendering to better support multi-endpoint schemas, fragment expansion, and clearer focused-state styling
  • allow single-file GraphQL mode to skip the kind: GraphQL check and rely only on the selected file and its URL, while keeping directory mode filtered by GraphQL kind
  • add and expand tests for query building, variable rendering, schema parsing, dropdown behavior, and the single-file GraphQL validation path
  • Adjust the layout with only one source. Top right height.

@xaaha xaaha linked an issue Mar 10, 2026 that may be closed by this pull request
xaaha added 4 commits March 9, 2026 20:52
…ypes

# Conflicts:
#	pkg/tui/gqlexplorer/formitem.go
#	pkg/tui/gqlexplorer/formitem_test.go
#	pkg/tui/gqlexplorer/model.go
#	pkg/tui/gqlexplorer/model_test.go
#	pkg/tui/styles.go
@xaaha xaaha requested a review from pthapa1 March 10, 2026 01:55
@xaaha xaaha merged commit 8ddddda into main Mar 10, 2026
2 checks passed
@xaaha xaaha deleted the 88-gql-explorer-variable-input-form-scalar-types branch March 10, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GQL Explorer: Variable input form (scalar types)

2 participants