• 0.1.2 e2ee41eee8

    0.1.2 Stable

    anthonymills released this 2026-01-24 00:23:29 +11:00 | 58 commits to master since this release

    Release Notes: UI Code Refactoring and Readability Improvements

    This update focuses on improving the maintainability and readability of the application's core UI logic. By refactoring the main interface rendering loop, we have laid a cleaner foundation for future feature development and easier debugging.

    🛠 Technical Improvements

    • Modular UI Components: The large monolithic update function in src/main.rs has been decomposed into smaller, specialized methods within the MediaPlayer struct. This separation makes the UI structure much easier to follow and maintain.
    • New Internal UI Methods:
      • ui_top_panel: Dedicated logic for playlist management actions (Add Files, Add Folder, Clear, Save).
      • ui_metadata_area: Encapsulates the track information display and cover art rendering.
      • ui_controls: Isolated playback control logic (Play/Pause, Skip, Shuffle).
      • ui_seek_and_volume: Handles the progress slider, time stamps, and volume control.
      • ui_playlist: Manages the scroll-able list of tracks and track selection logic.
      • ui_about_window: Separated the "About" information window into its own focused method.

    📈 Developer Impact

    • Improved Readability: Navigating the UI code is now significantly faster as each section is clearly labeled and contained.
    • Easier Debugging: Issues related to specific UI components can now be isolated to their respective methods.
    • Foundation for Future Features: Adding new UI elements or modifying existing ones is now more straightforward due to the modular architecture.

    *No user-facing functionality changes were introduced in this release;

    Downloads