3 Commits

Author SHA1 Message Date
jacob-moore-cb
8fbeb790e3 Add GPT Chat to Base Docs (#323)
* Install fetch event source to handle SSEs

* Add docs chatbot modal UI.

* Update Modal and Icon components.

* Add no scroll class.

* Add DocChat component.

* Installed fetch event source.

* Add light theme styles. Clean up code.

* Remove unneeded React import.

* Adjust copy as deployment test change.

* Undo test changes.

* Add Mendable URLs to CSP.

* Add markdown rendering support for chatbot responses.

* Yarn lock update.

* Adjust modal layout spacing.

* Fix chatbot modal styling for mobile screens.

* Add UI for rating bot responses.

* Temporarily disable response rating feature.

* Add server API endpoint for processing Base GPT response rating requests.

* Update csp for new API version.

* Add CCA events for GPT interactions. Fix id data types.

* Swap in prod client-side API keys.

* Use session storage for conversation data.

* Swap in prod client-side API keys.

* Remove unneeded log.

* Simplify state updates.

* Replace dangerouslySetInnerHTML with useRef innerHTML.

* Updated yarn.lock

* Swap in test API key for dev.

* Fix typo.

* Swap in prod client-side key.

* Temporarily remove sources. Adjust scroll behavior. Adjust modal close handler. Update API keys.
2024-03-07 13:20:35 -08:00
jacob-moore-cb
bbb2fccaa3 Add Doc Feedback UI (#107)
* Add Modal and Icon components

* Add buttons and modal form for doc feedback
2023-11-03 12:34:01 -07:00
Matthew Bunday
2872ecb0a1 Clean slate for open source 2023-09-19 16:21:42 -04:00