Skip to content

Conversation

@jarosenb
Copy link
Contributor

Overview

Add an "Ask AI" button that links out to a URL provided using the _DOCS_CHATBOT_URL custom setting.

Related

Changes

Testing

  1. Set _DOCS_CHATBOT_URL = "/path/to/chatbot" in settings_custom.py
  2. Confirm that the button displays (in both CMS and portal views) and has href="/path/to/chatbot"

UI

Logged in:
image
Logged out:
image
Setting not provided:
image

Notes

@codecov
Copy link

codecov bot commented Dec 17, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 70.67%. Comparing base (152b3da) to head (14aad98).

Files with missing lines Patch % Lines
server/portal/settings/settings.py 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1196      +/-   ##
==========================================
- Coverage   70.67%   70.67%   -0.01%     
==========================================
  Files         543      543              
  Lines       34128    34129       +1     
  Branches     2843     2843              
==========================================
  Hits        24121    24121              
- Misses       9804     9805       +1     
  Partials      203      203              
Flag Coverage Δ
javascript 73.00% <ø> (ø)
unittests 60.78% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
server/portal/settings/settings.py 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants