Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(create-atomic): allow Coveo atomic to start from an existing Platform Search page #728

Merged
merged 36 commits into from
May 27, 2022

Conversation

ThibodeauJF
Copy link
Contributor

@ThibodeauJF ThibodeauJF commented Mar 28, 2022

https://coveord.atlassian.net/browse/CDX-988

SIS implementation https://github.com/coveo/search-interface-service/pull/389
Platform client implementation coveo/platform-client#440

Proposed changes

Adds the possibility to specify a page id in the prompts, which will call the /manifest endpoint and pull the existing Atomic interface into the new project.

Breaking changes

None

Testing

Yes!

@github-actions
Copy link
Contributor

Thanks for your contribution @ThibodeauJF !
When your pull-request is ready to be merged, check the box below to merge it

  • Merge! :shipit:

@github-actions
Copy link
Contributor

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Copy link
Collaborator

@louis-bompart louis-bompart left a comment

Choose a reason for hiding this comment

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

looks nice overall, still some changes regarding the network call.

  • Move the call to the platform-client, afaik/imho, there are no reasons for not doing so as soon those conditions are fulfilled:
    • The call is available outside the intranet
    • The Admin UI or the CLI (or another of their JS components) need it.

This is important to prevent code duplication across the company.

  • Support proxy.

@ThibodeauJF ThibodeauJF marked this pull request as ready for review May 24, 2022 18:09
@ThibodeauJF ThibodeauJF requested a review from y-lakhdar May 24, 2022 18:09
Copy link
Collaborator

@louis-bompart louis-bompart left a comment

Choose a reason for hiding this comment

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

I'm a bit :suspect: about the custom prompt, please double-check that your promises are properly awaited.

Other than that, great job, it's pretty clean 👏

Copy link
Collaborator

@louis-bompart louis-bompart left a comment

Choose a reason for hiding this comment

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

Add a check for permission of the API Key..

Copy link
Member

@olamothe olamothe left a comment

Choose a reason for hiding this comment

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

GG

Copy link
Contributor

@y-lakhdar y-lakhdar left a comment

Choose a reason for hiding this comment

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

Nice!

@ThibodeauJF ThibodeauJF requested a review from louis-bompart May 26, 2022 17:24
@ThibodeauJF ThibodeauJF merged commit 340fe4a into master May 27, 2022
@ThibodeauJF ThibodeauJF deleted the CDX-771-b branch May 27, 2022 14:56
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.

5 participants