Skip to content

docs: config Kapa to open sidebar#2683

Merged
unatasha8 merged 1 commit into
masterfrom
una-kapa-sidebar
Jul 17, 2026
Merged

docs: config Kapa to open sidebar#2683
unatasha8 merged 1 commit into
masterfrom
una-kapa-sidebar

Conversation

@unatasha8

@unatasha8 unatasha8 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Configured Kapa Ask AI to open in right sidebar instead on taking over the whole screen. Users can now continue to interact with the docs site as well as asking questions in the kapa widget.

This significantly improves the user's experience.

Checklist

  • [ X] I have read the contributing guidelines and signed the CLA.
  • I have referenced an issue containing the design document if my change introduces a new feature.
  • [ X] I have read the security policy.
  • [ X] I confirm that this pull request does not address a security vulnerability.
    If this pull request addresses a security vulnerability,
    I confirm that I got approval (please contact security@ory.com) from the maintainers to push the changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added the necessary documentation within the code base (if appropriate).

Summary by CodeRabbit

  • New Features
    • Updated the AI widget to open in sidebar view mode.
    • Renamed the widget modal title to “Ask AI”.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 472e0740-a6a9-4711-bc10-2a79f344d1ef

📥 Commits

Reviewing files that changed from the base of the PR and between 28044cc and d78eb7c.

📒 Files selected for processing (1)
  • src/theme/KapaWidget.tsx

📝 Walkthrough

Walkthrough

The Kapa widget injection now opens in sidebar mode and labels its modal “Ask AI”; the disclaimer attribute formatting was also adjusted.

Changes

Kapa widget configuration

Layer / File(s) Summary
Update widget presentation
src/theme/KapaWidget.tsx
Adds data-view-mode="sidebar" and changes the modal title from “Ory AI Copilot” to “Ask AI”.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • ory/docs#2665: Updates the Kapa widget configuration and modal presentation in the same file.

Suggested reviewers: vinckr

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description has a clear summary and checklist, but it omits the required Related Issue or Design Document section for this new feature. Add the Related Issue or Design Document section with the linked issue/design doc, and include any relevant testing or documentation details.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately describes the main change to open Kapa in the sidebar.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch una-kapa-sidebar

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jaygiang jaygiang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@unatasha8
unatasha8 merged commit b573a9f into master Jul 17, 2026
13 checks passed
@unatasha8
unatasha8 deleted the una-kapa-sidebar branch July 17, 2026 18:24
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.

2 participants