Skip to content

Add ability to select which columns to display #79

@dinmukhamedm

Description

@dinmukhamedm

We need to allow users to selectively show/hide columns in the pages with tables. The minimal requirement is for traces/spans/sessions tables.

One UX we could create is a dialog with a checklist of enabled columns, somewhat similar to what you can find in many AWS interfaces.

Screenshot 2024-10-23 at 22 51 13
(We won't need search though, we don't have that many columns).

Requirements and pointers:

  • The preference must be stored in localStorage.
  • The component must be in components/ui
    • Similar components are DatatableFilter and TextSearchFilter. The difference is that their source of truth is URL search params, whereas here we look for local storage.
  • Quite obviously, the component must be reusable, i.e. no reliance on hard-coded column names and/or definitions

Metadata

Metadata

Labels

enhancementNew feature or requestfrontendRequires work in the frontend packagegood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions