-
Notifications
You must be signed in to change notification settings - Fork 36
Comparing changes
Open a pull request
base repository: coveo/ui-kit
base: @coveo/headless@3.15.1
head repository: coveo/ui-kit
compare: @coveo/headless@3.16.0
- 7 commits
- 75 files changed
- 6 contributors
Commits on Feb 12, 2025
-
fix(atomic): don't redirect when hovering a instant result & pressing…
… Enter (#4938) https://coveord.atlassian.net/browse/KIT-3910 We now have a new variable in suggestions-manager that tracks they keyboard use. When someone press Enter when having a suggestion/result/recent query selected with the keyboard, it will trigger it's onClick event. Whenever we stop using the keyboard and using the mouse it resets again which will make the Enter event trigger the query in the search box instead. I added a lot of tests to write in vitest.
Configuration menu - View commit details
-
Copy full SHA for eea90a2 - Browse repository at this point
Copy the full SHA eea90a2View commit details
Commits on Feb 13, 2025
-
docs(headless-react): add strings stating the beta status of ssr comm…
…erce (#4960) https://coveord.atlassian.net/browse/DOC-16522 The `(Open Beta)` string will appear in titles for everything under `SSR Commerce`. 
Configuration menu - View commit details
-
Copy full SHA for ce3f9c2 - Browse repository at this point
Copy the full SHA ce3f9c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73341a3 - Browse repository at this point
Copy the full SHA 73341a3View commit details -
fix(atomic): using
_blank
target on custom recommendation link temp……late opens two tabs on click (#4953) [SVCC-4611](https://coveord.atlassian.net/browse/SVCC-4611) When a recommendation list uses a custom link template to open recommendations in a new tab, clicking the recommendation opens two tabs instead of one. **How to reproduce the issue** 1. Override the `atomic-recs-result-template` as [per documentation](https://docs.coveo.com/en/atomic/latest/reference/result-template-components/atomic-result-link/#slots). ```html <atomic-recs-result-template> <template slot="link"> <atomic-result-link> <a slot="attributes" target="_blank"></a> </atomic-result-link> </template> <template>... recommendation content is there ...</template> </atomic-recs-result-template> ``` 2. If you click the content of the recommendation, it open two tabs. If you click the margin (between the border and the content), then it opens a single tab. **Problem** The recommendation list components rely on [DisplayGrid](https://github.com/coveo/ui-kit/blob/master/packages/atomic/src/components/common/item-list/display-grid.tsx) for their rendering. The problem is related to [this line](https://github.com/coveo/ui-kit/blob/master/packages/atomic/src/components/common/item-list/display-grid.tsx#L26) where `DisplayGrid` forces a click on the recommendation content. When the recommendation content overrides the `link` slot, it already has an event handler for the `click`. It means that, when clicking the recommendation content, its `click` handler is invoked (opening the first tab). Then, the event propagates to the parent (`DisplayGrid`) which forces a `click` event on the content, causing another tab to open. **Proposed solution** The proposed solution is to modify the recommendation lists to detect whether the `link` slot is modified. If it is, then the `stopPropagation` property is set on the child `atomic-recs-result` component. It prevents the `click` event from being propagated to the parent when clicking a recommendation content. However, when outside the recommendation content (i.e., the margin), `DisplayGrid` still forces the `click` on the content, opening a single tab. [SVCC-4611]: https://coveord.atlassian.net/browse/SVCC-4611?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Configuration menu - View commit details
-
Copy full SHA for de34ef6 - Browse repository at this point
Copy the full SHA de34ef6View commit details
Commits on Feb 14, 2025
-
docs(headless,headless-react): typedoc styling update and link fix (#…
…4963) https://coveord.atlassian.net/browse/KIT-3960 I had handled the "light" and "dark" tables, but had forgotten about the basic "OS" theme. Before:  After:  Also added support for favicon. Before:  After:  Finally, fixed some broken links referring to the old POC branch.
Configuration menu - View commit details
-
Copy full SHA for 22a8bea - Browse repository at this point
Copy the full SHA 22a8beaView commit details -
feat(headless): add has no answer state to crga state (#4961)
[SVCC-4651](https://coveord.atlassian.net/browse/SVCC-4651) - Introduce a new state `hasNoAnswer` in order to tell if an answer was generated with no answer. - This state will be used to add a customizable sorry message slot when no answer was generated for some clients. - The logic was implemented to work when using `answerapi` or `searchui` <img width="655" alt="Screenshot 2025-02-13 at 3 00 58 PM" src="https://github.com/user-attachments/assets/99c287c5-fd0f-490f-b78f-7302619f718f" /> https://github.com/user-attachments/assets/066f7e5a-2c31-42f0-a8a8-445567ce4a18 [SVCC-4651]: https://coveord.atlassian.net/browse/SVCC-4651?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Configuration menu - View commit details
-
Copy full SHA for d1f0e7b - Browse repository at this point
Copy the full SHA d1f0e7bView commit details
Commits on Feb 17, 2025
-
[Version Bump][skip ci]: ui-kit publish
@coveo/headless@3.16.0 @coveo/atomic@3.19.1 @coveo/headless-react@2.4.7 @coveo/atomic-react@3.2.19 @coveo/atomic-angular@3.3.9 @coveo/atomic-hosted-page@1.1.2 @coveo/quantic@3.14.2 **/CHANGELOG.md **/package.json CHANGELOG.md package.json package-lock.json
Configuration menu - View commit details
-
Copy full SHA for 139be4c - Browse repository at this point
Copy the full SHA 139be4cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff @coveo/headless@3.15.1...@coveo/headless@3.16.0