From 1eb7bcd5d490ac2e952e68d3ff8d0159ebd27c92 Mon Sep 17 00:00:00 2001 From: Arman Date: Tue, 25 Mar 2025 17:20:02 +0100 Subject: [PATCH] Revert "fix: tables" This reverts commit 70b73a5c98617cdc171f2f93c266c16f6f1ec4f8. --- .../domains/domain-[domain]/store.ts | 4 ++-- src/routes/(console)/project-[project]/auth/+page.svelte | 4 ++-- .../auth/user-[user]/identities/+page.svelte | 4 ++-- .../functions/function-[function]/executions/store.ts | 6 +++--- .../(console)/project-[project]/messaging/+page.svelte | 2 +- .../project-[project]/messaging/topics/+page.svelte | 6 +++--- .../(console)/project-[project]/settings/webhooks/store.ts | 2 +- .../sites/site-[site]/deployments/store.ts | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/store.ts b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/store.ts index 56195529f..18afb8527 100644 --- a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/store.ts +++ b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/store.ts @@ -9,8 +9,8 @@ export const columns = writable([ { id: 'type', title: 'Type', type: 'string' }, { id: 'value', title: 'Value', type: 'string' }, { id: 'ttl', title: 'TTL', type: 'integer' }, - { id: 'priority', title: 'Priority', type: 'integer', show: false }, - { id: 'comment', title: 'Comment', type: 'string', show: false }, + { id: 'priority', title: 'Priority', type: 'integer', hide: true }, + { id: 'comment', title: 'Comment', type: 'string', hide: true }, { id: '$createdAt', title: 'Created', type: 'datetime' } ]); diff --git a/src/routes/(console)/project-[project]/auth/+page.svelte b/src/routes/(console)/project-[project]/auth/+page.svelte index 46b4f8e6b..30c008614 100644 --- a/src/routes/(console)/project-[project]/auth/+page.svelte +++ b/src/routes/(console)/project-[project]/auth/+page.svelte @@ -37,13 +37,13 @@ { id: 'name', title: 'Name', type: 'string', width: { min: 260 } }, { id: 'identifiers', title: 'Identifiers', type: 'string', width: { min: 140 } }, { id: 'status', title: 'Status', type: 'string', width: { min: 140 } }, - { id: 'labels', title: 'Labels', type: 'string', show: false, width: { min: 140 } }, + { id: 'labels', title: 'Labels', type: 'string', hide: true, width: { min: 140 } }, { id: 'joined', title: 'Joined', type: 'string', width: { min: 140 } }, { id: 'lastActivity', title: 'Last activity', type: 'string', - show: false, + hide: true, width: { min: 140 } } ]); diff --git a/src/routes/(console)/project-[project]/auth/user-[user]/identities/+page.svelte b/src/routes/(console)/project-[project]/auth/user-[user]/identities/+page.svelte index e5de459f0..4076b3698 100644 --- a/src/routes/(console)/project-[project]/auth/user-[user]/identities/+page.svelte +++ b/src/routes/(console)/project-[project]/auth/user-[user]/identities/+page.svelte @@ -16,7 +16,7 @@ const columns = writable([ { id: '$id', title: 'Identity ID', type: 'string', width: 200 }, { id: 'provider', title: 'Provider', type: 'string', width: 80 }, - { id: 'providerUid', title: 'Provider UID', type: 'string', show: false, width: 80 }, + { id: 'providerUid', title: 'Provider UID', type: 'string', hide: true, width: 80 }, { id: 'providerEmail', title: 'Email', type: 'string', width: 80 }, { id: 'providerAccessTokenExpiry', @@ -25,7 +25,7 @@ width: 60 }, { id: '$createdAt', title: 'Created', type: 'datetime', width: 80 }, - { id: '$updatedAt', title: 'Updated', type: 'datetime', show: false, width: 80 } + { id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true, width: 80 } ]); diff --git a/src/routes/(console)/project-[project]/functions/function-[function]/executions/store.ts b/src/routes/(console)/project-[project]/functions/function-[function]/executions/store.ts index f75e269c7..fa5843428 100644 --- a/src/routes/(console)/project-[project]/functions/function-[function]/executions/store.ts +++ b/src/routes/(console)/project-[project]/functions/function-[function]/executions/store.ts @@ -15,7 +15,7 @@ export const columns = writable([ id: 'trigger', title: 'Trigger', type: 'string', - show: false, + hide: true, width: { min: 90, max: 200 }, array: true, format: 'enum', @@ -29,7 +29,7 @@ export const columns = writable([ id: 'requestMethod', title: 'Method', type: 'string', - show: false, + hide: true, width: { min: 90, max: 200 }, array: true, format: 'enum', @@ -39,7 +39,7 @@ export const columns = writable([ id: 'responseStatusCode', title: 'Status code', type: 'integer', - show: false, + hide: true, width: { min: 100, max: 200 }, format: 'integer', elements: [ diff --git a/src/routes/(console)/project-[project]/messaging/+page.svelte b/src/routes/(console)/project-[project]/messaging/+page.svelte index 1a98899e9..7ffd02d04 100644 --- a/src/routes/(console)/project-[project]/messaging/+page.svelte +++ b/src/routes/(console)/project-[project]/messaging/+page.svelte @@ -45,7 +45,7 @@ id: 'message', title: 'Message', type: 'string', - show: false, + hide: true, filter: false, width: { min: 140 } }, diff --git a/src/routes/(console)/project-[project]/messaging/topics/+page.svelte b/src/routes/(console)/project-[project]/messaging/topics/+page.svelte index 2a07d4cc8..924f13fe4 100644 --- a/src/routes/(console)/project-[project]/messaging/topics/+page.svelte +++ b/src/routes/(console)/project-[project]/messaging/topics/+page.svelte @@ -36,21 +36,21 @@ id: 'emailTotal', title: 'Email Subscribers', type: 'integer', - show: false, + hide: true, width: { min: 140 } }, { id: 'smsTotal', title: 'SMS Subscribers', type: 'integer', - show: false, + hide: true, width: { min: 140 } }, { id: 'pushTotal', title: 'Push Subscribers', type: 'integer', - show: false, + hide: true, width: { min: 140 } }, { diff --git a/src/routes/(console)/project-[project]/settings/webhooks/store.ts b/src/routes/(console)/project-[project]/settings/webhooks/store.ts index 9f6459210..85f0e8159 100644 --- a/src/routes/(console)/project-[project]/settings/webhooks/store.ts +++ b/src/routes/(console)/project-[project]/settings/webhooks/store.ts @@ -2,7 +2,7 @@ import type { Column } from '$lib/helpers/types'; import { writable } from 'svelte/store'; export const columns = writable([ - { id: '$id', title: 'Webhook ID', type: 'string', show: false, width: 200 }, + { id: '$id', title: 'Webhook ID', type: 'string', hide: true, width: 200 }, { id: 'name', title: 'Name', type: 'string', width: { min: 200 } }, { id: 'url', title: 'Post URL', type: 'string', width: { min: 200 } }, { id: 'events', title: 'Events', type: 'string', width: { min: 120 } }, diff --git a/src/routes/(console)/project-[project]/sites/site-[site]/deployments/store.ts b/src/routes/(console)/project-[project]/sites/site-[site]/deployments/store.ts index f4f9622a6..853decfdf 100644 --- a/src/routes/(console)/project-[project]/sites/site-[site]/deployments/store.ts +++ b/src/routes/(console)/project-[project]/sites/site-[site]/deployments/store.ts @@ -61,7 +61,7 @@ export const columns = writable([ id: 'sourceSize', title: 'Source size', type: 'integer', - show: false, + hide: true, width: { min: 110, max: 190 }, elements: [ { @@ -82,7 +82,7 @@ export const columns = writable([ id: 'buildSize', title: 'Build size', type: 'integer', - show: false, + hide: true, filter: false, width: { min: 90, max: 190 } },