From 436b36de254ffaddf048c071bc19e2c42031c02c Mon Sep 17 00:00:00 2001 From: awalias Date: Sat, 26 Mar 2022 11:00:12 +0100 Subject: [PATCH 1/4] fix: move fast typo --- www/_blog/2022-03-25-should-i-open-source-my-company.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_blog/2022-03-25-should-i-open-source-my-company.mdx b/www/_blog/2022-03-25-should-i-open-source-my-company.mdx index bacbea26171..8c77263f4eb 100644 --- a/www/_blog/2022-03-25-should-i-open-source-my-company.mdx +++ b/www/_blog/2022-03-25-should-i-open-source-my-company.mdx @@ -105,7 +105,7 @@ People who have been hired at Supabase through our repos have made themselves in ## But does it integrate with Excel? -When building a startup, you might find that you only really have the time to solve your biggest problems. In order to most fast, you need to focus on what 80% of the user base is asking for. The features requested by the minority are prone to getting indefinitely shunted. When your systems are open source however, these users have the ability to contribute the features themselves, expanding the usefulness of your software - sometimes to new use cases that you didn't even know existed. This happens most often with integrations and adaptors. Users might want an Azure or Vercel integration, and if someone else can provide the development resources to make those connections, then everyone using your project benefits as a result. +When building a startup, you might find that you only really have the time to solve your biggest problems. In order to move fast, you need to focus on what 80% of the user base is asking for. The features requested by the minority are prone to getting indefinitely shunted. When your systems are open source however, these users have the ability to contribute the features themselves, expanding the usefulness of your software - sometimes to new use cases that you didn't even know existed. This happens most often with integrations and adaptors. Users might want an Azure or Vercel integration, and if someone else can provide the development resources to make those connections, then everyone using your project benefits as a result. ## It's 2022. Where are the flying cars? From fb95b0d0538c247d27dac58aad88ec60f2a68af6 Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Sat, 26 Mar 2022 11:21:14 +0100 Subject: [PATCH 2/4] fix: check if addEventListener() is available before listening to media changes --- studio/hooks/misc/useStore.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/studio/hooks/misc/useStore.tsx b/studio/hooks/misc/useStore.tsx index 4060949ce31..ef94ab85d9d 100644 --- a/studio/hooks/misc/useStore.tsx +++ b/studio/hooks/misc/useStore.tsx @@ -40,7 +40,12 @@ export const StoreProvider: FC = ({ children, rootStore }) => { useEffect(() => { ui.load() - window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', matchMediaEvent) + + if (window.matchMedia('(prefers-color-scheme: dark)').addEventListener) { + // backwards compatibility for safari < v14 + // limited support for addEventListener() + window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', matchMediaEvent) + } autorun(() => { if (ui.notification) { From 3d157a056eaa0aff920a3e5dfc66b3e563cc6488 Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Sat, 26 Mar 2022 12:12:37 +0100 Subject: [PATCH 3/4] Update useStore.tsx --- studio/hooks/misc/useStore.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/hooks/misc/useStore.tsx b/studio/hooks/misc/useStore.tsx index ef94ab85d9d..111a2caff95 100644 --- a/studio/hooks/misc/useStore.tsx +++ b/studio/hooks/misc/useStore.tsx @@ -41,7 +41,7 @@ export const StoreProvider: FC = ({ children, rootStore }) => { useEffect(() => { ui.load() - if (window.matchMedia('(prefers-color-scheme: dark)').addEventListener) { + if (window?.matchMedia('(prefers-color-scheme: dark)')?.addEventListener) { // backwards compatibility for safari < v14 // limited support for addEventListener() window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', matchMediaEvent) From 1ed8588291133a163d546088b0a85f7d9d4d315f Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Sat, 26 Mar 2022 19:43:21 +0800 Subject: [PATCH 4/4] Update announcement for launch week 4 --- www/data/Announcement.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/data/Announcement.json b/www/data/Announcement.json index 038829fffe6..2a8085a98e6 100644 --- a/www/data/Announcement.json +++ b/www/data/Announcement.json @@ -1,6 +1,6 @@ { - "show": false, - "text": "Supabase Launch Week III", - "cta": "Supabase acquires Logflare", - "link": "/blog/2021/12/02/supabase-acquires-logflare" + "show": true, + "text": "Supabase Launch Week IV", + "cta": "New features every day until Friday 1 April", + "link": "/blog/2022/03/25/supabase-launch-week-four" }