diff --git a/client/src/components/job-watcher-toggle/job-watcher-toggle.component.jsx b/client/src/components/job-watcher-toggle/job-watcher-toggle.component.jsx
index 54edf4465..4a01ea0ca 100644
--- a/client/src/components/job-watcher-toggle/job-watcher-toggle.component.jsx
+++ b/client/src/components/job-watcher-toggle/job-watcher-toggle.component.jsx
@@ -4,6 +4,7 @@ import { Avatar, Button, Divider, List, Popover, Select, Tooltip, Typography } f
import { useTranslation } from "react-i18next";
import EmployeeSearchSelectComponent from "../../components/employee-search-select/employee-search-select.component.jsx";
import LoadingSpinner from "../../components/loading-spinner/loading-spinner.component.jsx";
+import { BiSolidTrash } from "react-icons/bi";
const { Text } = Typography;
@@ -42,7 +43,8 @@ export default function JobWatcherToggleComponent({
}
onClick={() => handleRemoveWatcher(watcher.user_email)}
disabled={adding || removing} // Optional: Disable button during mutations
>
@@ -61,20 +63,28 @@ export default function JobWatcherToggleComponent({
const popoverContent = (
-
:
}
- onClick={handleToggleSelf}
- loading={adding || removing}
- >
- {isWatching ? t("notifications.tooltips.unwatch") : t("notifications.tooltips.watch")}
-
-
-
-
- {t("notifications.labels.watching-issue")}
-
+
+ : }
+ size="medium"
+ onClick={handleToggleSelf}
+ loading={adding || removing}
+ >
+ {isWatching ? t("notifications.labels.unwatch") : t("notifications.labels.watch")}
+
+ ]}
+ >
+
+
+ {t("notifications.labels.watching-issue")}
+
+
+
+
{watcherLoading ? (
) : jobWatchers && jobWatchers.length > 0 ? (
@@ -82,8 +92,8 @@ export default function JobWatcherToggleComponent({
) : (
{t("notifications.labels.no-watchers")}
)}
-
+
{t("notifications.labels.add-watchers")}
-
+
);
}
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index fcc81ce1b..79c558d2f 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -3785,17 +3785,18 @@
"ro-number": "RO #{{ro_number}}",
"no-watchers": "No Watchers",
"notification-settings-success": "Notification Settings saved successfully.",
- "notification-settings-failure": "Error saving Notification Settings. {{error}}"
+ "notification-settings-failure": "Error saving Notification Settings. {{error}}",
+ "watch": "Watch",
+ "unwatch": "Unwatch"
},
"actions": {
- "remove": "remove"
+ "remove": "Remove"
},
"aria": {
"toggle": "Toggle Watching Job"
},
"tooltips": {
- "watch": "Watch Job",
- "unwatch": "Unwatch Job"
+ "job-watchers": "Job Watchers"
},
"scenarios": {
"job-assigned-to-me": "Job Assigned to Me",
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index 5a89d11ac..be571cf12 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -3785,7 +3785,9 @@
"ro-number": "",
"no-watchers": "",
"notification-settings-success": "",
- "notification-settings-failure": ""
+ "notification-settings-failure": "",
+ "watch": "",
+ "unwatch": ""
},
"actions": {
"remove": ""
@@ -3794,8 +3796,7 @@
"toggle": ""
},
"tooltips": {
- "watch": "",
- "unwatch": ""
+ "job-watchers": ""
},
"scenarios": {
"job-assigned-to-me": "",
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index b9673bc45..6dcb4fefd 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -3785,7 +3785,9 @@
"ro-number": "",
"no-watchers": "",
"notification-settings-success": "",
- "notification-settings-failure": ""
+ "notification-settings-failure": "",
+ "watch": "",
+ "unwatch": ""
},
"actions": {
"remove": ""
@@ -3794,8 +3796,7 @@
"toggle": ""
},
"tooltips": {
- "watch": "",
- "unwatch": ""
+ "job-watchers": ""
},
"scenarios": {
"job-assigned-to-me": "",