+
{
+ setValue(event.target.value);
+ }}
+ onPressEnter={() => {
+ setValue(inputRef.current?.input.value || '');
+ }}
+ />
+
+
+
+
+
+
+ Error: {error ? error.description : 'undefined'}
+
+
+ );
+}
diff --git a/superset-frontend/src/common/components/index.tsx b/superset-frontend/src/common/components/index.tsx
index 2bdcfb47e2..4b1fa15531 100644
--- a/superset-frontend/src/common/components/index.tsx
+++ b/superset-frontend/src/common/components/index.tsx
@@ -33,6 +33,7 @@ export {
Button,
Card,
DatePicker,
+ Divider,
Dropdown,
Empty,
Input,
diff --git a/superset-frontend/src/views/CRUD/alert/AlertList.tsx b/superset-frontend/src/views/CRUD/alert/AlertList.tsx
index 9b46377415..3ecc034cac 100644
--- a/superset-frontend/src/views/CRUD/alert/AlertList.tsx
+++ b/superset-frontend/src/views/CRUD/alert/AlertList.tsx
@@ -24,6 +24,7 @@ import ActionsBar, { ActionProps } from 'src/components/ListView/ActionsBar';
import Button from 'src/components/Button';
import FacePile from 'src/components/FacePile';
import { IconName } from 'src/components/Icon';
+import { Tooltip } from 'src/common/components/Tooltip';
import ListView, { FilterOperators, Filters } from 'src/components/ListView';
import SubMenu, { SubMenuProps } from 'src/components/Menu/SubMenu';
import { Switch } from 'src/common/components/Switch';
@@ -55,7 +56,7 @@ function AlertList({
isReportEnabled = false,
user,
}: AlertListProps) {
- const title = isReportEnabled ? 'report' : 'alert';
+ const title = isReportEnabled ? t('report') : t('alert');
const pathName = isReportEnabled ? 'Reports' : 'Alerts';
const initalFilters = useMemo(
() => [
@@ -139,20 +140,31 @@ function AlertList({
}: any) =>
recipients.map((r: any) => (