Skip to content

Commit 7490ca9

Browse files
clicktodevawaseem
andauthored
feat: pwa ready and installable (supabase#38701)
* fix: update application name in manifest and include manifest in studio router * fix: change display mode to minimal-ui in manifest for refresh and back button * fix: update display settings in manifest to use display_override for minimal-ui * Update short_name in manifest.json to 'Supabase' --------- Co-authored-by: Ali Waseem <[email protected]>
1 parent f44c910 commit 7490ca9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apps/studio/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function CustomApp({ Component, pageProps }: AppPropsWithLayout) {
140140
}}
141141
/>
142142
</Head>
143-
<MetaFaviconsPagesRouter applicationName="Supabase Studio" />
143+
<MetaFaviconsPagesRouter applicationName="Supabase Studio" includeManifest />
144144
<TooltipProvider delayDuration={0}>
145145
<RouteValidationWrapper>
146146
<ThemeProvider

apps/studio/public/favicon/manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
2-
"name": "Supabase",
2+
"name": "Supabase Studio",
33
"short_name": "Supabase",
44
"description": "The Postgres Development Platform.",
5+
"display_override": ["minimal-ui"],
56
"display": "standalone",
67
"theme_color": "#1C1C1C",
78
"background_color": "#1C1C1C",
9+
"scope": "/",
10+
"start_url": "/",
811
"icons": [
912
{
1013
"src": "/favicon/android-icon-36x36.png",

0 commit comments

Comments
 (0)