GlTable: Add tooltips to provide more information about table sorting
Background
Related to gitlab#330478 (closed), the current sorting indicator for table columns does not give enough information about how the sorting is applied to the column. We should extend the table headers to provide additional useful information to users on how the field is sorted.
JTBD:
We should:
- Add support for tooltips to describe how the table columns are sorted
- Provide default descriptions for common sorting, based on the
typeof the field - Provide an optional
fieldto customize the description of the field
Default descriptions
Alphabetical values
-
Sort a→zfor arrow down⬇ ️ -
Sort z→afor arrow up⬆ ️
Numerical values
-
Sort low→highfor arrow down⬇ ️ -
Sort high→lowfor arrow up⬆ ️
Time-based values
-
Sort new→oldfor arrow down⬇ ️ -
Sort old→newfor arrow up⬆ ️
Example
Edited by Ezekiel Kigbo
