1
0
Fork 0
Commit graph

1842 commits

Author SHA1 Message Date
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
8a9c4519eb
feat(docs): Add utm_ params to apply links (#2817)
* feat(utm): Add utm params to apply links

* Add utm_content to apply links
2025-12-10 09:50:33 -05:00
Paul Jankowski
c7f61062b4
feat(askai): Error code documentation (#2807) 2025-12-08 17:41:03 -05:00
Paul Jankowski
373d1394e1
fix(modal): Fixes modal opening on every keypress (#2813) 2025-12-08 10:47:55 -05:00
Paul Jankowski
b0a28f57f7
fix(button): Fixes default button styling accessibility (#2814) 2025-12-05 16:20:46 -05:00
Paul Jankowski
d531137f14
feat(askai): Handle errors better for Ask AI (#2803) 2025-11-26 10:35:36 -05:00
Dylan Tientcheu
5ef01ecd4d
fix: dropdown menu styles (#2801) 2025-11-20 11:09:59 +01:00
Rami Yushuvaev
9ed6c5a9ba
feat: Native RTL support (#2802) 2025-11-20 11:09:21 +01:00
Dylan Tientcheu
0b260cd094 fix: remove build commands from the netlify.toml file 2025-11-12 10:08:58 +01:00
Paul Jankowski
98067b58a2
chore: release v4.3.2 (#2798) 2025-11-10 16:24:42 -05:00
Paul Jankowski
d9c4220457
fix(suggested-questions): Fixes Suggested Questions on dark theme (#2797) 2025-11-10 16:08:24 -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
Paul Jankowski
2d045b59f2
fix(npm): Publish new packages with public access (#2795) 2025-11-04 14:02:53 -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
Natan Yagudayev
f7be2a65fc
fix(website): updated askai markdown documentation (#2788)
* fix(website): updated askai markdown documentation

* fix(website): updated askai markdown documentation
2025-10-23 16:15:03 -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
Paul Jankowski
8980d47dbc
fix(website): Fix API Reference docs page formatting (#2783) 2025-10-08 14:00:20 -04: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
Paul Jankowski
01517d94de
feat: dark theme support for Menu (#2776) 2025-10-02 16:22:51 +02:00
Vasco Bettencourt
0e6db19d75 docs: remove Ask AI API reference 2025-10-01 16:04:17 +01:00
Dylan Tientcheu
1ff1198da3
fix: typo 2025-09-26 17:12:55 +02: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
2f7bd2748c fix: add gif 2025-09-15 17:35:59 +02:00
Dylan Tientcheu
441cef0356 fix: update readme 2025-09-15 17:29:09 +02:00
Dylan Tientcheu
f74199f492 fix: docs 2025-09-15 16:58:23 +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
Vasco Bettencourt
f6e5541191
Fix typos in askai-errors.mdx
Corrected typos and improved clarity in error documentation.
2025-09-15 14:59:06 +01: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
Dylan Tientcheu
d82fb7cc65 chore: add dev script 2025-09-03 10:25:19 +02: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