Skip to content

Commit 3ca3ff5

Browse files
committed
fix: update glossary documentation links and temporarily hide import section
1 parent d46d827 commit 3ca3ff5

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

webapp/src/ee/glossary/components/AddFirstGlossaryMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const AddFirstGlossaryMessage: React.VFC<
5151
keyName="glossaries_list_empty_message"
5252
params={{
5353
bestPractice: (
54-
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/glossary" />
54+
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/managing_glossaries" />
5555
),
5656
}}
5757
/>

webapp/src/ee/glossary/components/GlossaryEmptyListMessage.tsx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ const StyledPlusCircle = styled(PlusCircle)`
3434
height: 32px;
3535
`;
3636

37-
const StyledUploadCloud02 = styled(UploadCloud02)`
38-
color: ${({ theme }) => theme.palette.primary.light};
39-
width: 32px;
40-
height: 32px;
41-
`;
37+
// const StyledUploadCloud02 = styled(UploadCloud02)`
38+
// color: ${({ theme }) => theme.palette.primary.light};
39+
// width: 32px;
40+
// height: 32px;
41+
// `;
4242

4343
const StyledDescription = styled(Typography)`
4444
color: ${({ theme }) => theme.palette.text.secondary};
@@ -79,15 +79,16 @@ export const GlossaryEmptyListMessage: React.VFC<Props> = ({
7979
<T keyName="glossary_empty_placeholder_add_term_button" />
8080
</Button>
8181
<Link
82-
href="https://docs.tolgee.io/platform/projects_and_organizations/glossary"
82+
href="https://docs.tolgee.io/platform/projects_and_organizations/managing_glossaries"
8383
sx={{ visibility: 'hidden' }}
8484
>
8585
<Typography variant="body2">
8686
<T keyName="glossary_empty_placeholder_add_term_best_practices" />
8787
</Typography>
8888
</Link>
8989
</StyledCard>
90-
<StyledCard elevation={0} sx={{ display: 'none' }}>
90+
{/* TODO: enable when docs are ready */}
91+
{/* <StyledCard elevation={0}>
9192
<StyledUploadCloud02 />
9293
<Typography variant="h4">
9394
<T keyName="glossary_empty_placeholder_import_terms_title" />
@@ -104,12 +105,12 @@ export const GlossaryEmptyListMessage: React.VFC<Props> = ({
104105
>
105106
<T keyName="glossary_empty_placeholder_import_terms_button" />
106107
</Button>
107-
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/glossary/import/csv-format">
108+
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/managing_glossaries/import/csv-format">
108109
<Typography variant="body2">
109110
<T keyName="glossary_empty_placeholder_import_terms_csv_format" />
110111
</Typography>
111112
</Link>
112-
</StyledCard>
113+
</StyledCard> */}
113114
</StyledBox>
114115
</EmptyState>
115116
);

0 commit comments

Comments
 (0)