fixes CNVS-7889
adds a plugin which will render a partial whenever the chat widget
should be inserted. useful partial to come later
test plan
- install our chat LTI tool at an account level
- the plugin sends a message to the javascript console when the
chat widget would appear
- with the plugin disabled, ensure that the message does not
appear (check the course index, where it normally would)
- with the plugin enabled, ensure that the message does not
appear when:
- you are on gradebook 1 or 2
- you are in speedgrader
- you are taking a quiz
- you are on a page without headers. these pages include:
- unauthorized action page
- the embedded submission on speedgrader
- the 'Join This Course' modal dialog
- you aren't logged in
- with the plugin enabled, ensure that the message appears when
you are on any other course page
- ensure that enabling the plugin on an account does not affect
a different account
Change-Id: I7c3fd9dd882b966160878ded0ca9194e53b11d21
Reviewed-on: https://gerrit.instructure.com/24127
Reviewed-by: Zach Pendleton <zachp@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Product-Review: Joel Hough <joel@instructure.com>