diff --git a/ui/src/preferences/about-system/AboutSystem.tsx b/ui/src/preferences/about-system/AboutSystem.tsx index 9c913d39..fc596a86 100644 --- a/ui/src/preferences/about-system/AboutSystem.tsx +++ b/ui/src/preferences/about-system/AboutSystem.tsx @@ -6,7 +6,7 @@ import { Dialog, DialogClose, DialogContent, DialogTrigger } from '../../compone import { FullTlon16Icon } from '../../components/icons/FullTlon16Icon'; import { useSystemUpdate } from '../../logic/useSystemUpdate'; import { useCharge } from '../../state/docket'; -import { usePike } from '../../state/kiln'; +import { usePike, useLag } from '../../state/kiln'; import { disableDefault, pluralize } from '../../state/util'; import { UpdatePreferences } from './UpdatePreferences'; @@ -20,7 +20,9 @@ export const AboutSystem = () => { const gardenPike = usePike(window.desk); const { systemBlocked, blockedCharges, blockedCount, freezeApps } = useSystemUpdate(); + const gardenBlocked = null != blockedCharges.find(charge => charge.desk == 'garden'); const hash = gardenPike && getHash(gardenPike); + const lag = useLag(); return ( <> @@ -46,41 +48,83 @@ export const AboutSystem = () => { {systemBlocked ? ( <> -
Update is currently blocked by the following apps:
+ {lag ? ( + <> ++ System update failed because your runtime was out of date. +
++ Update your runtime or contact your hosting provider. +
++ Once your runtime is up to date, click retry below. +
+ + > + ) : (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)}: +
+ Grid is the application launcher and system interface. + It needs an update before you can apply the System Update. +
+ > + ) : ( + + )} + > + )} > ) : (Your urbit is up to date.