canvas-lms/ui/shared/lti
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
..
jquery allow external tools to toggle course nav 2021-04-21 18:31:19 +00:00
package.json rename some things 2021-04-06 01:12:49 +00:00