-
Type: Epic
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: WEBUI-0.8.0
-
Component/s: Web UI
-
Tags:
We must integrate a data table component to Nuxeo Web UI, with facilities for sorting, selecting columns, ideally filtering, etc ...
When displaying a search result, or viewing a folder content, user can switch between grid, table and list display.
On a search screen (queue), preference is persisted client side for next time user goes to this screen (per queue type).
In local storage, persisted preferences are:
- whether a table or a grid is displayed by default
- columns to be displayed
On a folder, we ask user when he switches if he wants all folders with the same configuration. If yes, it is persisted as a global preference for folderish view, if not, it is just for that specific node.
Preferences are also stored in localstorage according to this pseudo algo:
- if the currentDoc has a persisted preference (layout (table/grid/view) and displayed columns), we apply it else we let the one from the previous visited doc
- each time the user changes the layout or displayed columns we persist it in the local storage