mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
chore: remove semver version from footer and proxy from sdk list (#9956)
This will stop displaying the semver version for our hosted (i.e. managed) customers, as it has become less relevant over time. It remains valuable for self-hosted users.
This commit is contained in:
parent
42f3ba5fc2
commit
8b4ad4b574
@ -17,13 +17,17 @@ export const ApiDetails = (props: IApiDetailsProps): ReactElement => {
|
|||||||
const { environment, billing } = props.uiConfig;
|
const { environment, billing } = props.uiConfig;
|
||||||
const updateNotification = formatUpdateNotification(props.uiConfig);
|
const updateNotification = formatUpdateNotification(props.uiConfig);
|
||||||
|
|
||||||
const buildInfo = buildNumber ? <small>({buildNumber})</small> : '';
|
const displayVersion = buildNumber ? (
|
||||||
|
<small>build {buildNumber}</small>
|
||||||
|
) : (
|
||||||
|
version
|
||||||
|
);
|
||||||
return (
|
return (
|
||||||
<section title='API details'>
|
<section title='API details'>
|
||||||
<FooterTitle>
|
<FooterTitle>
|
||||||
{name} {environment ? environment : ''}
|
{name} {environment ? environment : ''}
|
||||||
{billing === 'pay-as-you-go' ? ' Pay-as-You-Go' : ''} {version}{' '}
|
{billing === 'pay-as-you-go' ? ' Pay-as-You-Go' : ''}{' '}
|
||||||
{buildInfo}
|
{displayVersion}
|
||||||
</FooterTitle>
|
</FooterTitle>
|
||||||
<ConditionallyRender
|
<ConditionallyRender
|
||||||
condition={Boolean(updateNotification)}
|
condition={Boolean(updateNotification)}
|
||||||
|
@ -13,7 +13,6 @@ exports[`renders correctly with empty version 1`] = `
|
|||||||
|
|
||||||
test
|
test
|
||||||
|
|
||||||
|
|
||||||
</h2>
|
</h2>
|
||||||
<br />
|
<br />
|
||||||
<small>
|
<small>
|
||||||
@ -46,7 +45,6 @@ exports[`renders correctly with ui-config 1`] = `
|
|||||||
test
|
test
|
||||||
|
|
||||||
1.1.0
|
1.1.0
|
||||||
|
|
||||||
</h2>
|
</h2>
|
||||||
<br />
|
<br />
|
||||||
<small>
|
<small>
|
||||||
@ -78,7 +76,6 @@ exports[`renders correctly with versionInfo 1`] = `
|
|||||||
|
|
||||||
|
|
||||||
1.2.3
|
1.2.3
|
||||||
|
|
||||||
</h2>
|
</h2>
|
||||||
<small>
|
<small>
|
||||||
Upgrade available - Latest Enterprise release: 1.2.4
|
Upgrade available - Latest Enterprise release: 1.2.4
|
||||||
@ -115,7 +112,6 @@ exports[`renders correctly without uiConfig 1`] = `
|
|||||||
|
|
||||||
|
|
||||||
1.1.0
|
1.1.0
|
||||||
|
|
||||||
</h2>
|
</h2>
|
||||||
<br />
|
<br />
|
||||||
<small />
|
<small />
|
||||||
|
@ -178,19 +178,6 @@ export const Footer: VFC = () => {
|
|||||||
<section title='Unleash SDK'>
|
<section title='Unleash SDK'>
|
||||||
<FooterTitle>Frontend SDKs</FooterTitle>
|
<FooterTitle>Frontend SDKs</FooterTitle>
|
||||||
<StyledList dense>
|
<StyledList dense>
|
||||||
<StyledListItem>
|
|
||||||
<ListItemText
|
|
||||||
primary={
|
|
||||||
<a
|
|
||||||
href='https://docs.getunleash.io/reference/unleash-proxy'
|
|
||||||
target='_blank'
|
|
||||||
rel='noreferrer'
|
|
||||||
>
|
|
||||||
Unleash Proxy
|
|
||||||
</a>
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
</StyledListItem>
|
|
||||||
<StyledListItem>
|
<StyledListItem>
|
||||||
<ListItemText
|
<ListItemText
|
||||||
primary={
|
primary={
|
||||||
|
@ -26,7 +26,6 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
|
|
||||||
|
|
||||||
5.x
|
5.x
|
||||||
|
|
||||||
</h2>
|
</h2>
|
||||||
<br />
|
<br />
|
||||||
<small>
|
<small>
|
||||||
@ -255,26 +254,6 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
<ul
|
<ul
|
||||||
className="MuiList-root MuiList-padding MuiList-dense css-zin4jp-MuiList-root"
|
className="MuiList-root MuiList-padding MuiList-dense css-zin4jp-MuiList-root"
|
||||||
>
|
>
|
||||||
<li
|
|
||||||
className="MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-rw9v7e-MuiListItem-root"
|
|
||||||
disabled={false}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
className="MuiListItemText-root MuiListItemText-dense css-tlelie-MuiListItemText-root"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
className="MuiTypography-root MuiTypography-body2 MuiListItemText-primary css-1f1ka7g-MuiTypography-root"
|
|
||||||
>
|
|
||||||
<a
|
|
||||||
href="https://docs.getunleash.io/reference/unleash-proxy"
|
|
||||||
rel="noreferrer"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
Unleash Proxy
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li
|
<li
|
||||||
className="MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-rw9v7e-MuiListItem-root"
|
className="MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-rw9v7e-MuiListItem-root"
|
||||||
disabled={false}
|
disabled={false}
|
||||||
@ -573,7 +552,6 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
|
|
||||||
|
|
||||||
5.x
|
5.x
|
||||||
|
|
||||||
</h2>
|
</h2>
|
||||||
<br />
|
<br />
|
||||||
<small>
|
<small>
|
||||||
@ -802,26 +780,6 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
<ul
|
<ul
|
||||||
className="MuiList-root MuiList-padding MuiList-dense css-zin4jp-MuiList-root"
|
className="MuiList-root MuiList-padding MuiList-dense css-zin4jp-MuiList-root"
|
||||||
>
|
>
|
||||||
<li
|
|
||||||
className="MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-rw9v7e-MuiListItem-root"
|
|
||||||
disabled={false}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
className="MuiListItemText-root MuiListItemText-dense css-tlelie-MuiListItemText-root"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
className="MuiTypography-root MuiTypography-body2 MuiListItemText-primary css-1f1ka7g-MuiTypography-root"
|
|
||||||
>
|
|
||||||
<a
|
|
||||||
href="https://docs.getunleash.io/reference/unleash-proxy"
|
|
||||||
rel="noreferrer"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
Unleash Proxy
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li
|
<li
|
||||||
className="MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-rw9v7e-MuiListItem-root"
|
className="MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-rw9v7e-MuiListItem-root"
|
||||||
disabled={false}
|
disabled={false}
|
||||||
|
Loading…
Reference in New Issue
Block a user