-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
🪟🧪 Remove empty state page when there are no connectors #19112
🪟🧪 Remove empty state page when there are no connectors #19112
Conversation
625c57e
to
86832b0
Compare
86832b0
to
2b3dc4f
Compare
a1d760a
to
9f50dd1
Compare
}; | ||
|
||
export const openNewDestinationForm = () => { | ||
cy.get(newDestination).click(); | ||
cy.wait("@getDestinationsList").then(({ response }) => { |
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.
Since we won’t have a button in the empty state (no destinations set up yet) we need to make a decision based on the response on this request.
9f50dd1
to
018a069
Compare
}; | ||
|
||
export const openSourceDestinationFromGrid = (value: string) => { | ||
cy.get("div").contains(value).click(); | ||
}; | ||
|
||
export const openNewSourceForm = () => { | ||
cy.get(newSource).click(); | ||
cy.wait("@getSourcesList").then(({ response }) => { |
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.
Since we won’t have a button in the empty state (no sources set up yet) we need to make a decision based on the response on this request.
{title} | ||
</H5> | ||
<H5 className={classNames(styles.title)}>{title}</H5> | ||
{description ? ( |
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.
Adding description of what a Source/Destination is in a tooltip since we are loosing the message coming from the empty state
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.
{description ? ( | |
{description && ( |
cy.url().should("include", `/destination/new-destination`); | ||
}; | ||
|
||
export const openAddSource = () => { | ||
export const aopenAddSource = () => { |
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.
Seems this method got accidentally renamed.
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 was the issue with the e2e tests failing 🤦♀️
import styles from "./Card.module.scss"; | ||
|
||
export interface CardProps { | ||
title?: React.ReactNode; | ||
description?: React.ReactNode; |
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.
Given that this is a basic UI component, I'm not sure we want to add something that specific as the description which renders as an Info icon here, or rather want to stay more generic, and e.g. just allow passing in headerComponents
that would render there. @edmundito what are your thoughts around this?
It seems this is async with master and the e2e tests are still failing. I suspect this will need a bit more cleanup. |
018a069
to
516a2d3
Compare
@timroes issue was that function renamed by mistake. CI is passing again now :) |
Just a quick reminder, that |
Thanks! Still have to work on that, but will probably pushed until next week. |
* master: (74 commits) Fix support icon in sidebar fix: add BuildPulse report for helm ac tests (#19785) fix: yaml syntax (#19775) 🪟 🐛 Fix custom connection creation endpoint (#19702) Source facebook marketing: check "breakdowns" combinations (#19645) fix typo: notify instead of sync (#19737) find_non_rate_limited_PAT (#19736) Source Google Ads: fix schema for "campaigns" stream (#19700) 🎉 Source Asana: migrate to new SAT, added base HTTP errors handling (#19561) fix order not to randomly fail backward compatibility check (#19377) Bump helm chart version reference to 0.42.0 (#19706) fix: add extraEnv block (#19703) Bump Airbyte version from 0.40.21 to 0.40.22 (#19687) Bump helm chart version reference to 0.41.3 (#19685) Add connector builder server to airbyte proxy, kube overlays, and helm charts (#19554) dbt Cloud integration doc (#19619) 🪟 🎉 Display service token validation errors in the UI (#19578) 17644 Update Destination data type test to use the new data types (#19281) Docs: fix broken connector builder UI docs links (#19631) Bump Airbyte version from 0.40.20 to 0.40.21 (#19634) ...
31c0fed
to
9dc850a
Compare
)} | ||
<img | ||
className={styles.octavia} | ||
src={`/images/octavia/empty-${resourceType}.png`} |
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.
Those images in /public/images/octavia/empty-...
should still be removed, since they are not used anywhere else.
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.
you are right. Removed!
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.
Code LGTM. Checked locally, navigating to those pages seems to work all as expected.
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.
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.
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.
Code LGTM, tested locally.
🎬 Demo: https://www.loom.com/share/6c2860ec8f0a4d95b80eb024f848bdf6 (ignore connection step as we want to keep it as it is)
📓 Experiment details: https://airtable.com/appIuY0uKPVnk8TWT/tbl2SxXnUwf6fVCWS/viww5hSnXY1UUWb6w/rech044wPzAcSNZxV?blocks=hide
❓ Hypothesis
By reducing a step in the setup (source/destination) users will be more likely to interact with the list of connectors.
🎯 Goal
+30% in
Airbyte.UI.Source.Select
--> Bring users closer to available connectorsWhat