diff --git a/src/components/elements/annotationSidePanel/AnnotationSidePanel.tsx b/src/components/elements/annotationSidePanel/AnnotationSidePanel.tsx index 36c34acb..31300dfc 100644 --- a/src/components/elements/annotationSidePanel/AnnotationSidePanel.tsx +++ b/src/components/elements/annotationSidePanel/AnnotationSidePanel.tsx @@ -144,6 +144,7 @@ const AnnotationSidePanel = (props: Props) => { StartAnnotationWizard={() => setAnnotationWizardToggle(true)} RefreshAnnotations={RefreshAnnotations} OpenMasMenu={() => setMasMenuToggle(true)} + ShowPolicyText={() => setPolicyTextToggle(true)} /> } > diff --git a/src/components/elements/annotationSidePanel/components/AnnotationsOverview.tsx b/src/components/elements/annotationSidePanel/components/AnnotationsOverview.tsx index 6c8cccab..3a923a0b 100644 --- a/src/components/elements/annotationSidePanel/components/AnnotationsOverview.tsx +++ b/src/components/elements/annotationSidePanel/components/AnnotationsOverview.tsx @@ -33,7 +33,8 @@ type Props = { SetFilterSortValues: Function, StartAnnotationWizard: Function, RefreshAnnotations: Function, - OpenMasMenu: Function + OpenMasMenu: Function, + ShowPolicyText: Functon }; @@ -46,10 +47,11 @@ type Props = { * @param StartAnnotationWizard Function that starts the annotation wizard * @param RefresAnnotations Function to refresh the annotations in the annotations overview * @param OpenMasMenu Function to open the MAS menu + * @param ShowPolicyText Function to show the annotation policy text in the side panel * @returns JSX Component */ const AnnotationsOverview = (props: Props) => { - const { annotations, filterSortValues, schemaTitle, SetFilterSortValues, StartAnnotationWizard, RefreshAnnotations, OpenMasMenu } = props; + const { annotations, filterSortValues, schemaTitle, SetFilterSortValues, StartAnnotationWizard, RefreshAnnotations, OpenMasMenu, ShowPolicyText } = props; /* Hooks */ const dispatch = useAppDispatch(); @@ -166,7 +168,22 @@ const AnnotationsOverview = (props: Props) => {
+ {`To make an annotation you must agree with our `} + + + +
+ +