-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪟 🎨 Remove feedback modal from UI (#16548)
* remove feedback modal components and from FinalStep component * create FirstSuccessfulSync component * add FirstSuccessfulSync component to FinalStep * remove sendFeedback functionality from useWorkspace hook * remove sendFeedback functionality from Onboarding context * move svg image closer to component where it's used * update .completedSyncText text style * add data-testid to FirstSuccessfulSync component
- Loading branch information
Showing
15 changed files
with
50 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...p/src/pages/OnboardingPage/components/FirstSuccessfulSync/FirstSuccessfulSync.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@use "../../../../scss/colors"; | ||
@use "../../../../scss/variables"; | ||
|
||
.container { | ||
width: 100%; | ||
padding: 50px 78px 40px; | ||
background: colors.$dark-blue-900 url("stars-background.svg"); | ||
border-radius: variables.$border-radius-md; | ||
position: relative; | ||
} | ||
|
||
.rocket { | ||
position: absolute; | ||
width: 180px; | ||
transform: matrix(0.99, 0.12, -0.12, 0.99, 0, 0) rotate(-4.78deg); | ||
top: -54px; | ||
left: calc(50% - 261px / 2 + 24px); | ||
transition: 0.8s; | ||
} | ||
|
||
.completedSyncText { | ||
color: colors.$white; | ||
} |
17 changes: 17 additions & 0 deletions
17
...te-webapp/src/pages/OnboardingPage/components/FirstSuccessfulSync/FirstSuccessfulSync.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from "react"; | ||
import { FormattedMessage } from "react-intl"; | ||
|
||
import { Text } from "components/base/Text"; | ||
|
||
import styles from "./FirstSuccessfulSync.module.scss"; | ||
|
||
export const FirstSuccessfulSync: React.FC = () => { | ||
return ( | ||
<div className={styles.container} data-testid="firstSuccessfulSync"> | ||
<Text as="h3" size="md" centered className={styles.completedSyncText}> | ||
<FormattedMessage id="onboarding.syncCompleted" /> | ||
</Text> | ||
<img className={styles.rocket} src="/rocket.png" alt="" /> | ||
</div> | ||
); | ||
}; |
1 change: 1 addition & 0 deletions
1
airbyte-webapp/src/pages/OnboardingPage/components/FirstSuccessfulSync/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "./FirstSuccessfulSync"; |
File renamed without changes
22 changes: 0 additions & 22 deletions
22
airbyte-webapp/src/views/Feedback/SyncCompletedModal/SyncCompletedModal.tsx
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
airbyte-webapp/src/views/Feedback/SyncCompletedModal/components/BadIcon.tsx
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
airbyte-webapp/src/views/Feedback/SyncCompletedModal/components/FeedbackButton.tsx
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
airbyte-webapp/src/views/Feedback/SyncCompletedModal/components/GoodIcon.tsx
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
airbyte-webapp/src/views/Feedback/SyncCompletedModal/components/ModalBody.tsx
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
airbyte-webapp/src/views/Feedback/SyncCompletedModal/components/ModalHeader.tsx
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
airbyte-webapp/src/views/Feedback/SyncCompletedModal/index.tsx
This file was deleted.
Oops, something went wrong.