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

[FEATURE][CONSOLE] Relation selector component rather than id for foreign keys #2296

Open
mnlbox opened this issue May 29, 2019 · 0 comments
Assignees
Labels
a/product-design c/console Related to console e/intermediate can be wrapped up in a week k/enhancement New feature or improve an existing feature p/high candidate for being included in the upcoming sprint

Comments

@mnlbox
Copy link
Contributor

mnlbox commented May 29, 2019

Hi guys,
For me one of the core feature for data entry is ability to add foreign key based on human friendly component rather than simple text box and enter messy UUID.
One of the reason that now many user like me forced to use extra tools like React-Admin is that manual data entry in Hasura console is a little hard specially when you have many relation and foreign key.
Later I suggested this as a proposal and wire-frame here: #506 (comment)
I open this issue because previous one is closed and I think this is a extra feature.

Maybe it's better to show dropdown as input type for Insert Row tab. For example in below image maybe it's better to show a dropdown that show title but pass UUID id for parent_subject_id field:

Screenshot from 2019-03-11 16-00-27

Maybe we can select which column is show as display column in foreign key creation page right to the to column here:
53887711-db257980-4048-11e9-863c-8c6dcf402ec9

For more idea now in react-admin we have ReferenceInput and ReferenceArrayInput component and able to enter relation with drop down or select2 based selector rather than id.

@rikinsk-zz rikinsk-zz added c/console Related to console k/ideas Discuss new ideas / pre-proposals / roadmap labels May 29, 2019
@rikinsk-zz rikinsk-zz added e/intermediate can be wrapped up in a week k/enhancement New feature or improve an existing feature p/medium non-urgent issues/features that are candidates for being included in one of the upcoming sprints and removed k/ideas Discuss new ideas / pre-proposals / roadmap labels Jul 9, 2019
@rikinsk-zz rikinsk-zz removed their assignment Jul 9, 2019
@rikinsk rikinsk added p/high candidate for being included in the upcoming sprint and removed p/medium non-urgent issues/features that are candidates for being included in one of the upcoming sprints labels Jan 21, 2020
@beerose beerose self-assigned this Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/product-design c/console Related to console e/intermediate can be wrapped up in a week k/enhancement New feature or improve an existing feature p/high candidate for being included in the upcoming sprint
Projects
None yet
Development

No branches or pull requests

6 participants