gristlabs_grist-core/app/client
Alex Hall 5213972d24 (core) Guess numeric formatting options
Summary:
Change NumberParse.parse to return not just the parsed number but also information it gathered along the way about how the input string was formatted.

Use this in the new NumberParse.guessOptions to guess the actual widget options based on an array of strings.

Use NumberParse.guessOptions in TypeConversion (for when a user explicitly chooses to change type) and in ValueGuesser (for guesses about strings entered into empty columns).

Test Plan: Adds unit tests for NumberParse and ValueGuesser and updates the TypeChange2 nbrowser test.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3294
2022-03-03 21:32:03 +02:00
..
aclui (core) add a user.SessionID value for trigger formulas and granular access rules 2022-02-22 12:50:43 -05:00
components (core) Guess numeric formatting options 2022-03-03 21:32:03 +02:00
lib Correct spelling mistakes 2022-02-19 09:46:49 +00:00
models (core) Wait for transform column before finalizing 2022-03-01 13:59:14 -08:00
ui (core) Shortcuts help page can be scrolled using a keyboard 2022-03-02 11:43:05 +01:00
ui2018 (core) Search backwards with Shift+Enter 2022-02-25 14:07:15 +02:00
widgets (core) Guess date format during type conversion 2022-02-21 22:39:47 +02:00
accountMain.ts (core) Enable MFA configuration (and add SMS) 2022-01-19 13:55:54 -08:00
app.css (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
app.js (core) Disable bfcache for all browsers 2021-11-24 09:47:00 -08:00
browserCheck.ts (core) fix browser check and favicon in grist-core 2022-01-05 18:15:05 -05:00
declarations.d.ts (core) Remove some unused code, especially in ViewConfigTab 2022-02-04 12:15:00 +02:00
errorMain.ts (core) Enable MFA configuration (and add SMS) 2022-01-19 13:55:54 -08:00
exposeModulesForTests.js (core) Some cleanup: remove old unused modules. 2020-11-20 11:23:20 -05:00
logo.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
tsconfig.json freshen app/client/ui2018/cssVars.ts 2020-06-23 16:16:38 -04:00