-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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(editor): Add new /templates/search
endpoint
#8227
Conversation
/template/search
endpoint
/template/search
endpoint/template/search
endpoint
@@ -6,6 +6,7 @@ import type { | |||
ITemplatesCollectionResponse, | |||
ITemplatesWorkflowResponse, | |||
IWorkflowTemplate, | |||
TemplateSearchFacet, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we drop the endpoint to retrieve the categories since we are not using it anymore? @MiloradFilipovic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need it for backward compatibility
* master: ci: Validate docs urls for langchain nodes as well (no-changelog) (#8271) fix: Small ui fixes to workflow cred setup modal (no-changelog) (#8280) fix: Fix issue with API key being required for the Qdrant Node (#8237) feat(Coda Node): Add User-Agent for requests to Coda (no-changelog) (#7771) fix(FTP Node): FTP connection failed due to missing password credential in node (#8131) ci: Fix lint setup in `chat` package (no-changelog) (#8275) ci: Fix codecov reporting, and include all packages (no-changelog) (#8276) fix(core): Fix test webhook deregistration (#8247) docs: Update links in deprecated langchain nodes to avoid linting errors (no-changelog) (#8273) fix: Fix user reinvites on FE and BE (#8261) docs: Update primaryDocumentation urls for nodes updated in #7651 (no-changelog) (#8270) feat: Add Chat Trigger node (#7409) fix(Github Trigger Node): Enforce SSL validation by default (#8265) fix(editor): Tweaking button sizes in execution preview (#8206) fix(core): Avoid wrapping `ExecutionBaseError` to prevent misreporting to Sentry (no-changelog) (#8262)
skip: query.skip, | ||
rows: query.limit, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does this map to the page parameter typesense expects? https://typesense.org/docs/0.24.0/api/search.html#pagination-parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is mapped on the backend:
per_page
--> rows
page
--> skip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my feedback. Looks good overall. Would be great to add some E2E tests please to this area that never had any coverage. 🙏🏽
/template/search
endpoint/templates/search
endpoint
* master: fix: Adjust cred setup telemetry (no-changelog) (#8294) fix(HTTP Request Node): Delete `response.request` only when it's a valid circular references (#8293) fix: Properly output saml validation errors (#8284) 🚀 Release 1.24.0 (#8290) feat(editor): Migrate deviceSupportHelpers mixin to useDeviceSupport composable (no-changelog) (#8289) fix: Store workflow settings when saving an execution (#8288) fix(MySQL Node): Only escape table names when needed (#8246) feat(Google Sheets Node): Add "By Name" option to selector for Sheets (#8241) feat(MongoDB Node): Add support for TLS (#8266) feat: Update @n8n/chat exports and add example images (no-changelog) (#8274) ci: Add support for optionally including ARM64 support in custom images (no-changelog) (#8286) ci: Update Cypress & increase amount of e2e containers (#8282) fix(Monday.com Node): Migrate to api 2023-10 (#8254)
|
1 flaky test on run #3762 ↗︎
Details:
cypress/e2e/17-sharing.cy.ts • 1 flaky test
Review all test suite changes for PR #8227 ↗︎ |
@mutdmour can we get this one approved? |
|
✅ All Cypress E2E specs passed |
Got released with |
Updating n8n front-end to use the new search endpoint powered by TypeSense.
Endpoint is deployed on staging API so, in order to test it, use this env var:
export N8N_TEMPLATES_HOST=https://api-staging.n8n.io/api
NOTE: This PR should not be merged until backend changes are merged and released.
Related tickets and issues
https://linear.app/n8n/issue/ADO-1555/update-in-app-search-to-work-with-the-new-back-end
Review / Merge checklist
(no-changelog)
otherwise. (conventions)