Commit Graph

12 Commits (68f6de695fbd1c33b1c74ecf81b7013a2fb9f8fc)

Author SHA1 Message Date
Kirubakaran 68f6de695f feat(versioning): centralize dashboard version management
- Added VERSION.txt at project root to serve as the single source of truth
- Added core/versioning.py with get_version() helper:
  • Reads APP_VERSION env var if present
  • Reads VERSION.txt (works in dev and frozen exe)
  • Falls back to "v0.0.0"
- Updated main_window.py:
  • Import get_version() and store self.app_version
  • Set window title dynamically with dashboard version
  • Replaced hardcoded QLabel("Version 4.2") with QLabel(f"Version {get_version()}")
- Updated build script (generate_executable.py):
  • Prompt for version at build time
  • Write VERSION.txt with entered version
  • Bundle VERSION.txt into PyInstaller exe (--add-data)
  • Use version in exe filename (SwapStationDashboard_vX.Y.exe)
- Result: version number now changes automatically everywhere (badge, title, About, logs)
  just by editing VERSION.txt or providing APP_VERSION at build/runtime.
2025-08-27 20:16:02 +05:30
Kirubakaran 37500e3877 fix: Bugs & UI 2025-08-27 17:36:12 +05:30
Kirubakaran 7284626248 Fix: Improve MQTT connection and error handling 2025-08-27 03:53:05 +05:30
Kirubakaran 77ff85c541 feat: updated the styles 2025-08-27 00:33:05 +05:30
Kirubakaran 9f8efb8aeb Update main_window.py 2025-08-24 22:06:59 +05:30
Kirubakaran d660cc67f7 feat: Improve terminal logging and add build script 2025-08-22 21:53:21 +05:30
Kirubakaran c296932450 fix: Update main_window.py 2025-08-22 08:13:23 +05:30
Kirubakaran 3599b26077 fix(styles updated): light theme fonts changed 2025-08-22 03:04:00 +05:30
Kirubakaran 77abe8f8be fix(door status): Inverted the door status 2025-08-22 02:49:37 +05:30
Kirubakaran 5d35b9a34d feat(ui): polish About & Help tabs; theme-driven styles
About: modern card, clickable mail/URL (TextBrowserInteraction + openExternalLinks), single-line values, link color via palette; layout reuse to avoid warnings.
Help: scrollable card; moved all styling to theme QSS; added Quick Start, Tips, Warnings, Troubleshooting sections.
Theme: added HELP/ABOUT blocks for light & dark; cast font sizes to int to prevent light-mode crashes; consolidated #aboutCard rules; link colors per theme.
Fix: removed setLayout(None) and avoided re-adding layouts to the same widget.
2025-08-21 04:14:12 +05:30
Kirubakaran 0012e5502c fix(ui): backup supply indicator, font size, and system diagnostic highlight
- Fixed backup supply ON/OFF indicator display
- Increased font size for better readability
- Highlighted system diagnostic codes for improved visibility
2025-08-21 01:08:59 +05:30
Kirubakaran 412139f02d chore: initial project setup
- Added base project structure (core, ui, proto, assets, logs, utils)
- Added requirements.txt for dependencies
- Added main.py entry point
- Configured .gitignore to exclude __pycache__, build, dist, venv, logs, and .spec files
2025-08-21 00:26:09 +05:30