diff --git a/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx b/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx index 410f461a..7ae0056d 100644 --- a/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx +++ b/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx @@ -23,6 +23,7 @@ import SettingsIcon from "@mui/icons-material/Settings"; import CheckIcon from "@mui/icons-material/Check"; import UndoIcon from "@mui/icons-material/Undo"; import RedoIcon from "@mui/icons-material/Redo"; +import TagIcon from '@mui/icons-material/Tag'; import SplitscreenIcon from "@mui/icons-material/Splitscreen"; // import { FindAndReplace } from "common"; import VisibilityIcon from "@mui/icons-material/Visibility"; @@ -54,6 +55,9 @@ const SettingsButtonComponent = ({ saveTranscriptHandler, setOpenConfirmDialog, durationError, + handleDoubleHashes, + sethash, +hash, onUndo, onRedo, undoStack, @@ -221,6 +225,14 @@ const SettingsButtonComponent = ({ } /> + + { + sethash(!hash); + }} />} + /> + +{hash && ( + + + handleDoubleHashes()} + > + + + + )} { {loading && } {renderSnackBar()} - + {pageType === componentType.Type_Organization && ( - + {title} )} {pageType === componentType.Type_Workspace && ( - - - {title} - + + {title} + {(userRole.Annotator !== userDetails?.role || userRole.Reviewer !== userDetails?.role || userRole.SuperChecker !== userDetails?.role) && ( - - - - - - - + + + + + )} - + )} - + Created by : {createdBy} @@ -320,79 +327,175 @@ const DetailsViewPage = (props) => { value={value} onChange={handleChange} aria-label="basic tabs example" + variant="fullWidth" + TabIndicatorProps={{ + style: { display: "none" }, + }} > {pageType === componentType.Type_Workspace && ( )} {pageType === componentType.Type_Organization && ( )} {pageType === componentType.Type_Workspace && ( )} {pageType === componentType.Type_Organization && ( )} {pageType === componentType.Type_Workspace && ( )} {pageType === componentType.Type_Organization && ( )} {pageType === componentType.Type_Workspace && ( )} {pageType === componentType.Type_Organization && ( )} {pageType === componentType.Type_Workspace && ( - {translate("label.analytics")} } - aria-controls="menu" - aria-haspopup="true" - onClick={handleMenuOpen} - sx={{ fontSize: 16, fontWeight: "700"}} + label={ +
+ {" "} + {translate("label.analytics")}{" "} + {" "} +
+ } + aria-controls="menu" + aria-haspopup="true" + onClick={handleMenuOpen} + sx={{ + fontSize: 16, + fontWeight: "700", + bgcolor: value === 4 ? "#d3d3d3" : "#F5F5F5", + color: value === 4 ? "black" : "text.primary", + borderRadius: 1, + "&:hover": { + bgcolor: "#e0e0e0", + }, + }} /> - )} - + {pageType === componentType.Type_Organization && ( - + sx={{ + fontSize: 16, + fontWeight: "700", + bgcolor: value === 4 ? "#d3d3d3" : "#F5F5F5", + color: value === 4 ? "black" : "text.primary", + borderRadius: 1, + "&:hover": { + bgcolor: "#e0e0e0", + }, + }} + /> )} -
{ open={Boolean(anchorEl)} onClose={handleMenuClose} > - handleClickMenu("TaskAnalytics")}> Task Analytics - handleClickMenu("MetaAnalytics")}>Meta Analytics - handleClickMenu("AdvanceAnalytics")}>Advance Analytics - handleClickMenu("PerformanceAnalytics")}>Performance Analytics + handleClickMenu("TaskAnalytics")} + > + {" "} + Task Analytics{" "} + + handleClickMenu("MetaAnalytics")} + > + Meta Analytics + + handleClickMenu("AdvanceAnalytics")} + > + Advance Analytics + + handleClickMenu("PerformanceAnalytics")} + > + Performance Analytics + { columnSpacing={4} rowSpacing={2} > -