canvas-lms/doc
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
..
api allow external tools to toggle course nav 2021-04-21 18:31:19 +00:00
diagrams API doc update for a group assignment override 2013-02-08 11:50:54 -07:00
docker rails 6 spec error formatter fix, plus docs 2021-01-21 17:07:41 +00:00
examples Quiz Stats - Multiple Answers 2014-06-05 09:12:19 +00:00
images Store EULA agreement timestamp 2017-11-02 19:43:35 +00:00
lti_manual Add LTI launch index to LTI manual docs 2021-03-22 14:32:24 +00:00
styleguide Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
yard_plugins fix editor guard and availability 2021-04-05 17:35:35 +00:00
DEPRECATION.md api docs: add deprecation functionality + documentation 2018-08-16 18:27:55 +00:00
GraphQL Validation Errors.md graphql: add CreateGroupInSet mutation 2018-11-14 00:49:29 +00:00
high_level.txt remove non-draft-state everything 2014-12-10 17:57:18 +00:00
js_code_coverage.md fix JS job sanity around COVERAGE var 2021-01-27 16:24:14 +00:00
live_events.md add user_sis_id and user_login to live events 2019-09-12 16:33:42 +00:00
testing_javascript.md update JS testing docs 2021-01-06 22:47:53 +00:00
testing_with_selenium.md Support running against headless chrome, fix flakey spec 2021-01-12 16:27:14 +00:00
using_guard_rail_in_development.md Always use primary DB when doing LTI assignment fixups 2021-02-09 21:08:14 +00:00
working_with_pulsar.md MessageBus integration vector 2021-04-15 22:14:38 +00:00
working_with_webpack.md require yarn, not npm 2017-08-14 15:27:14 +00:00