v3.7.2: UI improvements

- Show version in window title bar
- Auto-select first streamer on startup
- Center empty state properly
- Better tab content layout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
xRangerDE 2026-02-04 15:55:32 +01:00
parent d3718b1d86
commit fb29ee77d3
3 changed files with 17 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "3.7.1", "version": "3.7.2",
"description": "Twitch VOD Manager - Download Twitch VODs easily", "description": "Twitch VOD Manager - Download Twitch VODs easily",
"main": "dist/main.js", "main": "dist/main.js",
"author": "xRangerDE", "author": "xRangerDE",

View File

@ -382,7 +382,9 @@
} }
.tab-content.active { .tab-content.active {
display: block; display: flex;
flex-direction: column;
min-height: 100%;
} }
/* VOD Grid */ /* VOD Grid */
@ -390,6 +392,13 @@
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px; gap: 20px;
flex: 1;
}
.vod-grid:has(.empty-state) {
display: flex;
align-items: center;
justify-content: center;
} }
.vod-card { .vod-card {
@ -1477,6 +1486,7 @@
document.getElementById('versionText').textContent = `v${version}`; document.getElementById('versionText').textContent = `v${version}`;
document.getElementById('versionInfo').textContent = `Version: v${version}`; document.getElementById('versionInfo').textContent = `Version: v${version}`;
document.title = `Twitch VOD Manager v${version}`;
document.getElementById('clientId').value = config.client_id || ''; document.getElementById('clientId').value = config.client_id || '';
document.getElementById('clientSecret').value = config.client_secret || ''; document.getElementById('clientSecret').value = config.client_secret || '';
document.getElementById('downloadPath').value = config.download_path || ''; document.getElementById('downloadPath').value = config.download_path || '';
@ -1490,6 +1500,10 @@
if (config.client_id && config.client_secret) { if (config.client_id && config.client_secret) {
await connect(); await connect();
// Auto-select first streamer if available
if (config.streamers && config.streamers.length > 0) {
selectStreamer(config.streamers[0]);
}
} }
// Event listeners // Event listeners

View File

@ -8,7 +8,7 @@ import { autoUpdater } from 'electron-updater';
// ========================================== // ==========================================
// CONFIG & CONSTANTS // CONFIG & CONSTANTS
// ========================================== // ==========================================
const APP_VERSION = '3.7.1'; const APP_VERSION = '3.7.2';
const UPDATE_CHECK_URL = 'http://24-music.de/version.json'; const UPDATE_CHECK_URL = 'http://24-music.de/version.json';
// Paths // Paths