gristlabs_grist-core/app
Jarosław Sadziński 3c72639e25 (core) Adding sort options for columns.
Summary:
Adding sort options for columns.
- Sort menu has a new option "More sort options" that opens up Sort left menu
- Each sort entry has an additional menu with 3 options
-- Order by choice index (for the Choice column, orders by choice position)
-- Empty last (puts empty values last in ascending order, first in descending order)
-- Natural sort (for Text column, compares strings with numbers as numbers)
Updated also CSV/Excel export and api sorting.
Most of the changes in this diff is a sort expression refactoring. Pulling out all the methods
that works on sortExpression array into a single namespace.

Test Plan: Browser tests

Reviewers: alexmojaki

Reviewed By: alexmojaki

Subscribers: dsagal, alexmojaki

Differential Revision: https://phab.getgrist.com/D3077
2021-11-03 15:31:39 +01:00
..
client (core) Adding sort options for columns. 2021-11-03 15:31:39 +01:00
common (core) Adding sort options for columns. 2021-11-03 15:31:39 +01:00
gen-server (core) fix bug where sharing doc with everyone@ as viewer made it unlisted for site viewers 2021-10-28 12:48:31 -04:00
plugin (core) Adding schema validation for records endpoint 2021-10-18 21:40:50 +02:00
server (core) Adding sort options for columns. 2021-11-03 15:31:39 +01:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00