canvas-lms/packages
Ed Schiebel df0c660ada Better state handling in Media Upload modal
- depends on COREFE-325
- remember values in each tab when user changes tabs
- disable Submit button when current tab does not have complete data

closes LA-106
AKA COREFE-376

test plan:
  - open a page with the RCE
  - click on media > Upload/Record Media toolbar item
  > expect the Submit button to be disabled
  - select a file in the computer tab
  > expect the Submit button to be enabled
  - switch to the Embed Tab
  > expect the Submit button to be disabled
  - enter text in the embed code textarea
  > expect the Submit button to be enabled
  - switch among the tabs
  > expect the Computer and Embed
    Tabs to retain their data (subtitles are not
    retained in the computer tab and recorded video is
    not retained in the record tab. see COREFE-377)
  > expect the submit button to be enabled where there is
    data
  > expect clicking Submit to do insert the corresponding
    media into the rce

Change-Id: I6833bb99f66ef7e4b738531dd34d4411b54d2dd2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/214263
Reviewed-by: Carl Kibler <ckibler@instructure.com>
Reviewed-by: Jon Willesen <jonw+gerrit@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2019-11-11 22:06:57 +00:00
..
babel-preset-pretranslated-format-message Run prettier on packages/ 2019-10-11 19:29:16 +00:00
browserslist-config-canvas-lms rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
canvas-media Better state handling in Media Upload modal 2019-11-11 22:06:57 +00:00
canvas-planner Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
canvas-rce Improve audio and video titles in the rce 2019-11-07 16:39:12 +00:00
jest-moxios-utils Run prettier on packages/ 2019-10-11 19:29:16 +00:00
js-utils Add video options tray to the rce 2019-10-30 13:14:42 +00:00
k5uploader Run prettier on packages/ 2019-10-11 19:29:16 +00:00
old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock upgrade react from 15.x to 16.x 2018-09-26 19:04:47 +00:00
ready Now that we have streaming, execute JS sooner 2019-09-19 23:10:43 +00:00
translations [i18n] Update package translations 2019-11-09 04:47:44 +00:00