hasura / hasura/graphql-engine

[gui, hdb_metadata] columns are re-ordered when selecting permissions

Open
#7,022 0 comments 0 reactions 0 assignees View on GitHub
c/console
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

hasura v2.0.0-beta.1

In GUI:
When you first track a view, and go to tab permissions column are correctly ordered
After you toggle all or choose some and save, if you go back to permissions columns are completly re-ordered

In hdb_metadata
If the first time you toggle all columns, columns are in the right order,
if you select some column, column are now in alphabetically order

It will be nice if columns can keep the order like what was decided in the designed view or table, or if they where an option to re-ordered the column.

Thanks

Contributor guide

Open the contributing guide

Research direction

Start in the GUI permissions tab and the hdb_metadata handling described in the issue; reproduce the behavior by tracking a view, toggling all columns, then selecting some columns and saving. Compare the displayed and stored column order with the original table or view order; done means the order remains consistent after revisiting permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
authorization, database, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.