From dd51119bea37accbb91cc3ad96f18ef64e8b07e8 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Tue, 3 Jan 2023 14:59:57 -0700 Subject: [PATCH 1/3] docket: rename to Grid System was extremely confusing because %base is also referred to as System. Also allow it to show up in the app preferences list, so that you can change its OTA source. --- desk/desk.docket-0 | 2 +- ui/src/preferences/SystemPreferences.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/desk/desk.docket-0 b/desk/desk.docket-0 index 3d921540..7eab4fc7 100644 --- a/desk/desk.docket-0 +++ b/desk/desk.docket-0 @@ -1,4 +1,4 @@ -:~ title+'System' +:~ title+'Grid' info+'An app launcher for Urbit.' color+0xee.5432 glob-http+['https://bootstrap.urbit.org/glob-0v1.tqd6t.ggt8r.roheb.l3bvq.sbm6d.glob' 0v1.tqd6t.ggt8r.roheb.l3bvq.sbm6d] diff --git a/ui/src/preferences/SystemPreferences.tsx b/ui/src/preferences/SystemPreferences.tsx index 07491c63..e2f73308 100644 --- a/ui/src/preferences/SystemPreferences.tsx +++ b/ui/src/preferences/SystemPreferences.tsx @@ -72,7 +72,6 @@ export const SystemPreferences = ( const { systemBlocked } = useSystemUpdate(); const charges = useCharges(); const filteredCharges = Object.values(charges) - .filter((charge) => charge.desk !== window.desk) .filter((charge) => charge.desk !== 'landscape'); const isMobile = useMedia('(max-width: 639px)'); const settingsPath = isMobile ? `${match.url}/:submenu` : '/'; From 2ea14678c0913f70db0c81ac2acb597b21715e64 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Tue, 3 Jan 2023 15:03:29 -0700 Subject: [PATCH 2/3] error: link to correct repo urbit/landscape doesn't exist. I think this is the right repo. --- ui/src/components/ErrorAlert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ErrorAlert.tsx b/ui/src/components/ErrorAlert.tsx index 93d18bc5..81699711 100644 --- a/ui/src/components/ErrorAlert.tsx +++ b/ui/src/components/ErrorAlert.tsx @@ -17,7 +17,7 @@ const SubmitIssue = ({ error }: { error: Error }) => { + + ) : (blockedCount == 0) ? ( + <> +

+ System update failed. +

+

+ For additional debugging output, open the terminal and click retry below. +

+ + + ) : ( + <> +

+ Update is currently blocked by the following {pluralize('app', blockedCount)}: +

- - - Freeze {blockedCount} {pluralize('app', blockedCount)} and Apply Update - - -

- Freeze {blockedCount} {pluralize('App', blockedCount)} and Apply System Update -

-

- The following apps will be archived until their developer provides a compatible - update to your system. -

- -
- - Cancel - - - Freeze Apps - -
-
-
+ {gardenBlocked ? ( + <> +

+ Grid is the application launcher and system interface. + It needs an update before you can apply the System Update. +

+ + ) : ( + + + Suspend {blockedCount} {pluralize('App', blockedCount)} and Apply Update + + +

+ Suspend {blockedCount} {pluralize('App', blockedCount)} and Apply System Update +

+

+ The following {pluralize('app', blockedCount)} will be suspended until their + developer provides an update. +

+ +
+ + Cancel + + + Suspend {pluralize('App', blockedCount)} and Update + +
+
+
+ )} + + )} ) : (

Your urbit is up to date.