Skip to content

Improve the table component #82

@hjkmarshall

Description

@hjkmarshall

Description

  • Currently, the table component is basic, but with a complex code-base. Worst of both worlds.
  • Partly, this is due to the dynamic loading of data when it is resized.
  • The table should be simpler (loading all the data it needs at once) with more power to customize it.

Acceptance Criteria

  • Remove the 'dynamic loading' behaviour and just load all results.
  • Give the user the ability to limit the data.
  • Add pagination, showing the current page, the total pages, and options to move between pages.
  • Retain any existing inputs that are useful.
  • Add the option to 'vertically merge' table column values when the value is repeated (i.e. using rowSpan). e.g. see examples.
  • The table should take up a minimum of 100% of the width of the container.
  • Users should be able to control column widths (see existing pivot table).
  • Users should be able to control whether long values are wrapped vs cut off using ellipsis.
  • Bonus: where metrics are shown, show the 'Metrics visualization format' options from the pivot table.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions