Skip to content

Conversation

TylerZeroMaster
Copy link
Contributor

@TylerZeroMaster TylerZeroMaster commented Sep 18, 2025

https://openstax.atlassian.net/browse/CORE-954

TODO:

  • Figure out CORS/CSP stuff (WIP)
  • Add tests ✅
  • Maybe ensure chat button is disabled when chat is opened (not necessary)
  • Probably add hidden fields to the chat, similar to the contact form params (WIP)
  • Double-check React stuff since it's not my forte ✅

Side note: I had to serve this over https to get it working locally. The CSP inherits the scheme of the document's origin if it is not specified. Since the inserted iframe is https, and my local preview was not, that was creating an error.

Ha, maybe I should stash changes that are WIP before updating snapshots
These might change after rendering, in which case they should be set immediately if we were ready once before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant