-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #985 from tailwarden/feature/tech-1645
feat: allow user to configure a database
- Loading branch information
Showing
9 changed files
with
264 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { SVGProps } from 'react'; | ||
|
||
const AlertCircleIconFilled = (props: SVGProps<SVGSVGElement>) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 16 17 " | ||
fill="none" | ||
{...props} | ||
> | ||
<path | ||
fill="currentColor" | ||
d="M7.9997 15.3763c3.6819 0 6.6666-2.9848 6.6666-6.6667 0-3.6819-2.9847-6.6666-6.6666-6.6666-3.682 0-6.6667 2.9847-6.6667 6.6666 0 3.6819 2.9848 6.6667 6.6667 6.6667Z" | ||
/> | ||
<path | ||
stroke="#fff" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
d="M8 6.043v2.6666M8 11.3765h.0067" | ||
/> | ||
</svg> | ||
); | ||
|
||
export default AlertCircleIconFilled; |
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
20 changes: 20 additions & 0 deletions
20
dashboard/components/onboarding-wizard/DatabaseErrorMessage.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,20 @@ | ||
function DatabaseErrorMessage() { | ||
return ( | ||
<div className="mt-8 rounded-md bg-error-100 px-3 py-1.5 text-sm text-error-600"> | ||
We're sorry, but we were unable to connect to your database using the | ||
information provided. Please ensure that the information are correct and | ||
try again. If you continue to experience issues, please{' '} | ||
<a | ||
href="https://discord.tailwarden.com" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="underline" | ||
> | ||
contact our support | ||
</a>{' '} | ||
team for assistance. | ||
</div> | ||
); | ||
} | ||
|
||
export default DatabaseErrorMessage; |
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
Oops, something went wrong.