-
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.
🪟 🐛 Add DbtCloudErrorBoundary (#20616)
* Add WIP DbtCloudErrorBoundary * get workspaceId via useCurrentWorkspaceId It's a bit more efficient and I don't need any of the other things provided by `useCurrentWorkspace`. * Track dbt Cloud errors via AppMonitoringService * Extract UI helper components from DbtCloudTransformationsCard.tsx I put a little effort into keeping all of the API interactions within the top-level component, and a linting rule required me to split out individual stylesheets for each helper component (plus one non-module scss file for shared card styles that individual scss modules can `@forward`) * Put available jobs query within error boundary
- Loading branch information
1 parent
dbe5cd8
commit 3ef7edf
Showing
14 changed files
with
378 additions
and
252 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
24 changes: 24 additions & 0 deletions
24
...es/connections/ConnectionTransformationPage/DbtCloudTransformationsCard/DbtCloudCard.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,24 @@ | ||
@use "scss/colors"; | ||
@use "scss/variables"; | ||
|
||
.cardTitle { | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
|
||
.cardBodyContainer { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: variables.$spacing-xl; | ||
background-color: colors.$grey-50; | ||
} | ||
|
||
.contextExplanation { | ||
color: colors.$grey-300; | ||
width: 100%; | ||
|
||
& a { | ||
color: colors.$grey-300; | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...ionTransformationPage/DbtCloudTransformationsCard/DbtCloudTransformationsCard.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 @@ | ||
@forward "./DbtCloudCard.scss"; |
5 changes: 5 additions & 0 deletions
5
...nections/ConnectionTransformationPage/DbtCloudTransformationsCard/DbtJobsForm.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,5 @@ | ||
@forward "./DbtCloudCard.scss"; | ||
|
||
.jobListForm { | ||
width: 100%; | ||
} |
Oops, something went wrong.