Skip to content

Commit cfeb049

Browse files
authored
chore: add banner indicating that download counts are currently not updated (#6431)
1 parent 05230b9 commit cfeb049

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

website/src/page-settings.tsx

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Link as RouteLink, Route, useParams } from 'react-router-dom';
1515
import { PageSettings, Extension, NamespaceDetails } from 'openvsx-webui';
1616
import { ExtensionListRoutes } from 'openvsx-webui/lib/pages/extension-list/extension-list-container';
1717
import { DefaultMenuContent, MobileMenuContent } from './menu-content';
18-
// import InfoIcon from '@mui/icons-material/Info';
18+
import InfoIcon from '@mui/icons-material/Info';
1919
import OpenVSXLogo from './openvsx-registry-logo';
2020
import footerContent from './footer-content';
2121
import { Document } from './document';
@@ -127,15 +127,15 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
127127
</>;
128128

129129
//---------- ANNOUNCEMENT BANNER
130-
// const bannerContent: FunctionComponent = () =>
131-
// <Box display='flex' alignItems='center' pt={1} pb={1}>
132-
// <Box mr={2}>
133-
// <InfoIcon fontSize='large' />
134-
// </Box>
135-
// <Typography variant='body1'>
136-
// Open VSX will be migrating storage infrastructure on <Typography variant='body1' component='span' sx={{ fontWeight: 'bold' }}>Thursday, November 27, 2025 at 9:00 AM CET</Typography>. The registry will be in read-only mode during the migration – <Link color='secondary' underline='hover' href='https://status.open-vsx.org/maintenance' target='_blank' rel='noopener'>More details</Link>.
137-
// </Typography>
138-
// </Box>;
130+
const bannerContent: FunctionComponent = () =>
131+
<Box display='flex' alignItems='center' pt={1} pb={1}>
132+
<Box mr={2}>
133+
<InfoIcon fontSize='large' />
134+
</Box>
135+
<Typography variant='body1'>
136+
Download counts are currently not being updated. Access logs are stored and retained and will be used to backfill download counts as soon as possible.
137+
</Typography>
138+
</Box>;
139139

140140
//---------- SEARCH HEADER
141141
const searchHeader: FunctionComponent = () =>
@@ -193,21 +193,21 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
193193
defaultMenuContent: DefaultMenuContent,
194194
mobileMenuContent: MobileMenuContent,
195195
toolbarContent,
196-
// banner: {
197-
// content: bannerContent,
198-
// props: {
199-
// dismissButton: {
200-
// show: true,
201-
// label: 'Got It'
202-
// },
203-
// color: 'info'
204-
// },
205-
// cookie: {
206-
// key: 'Storage-Migration-Nov-2025',
207-
// value: 'closed',
208-
// path: '/'
209-
// }
210-
// },
196+
banner: {
197+
content: bannerContent,
198+
props: {
199+
dismissButton: {
200+
show: true,
201+
label: 'Got It'
202+
},
203+
color: 'info'
204+
},
205+
cookie: {
206+
key: 'Download-Counts-Dec-2025',
207+
value: 'closed',
208+
path: '/'
209+
}
210+
},
211211
footer: {
212212
content: footerContent,
213213
props: {

0 commit comments

Comments
 (0)