From 634d4432dd2c59fce6bb327f01ce4f9cba1d7d74 Mon Sep 17 00:00:00 2001 From: eythaann Date: Thu, 16 May 2024 15:39:19 -0500 Subject: [PATCH] add discord link on info --- changelog.md | 1 + .../appsConfigurations/infra/infra.tsx | 22 +------------------ .../modules/information/infrastructure.tsx | 13 ++++------- src/background/seelen.rs | 2 +- 4 files changed, 7 insertions(+), 31 deletions(-) diff --git a/changelog.md b/changelog.md index 67bdc0f6..82f866ea 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ ## [Unreleased] ### enhancements - Add splash screen to Settings window. +- Add discord link on Information Section. ### refactor - Use TaskScheduler for autostart Seelen with priority and admin privileges. diff --git a/src/apps/settings/modules/appsConfigurations/infra/infra.tsx b/src/apps/settings/modules/appsConfigurations/infra/infra.tsx index 298d2d20..e8153cc3 100644 --- a/src/apps/settings/modules/appsConfigurations/infra/infra.tsx +++ b/src/apps/settings/modules/appsConfigurations/infra/infra.tsx @@ -58,26 +58,6 @@ const columns: ColumnsType = [ }, sorter: getSorterByText('category'), }, - { - title: 'Monitor', - dataIndex: 'monitor', - key: 'monitor', - width: 120, - render(value, _record, _index) { - return value != null ? `Monitor ${value + 1}` : '-'; - }, - sorter: getSorterByText('monitor'), - }, - { - title: 'Workspace', - dataIndex: 'workspace', - key: 'workspace', - width: 120, - render(value, _record, _index) { - return value || '-'; - }, - sorter: getSorterByText('workspace'), - }, ...Object.values(ApplicationOptions).map( (option) => ({ @@ -249,7 +229,7 @@ export function AppsConfiguration() { dataSource={data} columns={columns} pagination={{ pageSize: 50 }} - scroll={{ y: 350, x: '100vw' }} + scroll={{ y: 330, x: '100vw' }} className={cs.table} rowSelection={{ selectedRowKeys: selectedAppsKey, diff --git a/src/apps/settings/modules/information/infrastructure.tsx b/src/apps/settings/modules/information/infrastructure.tsx index d968aea3..ddbb7e97 100644 --- a/src/apps/settings/modules/information/infrastructure.tsx +++ b/src/apps/settings/modules/information/infrastructure.tsx @@ -16,7 +16,7 @@ export function Information() { return (
- + Seelen UI v{EnvConfig.version}: @@ -25,15 +25,10 @@ export function Information() { github.com/eythaann/seelen-ui - - - - - - Github: - - github.com/eythaann + Discord: + + discord.gg/ABfASx5ZAJ diff --git a/src/background/seelen.rs b/src/background/seelen.rs index 8ee2c880..0b8b2136 100644 --- a/src/background/seelen.rs +++ b/src/background/seelen.rs @@ -315,7 +315,7 @@ impl Seelen { tauri::WebviewUrl::App("settings/index.html".into()), ) .title("Settings") - .inner_size(700.0, 500.0) + .inner_size(720.0, 480.0) .maximizable(false) .minimizable(true) .resizable(false)