canvas-lms/app/jsx/conditional_release_editor
Jeremy Stanley b89b804864 fix mastery paths bounds in locales with decimal commas
(or other separators)

test plan:
*before pulling down this patch set*, reproduce the bug.
 - this requires setting up I18n locally:
   1. rake 18n:generate_js
   2. RAILS_LOAD_ALL_LOCALES=true USE_OPTIMIZED_JS=true yarn run webpack
   3. RAILS_LOAD_ALL_LOCALES=true bundle exec rails server
 - create a course and set its language to Portuguese
 - enable Mastery Paths feature in the course or its account
 - create at least two assignments, set one of them as a trigger
   assignment and add the other to a mastery path
 - save the trigger assignment
 - edit the assignment and change a cutoff value to a fractional
   number, using a decimal comma (e.g., "7,5"), which should
   be displayed as "7,5 pts"
 - try to save the assignment. this will fail with a 400 error.

*pull down the patchset and re-run webpack*

 - reload the assignment page
 - attempt the edit again
 - this time it should save

flag = conditional_release

fixes LS-1547

Change-Id: Ie7b1a0b1dcef6cfddde2a64e5be83b85ab1ac854
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/250906
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Jackson Howe <jackson.howe@instructure.com>
2020-11-05 23:41:03 +00:00
..
components Implement tooltip for mastery path creation error messages 2020-08-07 20:07:29 +00:00
reducers fix some js warnings in conditional release editor 2020-07-02 18:20:19 +00:00
actions.js
actors.js
assignment-path.js
assignment-picker-actions.js
categories.js
conditional-release-editor.js
create-redux-store.js
cyoe-api.js fix mastery paths bounds in locales with decimal commas 2020-11-05 23:41:03 +00:00
editor-view.js fix some js warnings in conditional release editor 2020-07-02 18:20:19 +00:00
grading-types.js
reducer-helpers.js
reducer.js
score-helpers.js i18n numbers in cyoe editor when parsing into a percentage 2020-08-03 18:18:46 +00:00
validations.js