File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
npm-packages/dashboard-common/src/layouts Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,10 @@ export function DeploymentDashboardLayout({
141141 < FunctionsProvider >
142142 < div className = "flex h-full grow flex-col overflow-y-hidden" >
143143 { ( visiblePages === undefined || visiblePages . includes ( "settings" ) ) && (
144- < PauseBanner />
144+ < >
145+ < PauseBanner />
146+ < NodeVersionBanner />
147+ </ >
145148 ) }
146149 < div className = "flex h-full flex-col overflow-y-auto sm:flex-row" >
147150 { sidebarItems . length > 0 && (
@@ -216,6 +219,30 @@ function PauseBanner() {
216219 ) ;
217220}
218221
222+ function NodeVersionBanner ( ) {
223+ const nodeVersion = useQuery ( udfs . node . version ) ;
224+ const usingNode18 = nodeVersion === "nodejs18.x" ;
225+
226+ if ( usingNode18 ) {
227+ return (
228+ < div className = "border-y bg-background-warning py-2 text-center text-xs text-content-warning" >
229+ This deployment is using Node 18 and will be automatically upgraded to
230+ Node 20 on October 22, 2025. To manually configure the Node version,
231+ visit the{ " " }
232+ < Link
233+ href = "https://docs.convex.dev/production/project-configuration#configuring-the-nodejs-version"
234+ className = "text-content-link hover:underline"
235+ >
236+ docs
237+ </ Link >
238+ .
239+ </ div >
240+ ) ;
241+ }
242+
243+ return null ;
244+ }
245+
219246function EmbeddedConvexLogo ( { collapsed } : { collapsed : boolean } ) {
220247 const currentPage = useCurrentPage ( ) ;
221248 const { deploymentName } = useIsCloudDeploymentInSelfHostedDashboard ( ) ;
You can’t perform that action at this time.
0 commit comments