Skip to content

Commit

Permalink
docs: Update metadata/custom-fields screenshots. Fix broken links (#4534
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rolodato authored Aug 23, 2024
1 parent 5e02eb4 commit 25f0ca2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
Binary file removed docs/static/img/metadata/metadata-environment.png
Binary file not shown.
Binary file modified docs/static/img/metadata/metadata-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/static/img/metadata/metadata-feature-1.png
Binary file not shown.
Binary file removed docs/static/img/metadata/metadata-segment-1.png
Binary file not shown.
6 changes: 5 additions & 1 deletion docs/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,11 @@
},
{
"source": "/system-administration/metadata",
"destination": "/system-administration/custom-fields"
"destination": "/advanced-use/custom-fields"
},
{
"source": "/system-administration/custom-fields",
"destination": "/advanced-use/custom-fields"
},
{
"source": "/clients/overview",
Expand Down
4 changes: 2 additions & 2 deletions frontend/web/components/metadata/AddMetadataToEntity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ const AddMetadataToEntity: FC<AddMetadataToEntityType> = ({
}}
renderNoResults={
<FormGroup>
No custom fields configured for {entity} entity. Add custom fields
No custom fields configured for {entity}s. Add custom fields
in your{' '}
<a
href={`/project/${projectId}/settings?tab=metadata`}
href={`/project/${projectId}/settings?tab=custom-fields`}
target='_blank'
rel='noreferrer'
>
Expand Down
6 changes: 3 additions & 3 deletions frontend/web/components/metadata/MetadataPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ const MetadataPage: FC<MetadataPageType> = ({ organisationId, projectId }) => {
</Button>
</Row>
<p className='fs-small lh-sm'>
Manage custom fields for selected core identities in your project{' '}
Add custom fields to features, segments, environments and projects.{' '}
<Button
theme='text'
target='_blank'
href='https://docs.flagsmith.com/system-administration/custom-fields/'
href='https://docs.flagsmith.com/advanced-use/custom-fields/'
className='fw-normal'
>
Learn more.
Learn more
</Button>
</p>
<FormGroup className='mt-4'>
Expand Down

0 comments on commit 25f0ca2

Please sign in to comment.