Skip to content

feat(docs): added AskAI function for docsearch (#DS-4628)#1720

Open
artembelik wants to merge 1 commit into
mainfrom
feat/DS-4628
Open

feat(docs): added AskAI function for docsearch (#DS-4628)#1720
artembelik wants to merge 1 commit into
mainfrom
feat/DS-4628

Conversation

@artembelik

Copy link
Copy Markdown
Contributor

No description provided.

@artembelik artembelik self-assigned this Jul 10, 2026
@artembelik artembelik requested a review from lskramarov as a code owner July 10, 2026 12:10
Copilot AI review requested due to automatic review settings July 10, 2026 12:10
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit b8a9ada):

https://koobiq-next--prs-1720-gkogknmf.web.app

(expires Mon, 13 Jul 2026 12:15:40 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the docs site’s Algolia DocSearch integration to v4 and enables the new Ask AI experience, aligning the docs search UI/config with the newer @docsearch/js API.

Changes:

  • Bumped @docsearch/css / @docsearch/js from ^3.9.0 to ^4.6.3.
  • Reworked the docs DocsDocsearchDirective to support v4 options (multi-index config, theme switching via ThemeService, RU translations, and askAi configuration).
  • Simplified DocSearch styling overrides in _docsearch.scss to mostly rely on upstream DocSearch styles.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
yarn.lock Updates lockfile to reflect DocSearch v4 dependency graph.
package.json Bumps DocSearch JS/CSS dependencies to ^4.6.3.
apps/docs/src/styles/_docsearch.scss Removes most custom DocSearch overrides; keeps z-index adjustment.
apps/docs/src/app/components/docsearch/docsearch.directive.ts Migrates DocSearch initialization to v4 config and enables Ask AI + theme/locale handling.
apps/docs/src/app/components/docsearch/docsearch.directive.spec.ts Removes DocSearch directive unit tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/docs/src/app/components/docsearch/docsearch.directive.ts
@artembelik artembelik requested review from NikGurev and rmnturov July 10, 2026 12:20
@@ -1,333 +1,6 @@
/* stylelint-disable scss/at-extend-no-missing-placeholder */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Из apps/docs/src/app/components/navbar/navbar.scss тоже надо убрать кастомизацию стилей, иначе на мобилке некорректно отображается

Image

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