Dmitry S
6e844a2e76
(core) Use unicode-aware comparisons for user-visible strings.
...
Summary:
- Switch code that compares user strings to use localeCompare() based on Intl.Collator.
- Use en-US locale for now. (Ideally should be a document property.)
- Note that with this change, sorting is also becoming case-insensitive (which
seems an improvement)
- Updated a sorted test fixture
- Updated a browser test with lots of unicode to expect different order.
- Added a bit of unicode to test ordering in Reference autocomplete dropdown.
Test Plan: Fixed / updated tests
Reviewers: paulfitz
Reviewed By: paulfitz
Differential Revision: https://phab.getgrist.com/D2758
2021-03-15 09:54:10 -04:00
..
2021-03-04 11:22:09 -05:00
2021-02-15 17:02:24 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-11-12 10:55:15 -05:00
2021-03-10 11:57:09 -05:00
2021-02-15 17:02:24 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-02-15 17:02:24 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-22 14:40:54 -04:00
2020-10-02 13:24:21 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-11-30 16:28:33 -05:00
2020-11-30 16:28:33 -05:00
2021-01-15 18:45:57 -05:00
2020-10-30 13:52:46 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-02-15 17:02:24 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-03-10 11:57:09 -05:00
2020-09-29 18:57:56 -04:00
2020-12-22 13:40:52 -05:00
2021-03-08 16:08:21 -05:00
2021-03-15 09:54:10 -04:00
2020-07-21 20:39:10 -04:00
2020-11-10 08:12:31 -05:00
2021-01-12 14:08:49 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-09-09 23:08:50 -04:00
2020-11-06 09:24:56 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-11-18 08:58:03 -05:00
2020-07-21 20:39:10 -04:00
2021-03-15 09:54:10 -04:00
2020-08-19 11:31:42 -04:00
2020-11-19 18:19:54 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-23 16:21:08 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-09-29 18:57:56 -04:00
2021-01-22 09:20:40 -05:00
2020-09-29 18:57:56 -04:00
2020-11-12 15:19:38 -05:00