refactor(settings): nest support section within workspace (#8937)
Refactor the settings structure to include the support section within the workspace feature when multi-workspace is enabled. This update provides a more consistent user interface by grouping related settings, thereby enhancing the manageability of workspace-specific actions. Fix #8914
This commit is contained in:
@ -42,24 +42,25 @@ export const SettingsWorkspace = () => {
|
|||||||
<NameField />
|
<NameField />
|
||||||
</Section>
|
</Section>
|
||||||
{isMultiWorkspaceEnabled && (
|
{isMultiWorkspaceEnabled && (
|
||||||
<Section>
|
<>
|
||||||
<H2Title
|
<Section>
|
||||||
title="Domain"
|
<H2Title
|
||||||
description="Edit your subdomain name or set a custom domain."
|
title="Domain"
|
||||||
/>
|
description="Edit your subdomain name or set a custom domain."
|
||||||
<UndecoratedLink to={getSettingsPagePath(SettingsPath.Domain)}>
|
/>
|
||||||
<SettingsCard title="Customize Domain" Icon={<IconWorld />} />
|
<UndecoratedLink to={getSettingsPagePath(SettingsPath.Domain)}>
|
||||||
</UndecoratedLink>
|
<SettingsCard title="Customize Domain" Icon={<IconWorld />} />
|
||||||
</Section>
|
</UndecoratedLink>
|
||||||
|
</Section>
|
||||||
|
<Section>
|
||||||
|
<H2Title
|
||||||
|
title="Support"
|
||||||
|
adornment={<ToggleImpersonate />}
|
||||||
|
description="Grant Twenty support temporary access to your workspace so we can troubleshoot problems or recover content on your behalf. You can revoke access at any time."
|
||||||
|
/>
|
||||||
|
</Section>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Section>
|
|
||||||
<H2Title
|
|
||||||
title="Support"
|
|
||||||
adornment={<ToggleImpersonate />}
|
|
||||||
description="Grant Twenty support temporary access to your workspace so we can troubleshoot problems or recover content on your behalf. You can revoke access at any time."
|
|
||||||
/>
|
|
||||||
</Section>
|
|
||||||
<Section>
|
<Section>
|
||||||
<DeleteWorkspace />
|
<DeleteWorkspace />
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
Reference in New Issue
Block a user