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

Customize order of visible columns #2330

Open
RFSH opened this issue Jul 8, 2023 · 0 comments
Open

Customize order of visible columns #2330

RFSH opened this issue Jul 8, 2023 · 0 comments
Labels
help wanted Intended for internal use for student workers

Comments

@RFSH
Copy link
Member

RFSH commented Jul 8, 2023

We want to allow users to customize the order of visible columns. While we might eventually want to allow users to drag columns around, we are thinking about doing this in a popup for now (similar to #2325 where we're adding a button to recordset page to customize sort in a popup). There are two UIs that we could think of:

  1. In the popup, we will display a list of columns. This list could have columns not already visible on the page (a new context, perhaps?). Users can click on a column to toggle its visibility. They can also drag a column and reorder them. Clicking on submit should adjust the displayed table.

  2. Another option is to show two different lists. One is the pool of columns and the other one is the actual visible columns list. And users can just drag columns around.

Regardless of the UI, the computed order should be stored in the local storage. We most probably want to store the order per page. So, for example, in the related section, users might want to see different visible columns than the recordset. Eventually, this state should be stored in the database as part of the overall personalization feature that we would like to have (this needs more thought).

Another way to achieve reordering of columns is to use ag-grid for our recordset tables. But that requires more exploration and would require more refactoring than the feature we discussed. It also won't allow us to handle the toggle visibility of columns (we can just remove them and not add them). So we're going to do this in a popup for now.

@RFSH RFSH added the help wanted Intended for internal use for student workers label Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Intended for internal use for student workers
Projects
None yet
Development

No branches or pull requests

2 participants