From 983241632aae6951de90a8db695b32402e09bd32 Mon Sep 17 00:00:00 2001 From: Jake Donham Date: Fri, 3 Nov 2023 10:15:30 -0700 Subject: [PATCH 1/4] banner on all pages with completed message --- components/full-page-loader.tsx | 2 +- components/repo-detail/index.tsx | 2 +- pages/_app.js | 15 +++++++++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/components/full-page-loader.tsx b/components/full-page-loader.tsx index d1c021b5..7feab84b 100644 --- a/components/full-page-loader.tsx +++ b/components/full-page-loader.tsx @@ -1,6 +1,6 @@ export function FullPageLoader() { return ( -
+
Logo
); diff --git a/components/repo-detail/index.tsx b/components/repo-detail/index.tsx index 38a23acd..7c2538b0 100644 --- a/components/repo-detail/index.tsx +++ b/components/repo-detail/index.tsx @@ -160,7 +160,7 @@ export function RepoDetailInner(props: RepoDetailInnerProps) { const { visible: historyPane } = useHistoryPane(); return ( -
+
{/* mimicking github.com's title */} diff --git a/pages/_app.js b/pages/_app.js index ba309d41..8f25fd00 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -18,10 +18,8 @@ function App({ Component, pageProps: { session, ...pageProps } }) { if (process.env.NODE_ENV !== "production") return; const appInsights = new ApplicationInsights({ config: { - // this isn't a high-security key, see https://stackoverflow.com/questions/54535275/what-will-happen-if-applicationinsights-instrumentationkey-gets-stolen - connectionString: - `InstrumentationKey=96006ad9-5042-466e-b5c9-641be3a9e13f;IngestionEndpoint=/api/telemetry/ingest;LiveEndpoint=/api/telemetry/live`, + connectionString: `InstrumentationKey=96006ad9-5042-466e-b5c9-641be3a9e13f;IngestionEndpoint=/api/telemetry/ingest;LiveEndpoint=/api/telemetry/live`, }, }); appInsights.loadAppInsights(); @@ -78,7 +76,16 @@ function App({ Component, pageProps: { session, ...pageProps } }) { session={session} refetchInterval={5 * 60} > - <Component {...pageProps} /> + <div className="h-screen flex flex-col"> + <div className="text-center p-4 bg-[#ddf4ff]"> + GitHub Next has successfully completed our exploration of + Blocks. We extend our heartfelt thanks to everyone who + participated in this technical preview. + </div> + <div className="flex-1 overflow-auto"> + <Component {...pageProps} /> + </div> + </div> </SessionProvider> </BaseStyles> </ThemeProvider> From 887d702857f0e78a3d176d6f766375cb6f6ac7d2 Mon Sep 17 00:00:00 2001 From: Idan Gazit <idan@gazit.me> Date: Mon, 13 Nov 2023 16:59:59 -0800 Subject: [PATCH 2/4] Update copy --- pages/_app.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/_app.js b/pages/_app.js index 8f25fd00..2ff34448 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -77,10 +77,12 @@ function App({ Component, pageProps: { session, ...pageProps } }) { refetchInterval={5 * 60} > <div className="h-screen flex flex-col"> - <div className="text-center p-4 bg-[#ddf4ff]"> - GitHub Next has successfully completed our exploration of - Blocks. We extend our heartfelt thanks to everyone who - participated in this technical preview. + <div className="text-center p-4 bg-yellow-200"> + The Blocks technology preview is shutting down on December + 15th, 2023.{" "} + <a href="" className="underline"> + Learn more about why we're sunsetting Blocks. + </a> </div> <div className="flex-1 overflow-auto"> <Component {...pageProps} /> From dd9df84031d3a74378050a1a079f3c8c56886479 Mon Sep 17 00:00:00 2001 From: Idan Gazit <idan@gazit.me> Date: Tue, 14 Nov 2023 09:54:17 -0800 Subject: [PATCH 3/4] Add link to why sunset --- pages/_app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/_app.js b/pages/_app.js index 2ff34448..164f649e 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -80,7 +80,10 @@ function App({ Component, pageProps: { session, ...pageProps } }) { <div className="text-center p-4 bg-yellow-200"> The Blocks technology preview is shutting down on December 15th, 2023.{" "} - <a href="" className="underline"> + <a + href="https://gist.github.com/idan/325676d192b32f169b032fde2d866c2c#github-next--technical-preview-sunsets" + className="underline" + > Learn more about why we're sunsetting Blocks. </a> </div> From 5c2384c2000b0bdd43ac92ea4d98b022ecf28274 Mon Sep 17 00:00:00 2001 From: Idan Gazit <idan@gazit.me> Date: Tue, 14 Nov 2023 09:57:23 -0800 Subject: [PATCH 4/4] s/technology/technical --- pages/_app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_app.js b/pages/_app.js index 164f649e..1c3135fa 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -78,7 +78,7 @@ function App({ Component, pageProps: { session, ...pageProps } }) { > <div className="h-screen flex flex-col"> <div className="text-center p-4 bg-yellow-200"> - The Blocks technology preview is shutting down on December + The Blocks technical preview is shutting down on December 15th, 2023.{" "} <a href="https://gist.github.com/idan/325676d192b32f169b032fde2d866c2c#github-next--technical-preview-sunsets"