Loading frontend/src/components/Assessment/AssessmentResult.tsx +39 −15 Original line number Diff line number Diff line import { Button, Classes, Section, SectionCard } from '@blueprintjs/core' import { Button, Classes, Section, SectionCard, Tooltip, } from '@blueprintjs/core' import { css, cx } from '@emotion/css' import { useTranslationFrontend } from '@inject/locale' import { formattedText } from '@inject/shared' Loading Loading @@ -54,20 +60,38 @@ export const AssessmentResult: FC<AssessmentResultProps> = ({ title={t('assessment.resultTitle')} compact rightElement={ pinned ? ( <Button minimal icon={pinned ? 'cross' : 'pin'} icon='cross' onClick={() => { window.dispatchEvent( new CustomEvent(PIN_ASSESSMENT_EVENT_TYPE, { detail: { assessment: pinned ? '' : assessment, assessment: '', } as PinAssessmentEventPayload, }) ) onPin?.() }} /> ) : ( <Tooltip content={t('assessment.assessmentPinTooltip')}> <Button icon='pin' onClick={() => { window.dispatchEvent( new CustomEvent(PIN_ASSESSMENT_EVENT_TYPE, { detail: { assessment, } as PinAssessmentEventPayload, }) ) onPin?.() }} /> </Tooltip> ) } className={cx( css` Loading locale/resources/cs/frontend.json +2 −1 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,7 @@ "personaSubtitle": "Definuje roli a chování AI během posouzení", "assessmentTitle": "Rubrika posouzení", "assessmentSubtitle": "Definuje kritéria a standardy pro hodnocení e-mailu", "resultTitle": "Výsledek posouzení AI" "resultTitle": "Výsledek posouzení AI", "assessmentPinTooltip": "Tím se v aplikaci připne hodnocení AI." } } locale/resources/en/frontend.json +2 −1 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,7 @@ "personaSubtitle": "Defines the role and behavior of the AI during the assessment", "assessmentTitle": "Assessment Rubric", "assessmentSubtitle": "Defines the criteria and standards for evaluating the email", "resultTitle": "AI Assessment Result" "resultTitle": "AI Assessment Result", "assessmentPinTooltip": "This will pin the AI assesment in the application" } } Loading
frontend/src/components/Assessment/AssessmentResult.tsx +39 −15 Original line number Diff line number Diff line import { Button, Classes, Section, SectionCard } from '@blueprintjs/core' import { Button, Classes, Section, SectionCard, Tooltip, } from '@blueprintjs/core' import { css, cx } from '@emotion/css' import { useTranslationFrontend } from '@inject/locale' import { formattedText } from '@inject/shared' Loading Loading @@ -54,20 +60,38 @@ export const AssessmentResult: FC<AssessmentResultProps> = ({ title={t('assessment.resultTitle')} compact rightElement={ pinned ? ( <Button minimal icon={pinned ? 'cross' : 'pin'} icon='cross' onClick={() => { window.dispatchEvent( new CustomEvent(PIN_ASSESSMENT_EVENT_TYPE, { detail: { assessment: pinned ? '' : assessment, assessment: '', } as PinAssessmentEventPayload, }) ) onPin?.() }} /> ) : ( <Tooltip content={t('assessment.assessmentPinTooltip')}> <Button icon='pin' onClick={() => { window.dispatchEvent( new CustomEvent(PIN_ASSESSMENT_EVENT_TYPE, { detail: { assessment, } as PinAssessmentEventPayload, }) ) onPin?.() }} /> </Tooltip> ) } className={cx( css` Loading
locale/resources/cs/frontend.json +2 −1 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,7 @@ "personaSubtitle": "Definuje roli a chování AI během posouzení", "assessmentTitle": "Rubrika posouzení", "assessmentSubtitle": "Definuje kritéria a standardy pro hodnocení e-mailu", "resultTitle": "Výsledek posouzení AI" "resultTitle": "Výsledek posouzení AI", "assessmentPinTooltip": "Tím se v aplikaci připne hodnocení AI." } }
locale/resources/en/frontend.json +2 −1 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,7 @@ "personaSubtitle": "Defines the role and behavior of the AI during the assessment", "assessmentTitle": "Assessment Rubric", "assessmentSubtitle": "Defines the criteria and standards for evaluating the email", "resultTitle": "AI Assessment Result" "resultTitle": "AI Assessment Result", "assessmentPinTooltip": "This will pin the AI assesment in the application" } }