hasura / hasura/graphql-engine

Allow option to search from available keys while inserting row using graphql ui

Open
#9,158 1 comment 0 reactions 0 assignees View on GitHub
k/enhancement t/product-platform
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Hi Folks,

This feature update is kinda the most required by us given I deal with folks who are not that tech savvy.
The idea is to give an autocomplete select option to the foreign key fields when we're inserting rows.
For Eg: Which adding a book entry row via GraphQL visual interface, we'd need to add ID of the author. Instead we can show a drop-down with a search bar where we can search among the available names of the author. After selecting we can see the id. This feature would be a ground breaking thing for us our business involves finance guys who are not comfortable with adding uuids of the rows

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by locating the GraphQL UI code responsible for inserting rows and rendering foreign-key fields. Trace how available key values are currently entered, then define the autocomplete and search behavior described in the issue; done means a user can select a foreign-key record by searching its available values and still see the resulting ID. No specific file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.