Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added to the Menu the link to the kanban page #1013

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion public/locales/en/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"codeOfConductItem": "Code of Conduct",
"logout": "Log Out",
"badgesItem": "Badges",
"adminItem": "Admin"
"adminItem": "Admin",
"personalityItem": "Personalities",
"claimItem": "Claims",
"kanbanItem": "Kanban"
}
5 changes: 4 additions & 1 deletion public/locales/pt/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"codeOfConductItem": "Código de Conduta",
"logout": "Encerrar Sessão",
"badgesItem": "Insígnias",
"adminItem": "Admin"
"adminItem": "Admin",
"personalityItem": "Personalidades",
"claimItem": "Afirmações",
"kanbanItem": "Kanban"
}
22 changes: 22 additions & 0 deletions src/components/AletheiaMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,28 @@ const AletheiaMenu = () => {
>
{t("menu:codeOfConductItem")}
</Menu.Item>
<Menu.Item
key="/personality"
onClick={handleClick}
data-cy={"testPersonalitytItem"}
>
{t("menu:personalityItem")}
</Menu.Item>
<Menu.Item
key="/claim"
onClick={handleClick}
data-cy={"testClaimtItem"}
>
{t("menu:claimItem")}
</Menu.Item>

<Menu.Item
key="/kanban"
onClick={handleClick}
data-cy={"testKanbantItem"}
>
{t("menu:kanbanItem")}
</Menu.Item>
{role === Roles.Admin && (
<>
<Menu.Item
Expand Down
Loading