canvas-lms/packages
Weston Dransfield 0ffc9d82b4 Allow setting file override context files show
refs MAT-719
flag=buttons_and_icons_root_account

Test Plan
- build canavs-rce and canvas JS bundles. Make sure you
  are running lateste RCS NOT from an image
- In a course, create two assignments: "Assignment A" and
  "Assignment B"
- In Assignment A, create a button and icon in the description
- Save Assignment A
- Embed the exact same button and icon in Assignment B's
  description.
- Save Assignment B
- Edit Assignment A. Click the button and icon in the RCE
  and then choose "Edit" to update the button and icon
- Verify a request was made that included that looks like this:
  Path: /files/2168/download
  Params:
    download_frd=1
    replacement_chain_context_type=course
    replacement_chain_context_id=<cours id>
- Make a memorable change to the button and icon. Make sure
  to click the "Apply changes to all instances..." checkbox
  before saving.
- Edit Assignment B
- Verify the button and icon has updated to match the changes
  made in step 8.
- Click "edit" on the button and icon. Verify the edit form
  is pre-populated. Verify you can make changes to the button
  and icon.
- In a new assignment, add a button from the existing buttons
  and icons tray
- Save the assignment
- Edit the assignment and verify you are able to edit the
  button and icon

Change-Id: I51df7574941326b1332cc1df973adb98debcf061
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286356
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jon Scheiding <jon.scheiding@instructure.com>
QA-Review: Jon Scheiding <jon.scheiding@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2022-03-04 16:45:20 +00:00
..
array-erase rename some things 2021-04-06 01:12:49 +00:00
babel-preset-pretranslated-format-message Run prettier on packages/ 2019-10-11 19:29:16 +00:00
babel-preset-pretranslated-translations-package-format-message Use new translation package for packages 2020-01-03 20:34:46 +00:00
backbone-identity-map rename some things 2021-04-06 01:12:49 +00:00
backbone-input-filter-view rename some things 2021-04-06 01:12:49 +00:00
backbone-input-view rename some things 2021-04-06 01:12:49 +00:00
bootstrap-dropdown rename some things 2021-04-06 01:12:49 +00:00
bootstrap-select replace node-sass with dart-sass 2021-07-15 17:35:35 +00:00
browser-sniffer rename some things 2021-04-06 01:12:49 +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 ensure workspace pkgs aren't fetched from registry 2022-01-18 19:15:21 +00:00
canvas-planner re-enable canvas javascript coverage report 2022-02-28 15:36:57 +00:00
canvas-rce Allow setting file override context files show 2022-03-04 16:45:20 +00:00
compose rename some things 2021-04-06 01:12:49 +00:00
convert-case rename some things 2021-04-06 01:12:49 +00:00
date-js rename some things 2021-04-06 01:12:49 +00:00
datetime ensure workspace pkgs aren't fetched from registry 2022-01-18 19:15:21 +00:00
datetime-moment-parser extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
defer-promise rename some things 2021-04-06 01:12:49 +00:00
deparam rename some things 2021-04-06 01:12:49 +00:00
ember rename some things 2021-04-06 01:12:49 +00:00
escape-regex rename some things 2021-04-06 01:12:49 +00:00
force-screenreader-to-reparse rename some things 2021-04-06 01:12:49 +00:00
format-message-estree-util Fix i18n:exract 2021-06-24 18:01:47 +00:00
get-cookie Rename packages/get-cookie package 2022-02-07 18:37:05 +00:00
html-escape rename some things 2021-04-06 01:12:49 +00:00
intl-polyfills Redo the locale polyfiller using new features from @formatjs 2022-02-15 17:53:56 +00:00
jest-moxios-utils Upgrade Jest to 26 2021-11-15 19:28:14 +00:00
jquery-fancy-placeholder rename some things 2021-04-06 01:12:49 +00:00
jquery-kyle-menu Fix jQuery Kyle Menu to support JAWS 2021-10-06 21:47:54 +00:00
jquery-pageless rename some things 2021-04-06 01:12:49 +00:00
jquery-popover rename some things 2021-04-06 01:12:49 +00:00
jquery-qtip rename some things 2021-04-06 01:12:49 +00:00
jquery-scroll-into-view rename some things 2021-04-06 01:12:49 +00:00
jquery-scroll-to-visible rename some things 2021-04-06 01:12:49 +00:00
jquery-selectmenu show SG student menu focus ring when tabbing 2021-11-10 19:40:33 +00:00
jquery-sticky rename some things 2021-04-06 01:12:49 +00:00
jquery-tinypubsub rename some things 2021-04-06 01:12:49 +00:00
jquery-tree rename some things 2021-04-06 01:12:49 +00:00
jqueryui Address date/time parsing issues in non-en locales 2021-09-29 06:15:56 +00:00
js-utils Show observee data on the student planner 2022-02-25 18:51:18 +00:00
k5uploader Run prettier on packages/ 2019-10-11 19:29:16 +00:00
link-header-parsing rename some things 2021-04-06 01:12:49 +00:00
lodash-underscore rename some things 2021-04-06 01:12:49 +00:00
make-promise-pool rename some things 2021-04-06 01:12:49 +00:00
mathml Revert "Fix equation image resize for quizzes" 2022-02-19 00:22:21 +00:00
obj-flatten rename some things 2021-04-06 01:12:49 +00:00
obj-select rename some things 2021-04-06 01:12:49 +00:00
obj-unflatten rename some things 2021-04-06 01:12:49 +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
parse-browser-info rename some things 2021-04-06 01:12:49 +00:00
persistent-array instrument datetime natural parsing 2021-09-16 18:33:40 +00:00
prevent-default rename some things 2021-04-06 01:12:49 +00:00
query-string-encoding rename some things 2021-04-06 01:12:49 +00:00
react-dnd-test-backend rename some things 2021-04-06 01:12:49 +00:00
ready Now that we have streaming, execute JS sooner 2019-09-19 23:10:43 +00:00
round rename some things 2021-04-06 01:12:49 +00:00
sanitize-html-with-tinymce Fix Find Outcome button when Adding/Viewing Rubric 2021-12-21 21:04:21 +00:00
sanitize-url rename some things 2021-04-06 01:12:49 +00:00
shortid rename some things 2021-04-06 01:12:49 +00:00
slickgrid replace node-sass with dart-sass 2021-07-15 17:35:35 +00:00
str-pluralize rename some things 2021-04-06 01:12:49 +00:00
strip-tags rename some things 2021-04-06 01:12:49 +00:00
translations [i18n] Update package translations 2022-03-04 04:50:23 +00:00
url-encoding rename some things 2021-04-06 01:12:49 +00:00
validated-apollo rename some things 2021-04-06 01:12:49 +00:00
with-breakpoints rename some things 2021-04-06 01:12:49 +00:00