canvas-lms/ui/shared
Xander Moffatt 9cd9ef05ce allow external tools to toggle course nav
* via window.postMessage

closes INTEROP-6628
flag=none

test plan:
- launch an lti 1.3 tool
- open the dev tools, go to the console tab
- there should be a dropdown for choosing the context of the console,
and it might default to "top"
- find and select the context of the iframe that holds the 1.3 tool
- paste this into the console:
```
window.parent.postMessage({messageType: "toggleCourseNavigationMenu"},"*");
```
- the course nav should collapse
- run it again and the course nav should expand

Change-Id: Iffaefc26be4e9f1c1b63a1e5697329ceb2395449
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/263037
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Mysti Lilla <mysti@instructure.com>
Reviewed-by: Tucker Mcknight <tmcknight@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Xander Moffatt <xmoffatt@instructure.com>
2021-04-21 18:31:19 +00:00
..
account-quota-settings-view rename some things 2021-04-06 01:12:49 +00:00
add-people rename some things 2021-04-06 01:12:49 +00:00
alerts Show rubric info above submission in enhanced view 2021-04-19 19:19:16 +00:00
announcements rename some things 2021-04-06 01:12:49 +00:00
apollo Add "cancel attempt" button to footer 2021-04-19 15:27:10 +00:00
assignments Add "cancel attempt" button to footer 2021-04-19 15:27:10 +00:00
authenticity-token rename some things 2021-04-06 01:12:49 +00:00
avatar rename some things 2021-04-06 01:12:49 +00:00
avatar-dialog-view rename some things 2021-04-06 01:12:49 +00:00
axios rename some things 2021-04-06 01:12:49 +00:00
backbone rename some things 2021-04-06 01:12:49 +00:00
backbone-collection-view rename some things 2021-04-06 01:12:49 +00:00
backoff-poller rename some things 2021-04-06 01:12:49 +00:00
blueprint-courses rename some things 2021-04-06 01:12:49 +00:00
brandable-css rename some things 2021-04-06 01:12:49 +00:00
calendar rename some things 2021-04-06 01:12:49 +00:00
calendar-conferences rename some things 2021-04-06 01:12:49 +00:00
color-picker rename some things 2021-04-06 01:12:49 +00:00
combo-box rename some things 2021-04-06 01:12:49 +00:00
conditional-release-cyoe-helper rename some things 2021-04-06 01:12:49 +00:00
conditional-release-editor rename some things 2021-04-06 01:12:49 +00:00
conditional-release-score rename some things 2021-04-06 01:12:49 +00:00
conditional-release-stats rename some things 2021-04-06 01:12:49 +00:00
confetti rename some things 2021-04-06 01:12:49 +00:00
content-locks rename some things 2021-04-06 01:12:49 +00:00
content-migrations rename some things 2021-04-06 01:12:49 +00:00
content-sharing rename some things 2021-04-06 01:12:49 +00:00
context-cards rename some things 2021-04-06 01:12:49 +00:00
context-module-file-drop rename some things 2021-04-06 01:12:49 +00:00
context-modules rename some things 2021-04-06 01:12:49 +00:00
course-homepage rename some things 2021-04-06 01:12:49 +00:00
courses allow external tools to toggle course nav 2021-04-21 18:31:19 +00:00
dashboard-card Update K5 Dashcard links to schedule tab 2021-04-14 15:19:54 +00:00
date-group rename some things 2021-04-06 01:12:49 +00:00
datetime fix due time tooltips when timezone offsets are not in hours 2021-04-16 16:20:54 +00:00
day-substitution rename some things 2021-04-06 01:12:49 +00:00
deep-linking rename some things 2021-04-06 01:12:49 +00:00
dialog-base-view rename some things 2021-04-06 01:12:49 +00:00
direct-sharing rename some things 2021-04-06 01:12:49 +00:00
discussions rename some things 2021-04-06 01:12:49 +00:00
do-fetch-api-effect rename some things 2021-04-06 01:12:49 +00:00
doc-previews rename some things 2021-04-06 01:12:49 +00:00
due-dates rename some things 2021-04-06 01:12:49 +00:00
easy-student-view rename some things 2021-04-06 01:12:49 +00:00
editor-toggle rename some things 2021-04-06 01:12:49 +00:00
error-boundary rename some things 2021-04-06 01:12:49 +00:00
external-apps rename some things 2021-04-06 01:12:49 +00:00
external-tools rename some things 2021-04-06 01:12:49 +00:00
feature-flag-admin-view Revert "Retire new_features_ui feature flag" 2021-04-09 16:31:53 +00:00
feature-flags Add "cancel attempt" button to footer 2021-04-19 15:27:10 +00:00
files rename some things 2021-04-06 01:12:49 +00:00
forms rename some things 2021-04-06 01:12:49 +00:00
generate-pairing-code rename some things 2021-04-06 01:12:49 +00:00
generic-error-page rename some things 2021-04-06 01:12:49 +00:00
google-analytics rename some things 2021-04-06 01:12:49 +00:00
grade-summary rename some things 2021-04-06 01:12:49 +00:00
gradebook-content-filters rename some things 2021-04-06 01:12:49 +00:00
gradebook-menu rename some things 2021-04-06 01:12:49 +00:00
grading rename some things 2021-04-06 01:12:49 +00:00
grading-standard-collection rename some things 2021-04-06 01:12:49 +00:00
grading-standards rename some things 2021-04-06 01:12:49 +00:00
grading-status-pill rename some things 2021-04-06 01:12:49 +00:00
graphql Add mutation deleteDiscussionTopic and minor refactor. 2021-04-09 21:52:57 +00:00
graphql-query-mock rename some things 2021-04-06 01:12:49 +00:00
group-modal rename some things 2021-04-06 01:12:49 +00:00
groups rename some things 2021-04-06 01:12:49 +00:00
handlebars-helpers rename some things 2021-04-06 01:12:49 +00:00
hide-assignment-grades-tray rename some things 2021-04-06 01:12:49 +00:00
i18n rename some things 2021-04-06 01:12:49 +00:00
images rename some things 2021-04-06 01:12:49 +00:00
infinite-scroll rename some things 2021-04-06 01:12:49 +00:00
instui-bindings rename some things 2021-04-06 01:12:49 +00:00
integrations Add button to schedule MSFT sync 2021-04-20 20:44:28 +00:00
jquery rename some things 2021-04-06 01:12:49 +00:00
k5 Adds K-5 schedule tab jump to navigation button 2021-04-21 18:19:45 +00:00
keyboard-nav-dialog rename some things 2021-04-06 01:12:49 +00:00
keycodes rename some things 2021-04-06 01:12:49 +00:00
link-enrollment rename some things 2021-04-06 01:12:49 +00:00
loading-image rename some things 2021-04-06 01:12:49 +00:00
loading-indicator rename some things 2021-04-06 01:12:49 +00:00
lock-icon rename some things 2021-04-06 01:12:49 +00:00
lti allow external tools to toggle course nav 2021-04-21 18:31:19 +00:00
mathquill rename some things 2021-04-06 01:12:49 +00:00
media-comments rename some things 2021-04-06 01:12:49 +00:00
media-recorder rename some things 2021-04-06 01:12:49 +00:00
mediaelement rename some things 2021-04-06 01:12:49 +00:00
message-students-dialog rename some things 2021-04-06 01:12:49 +00:00
message-students-modal rename some things 2021-04-06 01:12:49 +00:00
mime rename some things 2021-04-06 01:12:49 +00:00
modal rename some things 2021-04-06 01:12:49 +00:00
module-sequence-footer rename some things 2021-04-06 01:12:49 +00:00
modules rename some things 2021-04-06 01:12:49 +00:00
move-item-tray rename some things 2021-04-06 01:12:49 +00:00
msw spec: move mswServer and mswClient into shared 2021-04-09 18:32:06 +00:00
multi-select rename some things 2021-04-06 01:12:49 +00:00
network rename some things 2021-04-06 01:12:49 +00:00
normalize-registration-errors rename some things 2021-04-06 01:12:49 +00:00
notification-preferences rename some things 2021-04-06 01:12:49 +00:00
notifications rename some things 2021-04-06 01:12:49 +00:00
outcome-content-view rename some things 2021-04-06 01:12:49 +00:00
outcome-gradebook-grid rename some things 2021-04-06 01:12:49 +00:00
outcome-sidebar-view rename some things 2021-04-06 01:12:49 +00:00
outcomes Remove uses of jquery in new OutcomeManagement 2021-04-19 23:47:48 +00:00
pagination rename some things 2021-04-06 01:12:49 +00:00
panda-pub-client rename some things 2021-04-06 01:12:49 +00:00
panda-pub-poller rename some things 2021-04-06 01:12:49 +00:00
permissions rename some things 2021-04-06 01:12:49 +00:00
post-assignment-grades-tray rename some things 2021-04-06 01:12:49 +00:00
progress rename some things 2021-04-06 01:12:49 +00:00
pseudonyms rename some things 2021-04-06 01:12:49 +00:00
publish-button-view rename some things 2021-04-06 01:12:49 +00:00
publish-icon-view rename some things 2021-04-06 01:12:49 +00:00
quiz-legacy-client-apps rename some things 2021-04-06 01:12:49 +00:00
quiz-log-auditing avoid tracking useless event when focusing/blurring the RCE 2021-04-14 19:53:01 +00:00
quizzes rename some things 2021-04-06 01:12:49 +00:00
rails-flash-notifications rename some things 2021-04-06 01:12:49 +00:00
rce upload to course files by default for annotated assignments 2021-04-09 16:16:48 +00:00
react-modal rename some things 2021-04-06 01:12:49 +00:00
rubrics rename some things 2021-04-06 01:12:49 +00:00
sections rename some things 2021-04-06 01:12:49 +00:00
sections-tooltip rename some things 2021-04-06 01:12:49 +00:00
select-content-dialog rename some things 2021-04-06 01:12:49 +00:00
select-position rename some things 2021-04-06 01:12:49 +00:00
services rename some things 2021-04-06 01:12:49 +00:00
signup-dialog rename some things 2021-04-06 01:12:49 +00:00
sis rename some things 2021-04-06 01:12:49 +00:00
speed-grader-link rename some things 2021-04-06 01:12:49 +00:00
spinner rename some things 2021-04-06 01:12:49 +00:00
student-group-filter rename some things 2021-04-06 01:12:49 +00:00
svg-wrapper rename some things 2021-04-06 01:12:49 +00:00
syllabus Fix issues with syllabus mini calendar 2021-04-07 14:48:02 +00:00
theme-editor rename some things 2021-04-06 01:12:49 +00:00
timezone rename some things 2021-04-06 01:12:49 +00:00
tinymce-equella rename some things 2021-04-06 01:12:49 +00:00
tinymce-external-tools rename some things 2021-04-06 01:12:49 +00:00
tinymce-keyboard-shortcuts rename some things 2021-04-06 01:12:49 +00:00
tinymce-links rename some things 2021-04-06 01:12:49 +00:00
tinymce-record rename some things 2021-04-06 01:12:49 +00:00
tour-pubsub rename some things 2021-04-06 01:12:49 +00:00
trays rename some things 2021-04-06 01:12:49 +00:00
tree-browser-view rename some things 2021-04-06 01:12:49 +00:00
unread-badge rename some things 2021-04-06 01:12:49 +00:00
upload-file rename some things 2021-04-06 01:12:49 +00:00
use-fetch-api-hook rename some things 2021-04-06 01:12:49 +00:00
use-immediate-hook rename some things 2021-04-06 01:12:49 +00:00
use-state-with-callback-hook rename some things 2021-04-06 01:12:49 +00:00
user-settings rename some things 2021-04-06 01:12:49 +00:00
user-sortable-name rename some things 2021-04-06 01:12:49 +00:00
users rename some things 2021-04-06 01:12:49 +00:00
util Expand closed caption language to all supported by Canvas 2021-04-14 20:41:42 +00:00
validated-apollo-mocked-provider rename some things 2021-04-06 01:12:49 +00:00
wiki rename some things 2021-04-06 01:12:49 +00:00