Skip to content

Table: Remember rows per page option #3227

@illume

Description

@illume

When I am navigating Headlamp and adjusting the number of rows displayed per page,
I want my selected "Rows per page" setting to persist across page reloads and menu navigation,
so I don’t have to repeatedly change it, and when I share my view it shows them the same number of rows.


Discussion

It seems we had this in SimpleTable before, but that functionality got lost.

We do have the settings option... but is it discoverable? Is not the rows per page selector also a setting?

In some other apps this setting is remembered. You don't need to go to a separate settings page to make sure it remembers your rows per page setting.

Additionally, browsers when reloading remember the items in the form. Our implementation of Table forgets rows per page on page reload.

Should rows per page be in the URL? I think so. Because it will change what is shown, and we want people be able to share what they are seeing by sharing URLs. We didn't have this before, and it would complicate the code.

Additional context

Metadata

Metadata

Assignees

Labels

TableTable component issuesdashboardkind/bugCategorizes issue or PR as related to a bug.kind/featureCategorizes issue or PR as related to a new feature.kind/regressionCategorizes issue or PR as related to a regression from a prior release.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.needs designSome design work needs to be done on this. Not necessarily by a designer.

Type

No type

Projects

Status

Queued

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions