-
Notifications
You must be signed in to change notification settings - Fork 5
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
Filter connectors
better and make connector search page safer
#699
Filter connectors
better and make connector search page safer
#699
Conversation
Need to exclude and filter out Kelkoo
making stuff a bit more safe updating typing to match what could happen
{!logo?.childImageSharp?.gatsbyImageData ? ( | ||
<div | ||
className={clsx( | ||
connectorPostCardImage, | ||
'icon-wrapper' | ||
)} | ||
/> | ||
) : ( |
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 logo was 100% missing while running a quick search. So making this safer. Eventually we might want to add a placeholder or something while this is loading.
{showType ? ( | ||
<> | ||
{recommended ? <div style={{ flexBasis: 4 }} /> : null} | ||
}: ReturnType<typeof normalizeConnector> & { showType?: boolean }) => { |
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 didn't change much but looks like it did because I added a explicit return
.
showType={showAllConnectors} | ||
/> | ||
) | ||
(connector) => { |
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.
another explicit return
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.
We now check this in normalizeConnector
.
src/templates/connection.tsx
Outdated
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 should never happen - but being safe
src/utils.ts
Outdated
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.
We need to add all the filter into the normalizer so that things like search results do not get fed wrong connectors
connectors
better and make connector search page safer
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.
Lgtm
setting maximum parallel requests to stop hammering strapi
Visit the preview URL for this PR (updated for commit b228685): https://estuary-marketing--pr699-travjenkins-bug-fix-6h6w2zsd.web.app (expires Tue, 11 Mar 2025 15:48:14 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 76f6b095a0752e5d9c6c890267f9fdc3e392161e |
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.
Lgtm
Changes
kelkoo
Tests / Screenshots
Kelkoo cannot be found
Prod
Local