From f6cd07abe5cdaf6c1f44975b1246720aafda9014 Mon Sep 17 00:00:00 2001 From: David Crespo Date: Thu, 10 Nov 2022 10:23:32 -0600 Subject: [PATCH 1/3] refetch button on instances page, update ghost button colors --- app/pages/project/instances/InstancesPage.tsx | 10 ++++++---- libs/ui/lib/button/button.css | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/pages/project/instances/InstancesPage.tsx b/app/pages/project/instances/InstancesPage.tsx index c1bcd6f01c..744be16a2a 100644 --- a/app/pages/project/instances/InstancesPage.tsx +++ b/app/pages/project/instances/InstancesPage.tsx @@ -11,10 +11,12 @@ import { useQueryTable, } from '@oxide/table' import { + Button, EmptyMessage, Instances24Icon, PageHeader, PageTitle, + Refresh16Icon, TableActions, buttonStyle, } from '@oxide/ui' @@ -76,10 +78,7 @@ export function InstancesPage() { const { Table, Column } = useQueryTable( 'instanceList', { path: projectParams }, - { - refetchInterval: 5000, - keepPreviousData: true, - } + { keepPreviousData: true } ) if (!instances) return null @@ -90,6 +89,9 @@ export function InstancesPage() { }>Instances + Date: Thu, 10 Nov 2022 10:54:04 -0600 Subject: [PATCH 2/3] don't include all the = { sm: 'h-8 px-3 text-mono-sm svg:w-4', + // meant for buttons that only contain a single icon + icon: 'h-8 w-8 text-mono-sm svg:w-4', base: 'h-10 px-3 text-mono-md svg:w-5', }