[TableListView] Add URL state management #135203
Labels
Component:TableListView
Feature:Content Management
User generated content (saved objects) management
Team:SharedUX
Team label for AppEx-SharedUX (formerly Global Experience)
As part of the UX improvement of the
<TableListView />
component we will enhance the sorting and filtering capability of the table. We will need to be able toWe also need to be able to have the same filtering capabilities through the search bar with a syntax (e.g
tag:blue
or to discard a tag-tag:green
).In order to achieve that we need a central place to store the sorting and filtering state of the table to act as source of truth. The best place for that is the URL. This will not only allow to implement the above requirements but also to deeplink to a specific state of the table list view.
State that will be stored in the URL
sortCol
(e.g. "name", "updatedAt")sortOrder
(e.g. "asc", "desc")filter
(probably using the lang of the search bar. e.g.tag:blue
)search
(the search term)selectedItem
(the id of the selected item. This will allow us to display the inspector in the Flyout if it is defined)The text was updated successfully, but these errors were encountered: