Skip to content

Commit 2f81990

Browse files
authored
Use improve download count mechanism and remove banner again (#6491)
* chore: specify --no-cache for docker build * Use improve download count version, remove banner wrt download counts again * revert --nocache that was added by accident
1 parent c9823ac commit 2f81990

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG SERVER_VERSION=29b4f29
1+
ARG SERVER_VERSION=62c3ef7
22
ARG SERVER_VERSION_STRING=v0.29.1-post-migration
33

44
# Builder image to compile the website

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-
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>;
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: 'Download-Counts-Dec-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)