Skip to content

Commit

Permalink
add discord link on info
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed May 16, 2024
1 parent 03039fa commit 634d443
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 31 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
22 changes: 1 addition & 21 deletions src/apps/settings/modules/appsConfigurations/infra/infra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,6 @@ const columns: ColumnsType<AppConfigurationExtended> = [
},
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) =>
({
Expand Down Expand Up @@ -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,
Expand Down
13 changes: 4 additions & 9 deletions src/apps/settings/modules/information/infrastructure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function Information() {
return (
<div className={cs.info}>
<SettingsGroup>
<SettingsSubGroup label="Documentation">
<SettingsSubGroup label="Links:">
<SettingsOption>
<span>
Seelen UI <span className={cs.version}>v{EnvConfig.version}</span>:
Expand All @@ -25,15 +25,10 @@ export function Information() {
github.com/eythaann/seelen-ui
</a>
</SettingsOption>
</SettingsSubGroup>
</SettingsGroup>

<SettingsGroup>
<SettingsSubGroup label="Follow me:">
<SettingsOption>
<span>Github:</span>
<a href="https://github.com/eythaann" target="_blank">
github.com/eythaann
<span>Discord:</span>
<a href="https://discord.gg/ABfASx5ZAJ" target="_blank">
discord.gg/ABfASx5ZAJ
</a>
</SettingsOption>
</SettingsSubGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/background/seelen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 634d443

Please sign in to comment.