-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat : Add explainations about Role Persona (#337)
Signed-off-by: laixingyou <[email protected]>
- Loading branch information
1 parent
c424bd7
commit 5aa2f4e
Showing
9 changed files
with
59 additions
and
36 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.../ISSUE_TEMPLATE/new-metrics-model-idea.md → .github/ISSUE_TEMPLATE/saas-bug-report.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule i18n
updated
4 files
+1 −1 | en/academe.json | |
+1 −0 | en/analyze.json | |
+1 −1 | zh/academe.json | |
+1 −0 | zh/analyze.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
.../modules/analyze/DataView/MetricDetail/MetricContributor/ContributorTable/RolePersona.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import React from 'react'; | ||
import { useTranslation } from 'next-i18next'; | ||
import Tooltip from '@common/components/Tooltip'; | ||
import { AiOutlineQuestionCircle } from 'react-icons/ai'; | ||
|
||
const RolePersona = () => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<div className="flex items-center"> | ||
{t('analyze:metric_detail:role_persona')} | ||
<Tooltip | ||
arrow | ||
title={<>{t('analyze:metric_detail:role_persona_desc')}</>} | ||
placement="right" | ||
> | ||
<span className="ml-2 cursor-pointer text-gray-400"> | ||
<AiOutlineQuestionCircle /> | ||
</span> | ||
</Tooltip> | ||
</div> | ||
); | ||
}; | ||
|
||
export default RolePersona; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters