1
0
Fork 0
Commit graph

180 commits

Author SHA1 Message Date
Paul Jankowski
ded5d44f5b
chore: release v4.4.0 (#2820)
* chore: release v4.4.0

* fix: changelog

* fix(ci): Split dts building to own process for all packages

* fix: remove unused import

* fix: remove unused import

* update yarn cache key

* fix: better dependency management
2025-12-19 12:56:58 -05:00
Paul Jankowski
a98294a4fc
Revert "chore: release v4.4.0 (#2818)" (#2819)
This reverts commit 79c17f5fc2.
2025-12-19 11:37:09 -05:00
Paul Jankowski
79c17f5fc2
chore: release v4.4.0 (#2818)
* chore: release v4.4.0

* fix: changelog
2025-12-19 10:16:11 -05:00
Paul Jankowski
171c504f11
feat(sidepanel): Introduce Ask AI Sidepanel (#2816)
* feat(sidepanel): Add sidepanel component for Ask AI (#2792)

* feat(sidepanel): Initial working Sidepanel implementation

* fix: circleci config

* fix: set proper sidepanel export

* Sidepanel props updates, conversation screen updates

* Started mobile work

* Style prompt input and header for mobile

* fixes prompt input height, adds more translations, mobile updates, fixes panel height calculations

* finish mobile, adds dark theme, minor fixes

* fix: lock

* Add missing titles to buttons

* Have most recent conversation be at the bottom of the exchange list, scroll to newest conversation

* fix: versions

* move to floating variant being default for Sidepanel

---------

Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>

* feat(sidepanel): Sidepanel/Modal hybrid mode (#2799)

* feat(sidepanel): Initial working Sidepanel implementation

* fix: circleci config

* fix: set proper sidepanel export

* Sidepanel props updates, conversation screen updates

* Started mobile work

* Style prompt input and header for mobile

* fixes prompt input height, adds more translations, mobile updates, fixes panel height calculations

* finish mobile, adds dark theme, minor fixes

* fix: lock

* Add missing titles to buttons

* Have most recent conversation be at the bottom of the exchange list, scroll to newest conversation

* feat(sidepanel): Allow hybrid mode for Sidepanel and Modal

* fix: yarn.lock

* fix: tests - dont send new chat message from modal while in hybrid mode

* Make docsearch core a true dependency

* Cleanup handling the registered views Set

---------

Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>

* feat(sidepanel): Add sidepanel-js package for CDN (#2800)

* feat(sidepanel): Initial working Sidepanel implementation

* fix: circleci config

* fix: set proper sidepanel export

* Sidepanel props updates, conversation screen updates

* Started mobile work

* Style prompt input and header for mobile

* fixes prompt input height, adds more translations, mobile updates, fixes panel height calculations

* finish mobile, adds dark theme, minor fixes

* fix: lock

* Add missing titles to buttons

* Have most recent conversation be at the bottom of the exchange list, scroll to newest conversation

* feat(sidepanel): Add sidepanel-js package for CDN

* fix: ci

* fix: yarn.lock

---------

Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>

* feat(sidepanel): Sidepanel UI/UX tweaks (#2808)

* fix(umd): Fixes global names for packages in UMD builds

* chore: Update tsdeclaration files, update directory field in package json files

* feat(sidepanel): Add Sidepanel documentation (#2811)

* feat(sidepanel): Add Sidepanel documentation

* Minor fixes and updates

* Hybrid mode update

* fix: hardcode yarn cache key for now

---------

Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>
2025-12-17 13:25:50 -05:00
Vasco Bettencourt
fd0de3d16f
feat(askai): add thread depth limit logic (#2812) 2025-12-16 08:59:28 +00:00
Paul Jankowski
d531137f14
feat(askai): Handle errors better for Ask AI (#2803) 2025-11-26 10:35:36 -05:00
Rami Yushuvaev
9ed6c5a9ba
feat: Native RTL support (#2802) 2025-11-20 11:09:21 +01:00
Paul Jankowski
98067b58a2
chore: release v4.3.2 (#2798) 2025-11-10 16:24:42 -05:00
Paul Jankowski
82a0083c75
chore: release v4.3.1 (#2796)
* chore: release v4.3.1

* Manually bump version numbers
2025-11-04 14:42:36 -05:00
Dylan Tientcheu
4d951ccc93
chore: release v4.3.0 (#2794) 2025-11-04 12:42:21 -05:00
Paul Jankowski
e5ae33fe90
feat(composable-api): Document Composable API (#2793) 2025-11-04 09:40:05 -05:00
Paul Jankowski
b91e3099c6
feat: Composable API packages versions (#2789) 2025-10-29 11:25:38 -04:00
Paul Jankowski
2b4779ad06
feat(suggested-questions): Add suggested questions (#2787)
* feat(suggested-questions): Add suggested questions

* fix: build

* add docs, fix react-example

* add some more documentation
2025-10-28 14:31:44 -04:00
Paul Jankowski
5e9bdfed70
feat(composable-api): Introduce new Composable API (#2779)
* feat(composable-api): Step 1, new core package, pull basic state up higer (#2771)

* feat(composable-api): Step 1, new core package, pull basic state up higher

* Package cleanup, update core Readme

* Cleanup to fix weird import behavior

* Fix dependencies

* Try fixing deps again

* Track new package dist in CI

* Make sure to restore core package

* feat(composable-api): Step 2, composable DocSearchButton (#2772)

* feat(composable-api): Step 1, new core package, pull basic state up higher

* Package cleanup, update core Readme

* Cleanup to fix weird import behavior

* Fix dependencies

* Try fixing deps again

* Track new package dist in CI

* Make sure to restore core package

* feat(composable-api): Step 2, move DocSearchButton to be composable

* Implement keyboard shortcuts props

* Set modal package version

* Render new DocSearchButton in react package

* Bump allowed bundle size for now

* feat(composable-api): Step 3, composable DocSearchModal (#2774)

* feat(composable-api): Step 1, new core package, pull basic state up higher

* Package cleanup, update core Readme

* Cleanup to fix weird import behavior

* Fix dependencies

* Try fixing deps again

* Track new package dist in CI

* Make sure to restore core package

* feat(composable-api): Step 2, move DocSearchButton to be composable

* Implement keyboard shortcuts props

* Set modal package version

* Render new DocSearchButton in react package

* Bump allowed bundle size for now

* feat(composable-api): Step 3, make DocSearchModal composable

* Clean up needed dependencies, add more bundle checks

* fix: CI

* add test cases to core package

* add test cases to modal package

* fixes after rebase

* fix: lint

* Memoize modal props to stabalize rendering

* Dont track isModalActive in props

* bump @docsearch/modal bundlesize

* remove icons dir from @docsearch-modal

* update version definition for @docsearch-react and @docsearch-modal

* fix: lint
2025-10-20 16:22:53 -04:00
Vasco Bettencourt
5381e76126
fix(docsearch-js): resultsFooterComponent not working in JS CDN version (#2786)
* fix: resultsFooterComponent not working in JS CDN version

* fix: ci

* feat: implement htm templates

* fix: ci

* fix

* fix

* fix: ci

* fix: types

* fix: rollup

* fix: ci

* fix

* feat: add hitComponent updated docs

* fix: formatting
2025-10-15 09:57:00 +01:00
Dylan Tientcheu
4e0fc72f4d
chore: release v4.2.0 (#2781) 2025-10-08 17:51:15 +02:00
Paul Jankowski
a3ab7a8176
feat: Modal UI/UX fixes and updates (#2780)
* feat: Modal UI/UX fixes and updates

* fix: manually handle common HTML entities to prevent XSS
2025-10-06 10:08:27 -04:00
Vasco Bettencourt
9986cbf426
feat: update Ask AI docs (#2775)
* feat: add link to Ask AI Algolia docs

* docs: add dual SDK support to Ask AI API docs

* fix: ci

* docs: uniformize Ask AI copy

* fix
2025-10-05 23:43:03 +01:00
Dylan Tientcheu
cd9e6fb3fb
fix: remove hit favorite and hit deletion animations (#2777) 2025-10-03 16:37:25 +02:00
Paul Jankowski
5d8943b5c6
fix(askai): Fixes issue with askai state being outside DocSearchModal (#2778)
Fixes an issue with Docusaurus after the new Ask AI screens were added.
This was caused from the state and callbacks being set outside of
DocSearchModal.

- Move askAiState inside of DocSearchModal
- Handle changing the state when needed
- Updates color styling of dropdown menu
2025-10-02 16:00:09 -04:00
Vasco Bettencourt
d8ad7f6d5f
feat: curate AskAI search parameters (#2768)
* feat: curate AskAI search parameters

* fix

* fix docs

* fix

* fix: remove attributesToSnippet

* fix

---------

Co-authored-by: Dylan Tientcheu <dylan.tientcheu@algolia.com>
2025-09-24 19:40:08 +01:00
Paul Jankowski
0267f55453
feat: Modal and AskAI UX tweaks (#2765)
* feat: UX tweaks for Modal

* Prepare new conversation screen to accept suggested questions

* Add conversation history screen

* Reset basic askai config

* Reset askai api url

* Document new translations

* Remove unused CSS

* Add translation for stopped streaming text

* Add rest of translations

* Bump allowed bundle size

* Bump allowed bundle size
2025-09-23 11:44:23 -04:00
Dylan Tientcheu
2ff6353cb2
chore: release v4.1.0 (#2770) 2025-09-22 23:01:57 +02:00
Paul Jankowski
b15f302ee3
feat: Split docsearch-react package exports (#2764)
* feat: Split docsearch-react package exports

* Adds more explicit exports from @docsearch/react package

* fix: docusaurus import

---------

Co-authored-by: Dylan Tientcheu <dylan.tientcheu@algolia.com>
Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>
2025-09-22 13:46:55 -04:00
Dylan Tientcheu
9a908b89b0
fix: add docsearch 4 to website (#2767)
Co-authored-by: Paul Jankowski <8BitTitan@gmail.com>
2025-09-22 10:52:07 +02:00
Dylan Tientcheu
4f895f8839
chore: release v4.0.1 (#2763) 2025-09-16 16:54:49 +02:00
Dylan Tientcheu
e76e07e9f4
chore: release v4.0.1 (#2762) 2025-09-16 16:03:46 +02:00
Paul Jankowski
55934d8f98
fix(modal): Fixes issue with index typings on DocSearchModal (#2760) 2025-09-16 09:48:12 -04:00
Paul Jankowski
40112944e8
fix(deps): Adds zod to dependency list (#2759) 2025-09-16 08:54:50 -04:00
Dylan Tientcheu
7f97f5c6f6
chore: release v4.0.0 (#2757) 2025-09-15 17:44:14 +02:00
Dylan Tientcheu
6921e7225a
chore: Promote DocSearch v4 from Beta to Stable (#2752)
Co-authored-by: Paul Jankowski <8BitTitan@gmail.com>
Co-authored-by: Paul Jankowski <33367713+8bittitan@users.noreply.github.com>
2025-09-15 16:41:59 +02:00
Paul Jankowski
df20e6c791
feat(askai): ai-sdk v5 (#2746)
* feat(askai): Initial ai-sdk v5 work

* Add sdk version header, code cleanup

* feat(askai): Get ai sdk v5 working

* fix: tests bundlesize

* fix: not all streaming states were showing

* fix: Show reasoning state, fix CSS issues, extract link sources for multiple text parts

* Remove important for removing text decoration
2025-09-11 10:53:10 -04:00
Greg Brimble
5be3e846a9
Add keyboardShortcuts property to allow users to customize shortcuts (#2740)
Co-authored-by: Paul Jankowski <33367713+8bittitan@users.noreply.github.com>
2025-09-04 09:05:08 -04:00
Paul Jankowski
905e26d693
feat(v4): Add support for multi-index search (#2736)
* feat(v4): Add support for multi-index search

* feat(docs): Document new indices property and mark indeName and searchParameters as deprecated

---------

Co-authored-by: Dylan Tientcheu <dylan.tientcheu@algolia.com>
2025-09-02 11:18:38 -04:00
Dylan Tientcheu
47be73da2c
chore: release v4.0.0-beta.8 (#2739) 2025-08-28 15:52:04 +02:00
Dylan Tientcheu
e8ba175868
fix: ensure content items are saved to recent searches (#2738) 2025-08-28 15:48:51 +02:00
Paul Jankowski
f065790ce6
feat(docs): Add Ask AI error documentation (#2726)
* feat(docs): Add Ask AI error documentation

* feat(askai): Render AI stream error messages as Markdown to allow for links
2025-08-27 17:02:46 -04:00
Dylan Tientcheu
e2fe65e739
fix(docsearch): use correct index name for Ask AI localStorage keys (#2733) 2025-08-26 16:26:30 +02:00
Dylan Tientcheu
bdb5d907e8
chore: release v4.0.0-beta.7 (#2717) 2025-08-14 21:00:32 +02:00
Dylan Tientcheu
d5c9c527d7
feat: a11y and ux tweaks (#2712)
Co-authored-by: Natan Yagudayev <natanyagudayev@gmail.com>
2025-08-14 20:04:30 +02:00
Paul Jankowski
2e4c11459e
feat(askai): Dont display links from code blocks in sources (#2709)
* feat(askai): Dont display links from code blocks in sources

* Remove no-continue comment
2025-08-11 10:28:28 -04:00
Dylan Tientcheu
dfe6cd5ab3
chore: release v4.0.0-beta.6 (#2707) 2025-08-11 09:19:43 +02:00
Dylan Tientcheu
3478262b3e
fix: cater for transformItems to use DS with custom indices (#2705) 2025-08-08 16:24:24 +02:00
Paul Jankowski
95af410f82
feat: Add recent searches limit param (#2704) 2025-08-07 12:39:25 -04:00
Dylan Tientcheu
9b29687456
chore: release v4.0.0-beta.5 (#2685) 2025-07-24 12:31:54 +02:00
Dylan Tientcheu
36021b9051
chore: release v4.0.0-beta.4 (#2679) 2025-07-22 18:52:30 +02:00
Dylan Tientcheu
60d8d5aa30
chore: release v4.0.0-beta.3 (#2677) 2025-07-22 11:30:03 +02:00
Dylan Tientcheu
55e3eb301c
feat(askai): add facet filtering (#2676) 2025-07-22 11:28:18 +02:00
Dylan Tientcheu
19c1ef9192
feat(v4): release v4 (#2555) (#2666)
* feat(v4): add new UI (#2555)

* feat: add new footer ui

* feat: add new search box ui

* feat: add searchbox actions

* feat: add start screen

* feat: add no results screen

* feat: add new card ui

* feat: add new icons

* feat: add new key press class

* fix: cypress tests

* fix: circleci

* fix: circleci

* fix: close aria label

* fix: circleci

* fix: remove unused classes

* fix: circleci

* feat: update version

* feat: add new dark mode ui

* fix: colors

* fix: design review

* fix: hit title length

* fix: improve accessibility

* fix: ci

* chore: increase bundle size threshold

* fix: css

* feat(v4): ask-ai foundations  (#2574)

* feat(v4): docsearch askAI context (#2587)

* fix(v4): ask ai updates (#2654)

* feat(v4): update beta documentation (#2659)

* chore: release v4.0.0-beta.0 (#2660)

* fix: make release run on branches like v4

* chore: release v4.0.0-beta.0

* hotfix: closing on askai error

* chore: release v4.0.0-beta.1 (#2661)

* fix: add a section on models

* fix: update to `<package>@beta`

* feat(docsearch-website): Updated docs (#2662)

* feat(v4): update the landing page (#2665)

* fix: beta in readme

* feat: added glow around the search bar and a little copy above the keyboard

* feat: add glow around the search bar and copy above the keyboard

* fix: Add more styling

* fix: polishing v4 (#2667)

* chore: release v4.0.0-beta.2 (#2668)

* fix: update docusaurus tarballs

* fix(website): update docusaurus tarballs

* fix: mobile search bar

---------

Co-authored-by: Vasco Bettencourt <32492444+vascobettencourt@users.noreply.github.com>
Co-authored-by: Natan Yagudayev <natanyagudayev@gmail.com>
2025-07-17 15:53:46 +02:00
NiteshSingh17
85568ce095
feat: add theme prop (#2651)
Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>
2025-07-08 20:05:25 +02:00