-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New integration options for D&D (#5000)
- Loading branch information
Showing
82 changed files
with
1,695 additions
and
512 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
23 changes: 23 additions & 0 deletions
23
clients/admin-ui/cypress/fixtures/connectors/bigquery_secret.json
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 @@ | ||
{ | ||
"title": "BigQuerySchema", | ||
"description": "Schema to validate the secrets needed to connect to BigQuery", | ||
"type": "object", | ||
"properties": { | ||
"keyfile_creds": { | ||
"title": "Keyfile Creds", | ||
"description": "The contents of the key file that contains authentication credentials for a service account in GCP.", | ||
"sensitive": true, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/KeyfileCreds" | ||
} | ||
] | ||
}, | ||
"dataset": { | ||
"title": "BigQuery Dataset", | ||
"description": "The dataset within your BigQuery project that contains the tables you want to access.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["keyfile_creds"] | ||
} |
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,9 @@ | ||
import { Flex, Spinner, SpinnerProps } from "fidesui"; | ||
|
||
const FidesSpinner = ({ ...props }: SpinnerProps) => ( | ||
<Flex boxSize="full" align="center" justify="center"> | ||
<Spinner color="primary" {...props} /> | ||
</Flex> | ||
); | ||
|
||
export default FidesSpinner; |
21 changes: 21 additions & 0 deletions
21
clients/admin-ui/src/features/common/copy/ShowMoreContent.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,21 @@ | ||
import { Collapse, Text, useDisclosure } from "fidesui"; | ||
import { ReactNode } from "react"; | ||
|
||
const ShowMoreContent = ({ children }: { children: ReactNode }) => { | ||
const { isOpen, onToggle } = useDisclosure(); | ||
return ( | ||
<> | ||
<Collapse in={isOpen}>{children}</Collapse> | ||
<Text | ||
fontSize="sm" | ||
cursor="pointer" | ||
textDecoration="underline" | ||
onClick={onToggle} | ||
> | ||
{isOpen ? "Show less" : "Show more"} | ||
</Text> | ||
</> | ||
); | ||
}; | ||
|
||
export default ShowMoreContent; |
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,38 @@ | ||
import { Heading, Link, OrderedList, Text, UnorderedList } from "fidesui"; | ||
import { ReactNode } from "react"; | ||
|
||
export const InfoHeading = ({ text }: { text: string }) => ( | ||
<Heading fontSize="sm" mt={4} mb={1}> | ||
{text} | ||
</Heading> | ||
); | ||
|
||
export const InfoText = ({ children }: { children: ReactNode }) => ( | ||
<Text fontSize="14px" mb={4}> | ||
{children} | ||
</Text> | ||
); | ||
|
||
export const InfoLink = ({ | ||
children, | ||
href, | ||
}: { | ||
children: ReactNode; | ||
href: string; | ||
}) => ( | ||
<Link href={href} textDecoration="underline" isExternal> | ||
{children} | ||
</Link> | ||
); | ||
|
||
export const InfoUnorderedList = ({ children }: { children: ReactNode }) => ( | ||
<UnorderedList fontSize="14px" mb={4}> | ||
{children} | ||
</UnorderedList> | ||
); | ||
|
||
export const InfoOrderedList = ({ children }: { children: ReactNode }) => ( | ||
<OrderedList fontSize="14px" mb={4}> | ||
{children} | ||
</OrderedList> | ||
); |
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
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
4 changes: 2 additions & 2 deletions
4
clients/admin-ui/src/features/datastore-connections/add-connection/forms/helpers.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
Oops, something went wrong.