Skip to content

Commit

Permalink
chore(ai-assist): add alpha badge (#13973)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnchrch committed Sep 16, 2024
1 parent b9cf0a9 commit d8af275
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { useFloating, offset, flip, autoUpdate } from "@floating-ui/react-dom";
import { Popover, PopoverButton, PopoverPanel } from "@headlessui/react";
import { useIntl } from "react-intl";
import { useIntl, FormattedMessage } from "react-intl";

import { Badge } from "components/ui/Badge";
import { Button, ButtonProps } from "components/ui/Button";
import { FlexContainer } from "components/ui/Flex";
import { Heading } from "components/ui/Heading";
Expand Down Expand Up @@ -73,6 +74,9 @@ const AssistTitle = () => {
<Heading as="h3" size="sm" className={styles.assistTitle}>
{formatMessage({ id: "connectorBuilder.assist.config.title" })}
</Heading>
<Badge variant="blue">
<FormattedMessage id="ui.badge.alpha" />
</Badge>
</FlexContainer>
);
};
Expand Down
1 change: 1 addition & 0 deletions airbyte-webapp/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1342,6 +1342,7 @@
"ui.combobox.buttonErrorText": "Please select an option",
"ui.combobox.buttonAddText": "Add option",
"ui.combobox.buttonEditText": "Edit option",
"ui.badge.alpha": "Alpha",

"airbyte.datatype.string": "String",
"airbyte.datatype.binary_data": "Binary Data",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
} from "components/connectorBuilder/types";
import { Form, FormControl } from "components/forms";
import { HeadTitle } from "components/HeadTitle";
import { Badge } from "components/ui/Badge";
import { Button } from "components/ui/Button";
import { Card } from "components/ui/Card";
import { FlexContainer } from "components/ui/Flex";
Expand Down Expand Up @@ -142,6 +143,9 @@ const ConnectorBuilderGenerateForm: React.FC<{
<Heading as="h3" size="sm" className={styles.assistTitle}>
{formatMessage({ id: "connectorBuilder.generatePage.title" })}
</Heading>
<Badge variant="blue">
<FormattedMessage id="ui.badge.alpha" />
</Badge>
</FlexContainer>
<Text size="sm" color="grey">
<FormattedMessage id="connectorBuilder.generatePage.description" />
Expand Down

0 comments on commit d8af275

Please sign in to comment.