-
- Downloads
feat: Clean up code and improve number normalization logic #321
Summary of changes - Camera capture component: - Reformatted import statements for consistency. - Improved spacing and indentation for better readability. - Added detailed comments to clarify the logic within the capture method and other functions. - DataTable filter component: - Introduced `normalizeNumber` function which normalizes strings to numbers while considering locale-specific decimal separators. - Extended the queries in `collectSearchQueries` to handle different normalization cases. - Popper component: - Reformatted import statements for consistency. - Improved readability through consistent spacing. - Added new test cases for range comparison expressions: - Verified various scenarios such as valid single values, ranges, exclusives, and handling spaces correctly. - Ensured error handling for invalid inputs remains robust.
Showing
- development/issues/open/320.html 22 additions, 0 deletionsdevelopment/issues/open/320.html
- development/issues/open/320.mjs 97 additions, 0 deletionsdevelopment/issues/open/320.mjs
- source/components/content/camera-capture.mjs 389 additions, 387 deletionssource/components/content/camera-capture.mjs
- source/components/datatable/filter.mjs 22 additions, 0 deletionssource/components/datatable/filter.mjs
- source/components/layout/popper.mjs 315 additions, 315 deletionssource/components/layout/popper.mjs
- source/i18n/util.mjs 41 additions, 0 deletionssource/i18n/util.mjs
- source/text/generate-range-comparison-expression.mjs 109 additions, 39 deletionssource/text/generate-range-comparison-expression.mjs
- source/types/version.mjs 1 addition, 1 deletionsource/types/version.mjs
- test/cases/monster.mjs 1 addition, 1 deletiontest/cases/monster.mjs
- test/cases/text/generate-range-comparison-expression.mjs 94 additions, 0 deletionstest/cases/text/generate-range-comparison-expression.mjs
- test/cases/text/util.mjs 3 additions, 3 deletionstest/cases/text/util.mjs
development/issues/open/320.html
0 → 100644
development/issues/open/320.mjs
0 → 100644
Please register or sign in to comment