github loocor/codmate 0.5.3

latest releases: 0.5.9, 0.5.8, 0.5.7...
3 months ago

๐Ÿš€ Major New Features

Auto-Assign Enhancement

  • โœจ Flexible scope selection for auto-assigning sessions to projects
  • ๐Ÿ“… Custom date range support for targeted historical session organization
  • ๐ŸŽฏ Today/All/Custom options with intuitive picker interface
  • ๐Ÿ“Š Real-time progress feedback during batch assignment operations
  • ๐ŸŽจ Modal sheet interface replacing simple button trigger for better UX

Local Development Support

  • ๐Ÿ› ๏ธ New make run target for quick local debug builds (native arch, inferred version)
  • ๐Ÿ”ง Enhanced Makefile with VER variable for version specification
  • โš™๏ธ SWIFT_CONFIG variable support to control build configuration
  • ๐Ÿ” SIGN_ADHOC option for ad-hoc signing during local runs without Developer ID certificates
  • ๐Ÿ“ฆ Separate entitlements file (CodMate-Notify.entitlements) for fine-grained permission control

Window Management Improvements

  • ๐ŸชŸ Single window enforcement by replacing WindowGroup with Window singleton
  • ๐ŸŽฏ Unified window activation logic centralized in MenuBarController
  • ๐Ÿ”„ Optimized window restoration with visibility and identifier-based detection
  • ๐Ÿ›ก๏ธ Prevented duplicate windows and inconsistent behavior
  • ๐ŸŽจ Unified toolbar style to prevent KVO issues with Window singleton

๐ŸŽจ UI/UX Improvements

Project Overview Enhancements

  • ๐Ÿ“Š Loading state tracking with isLoading and hasLoadedOnce flags
  • ๐Ÿ”„ Fallback filtering logic when scope filters yield empty results but counts indicate data
  • ๐ŸŽจ OverviewChartPlaceholder for better loading UX during initial data fetch
  • ๐Ÿ“ Improved empty state layout in OverviewActivityChart
  • โšก Better state synchronization to prevent empty states during initial load

Usage Status Auto-Refresh

  • ๐Ÿ”„ Automatic usage refresh on view appearance for Codex and third-party providers
  • โšก Auto-refresh on snapshot changes to ensure up-to-date usage information
  • ๐ŸŽฏ Smart refresh logic that only triggers when snapshot is not ready
  • ๐Ÿ“Š Usage status control improvements with better refresh timing

Visual Fixes

  • ๐ŸŒ“ Fixed Codex icon dark mode inversion to only apply when icon has no white background
  • ๐ŸŽจ Consistent icon appearance for running sessions in dark mode
  • ๐Ÿ”ง Improved visibility by preventing incorrect inversion logic

๐Ÿ”ง Technical Improvements

Code Quality & Robustness

  • ๐Ÿ› Fixed loading state race condition in ProjectOverviewViewModel
  • ๐Ÿ›ก๏ธ Removed unsafe force unwrap on Calendar.date(byAdding:to:) operations
  • ๐Ÿ”„ Early state synchronization by setting hasLoadedOnce before snapshot completion
  • ๐Ÿ“ Improved code formatting with better line breaks, parameter alignment, and consistent spacing
  • ๐Ÿงน Enhanced error handling with defensive fallbacks for calendar operations

Build System

  • ๐Ÿ“ฆ Added 'artifacts' to Package.swift exclude list to prevent unnecessary package scans
  • ๐Ÿ“š Documented 'make run' command in README.md for local development
  • ๐Ÿ”ง Improved build script flexibility with better configuration options

๐Ÿ“Š Change Statistics

  • Files Changed: 15 files
  • Code Changes: +654 / -227 lines (net: +427 lines)
  • Major Additions: AutoAssignSheet component, Makefile run target, loading state management
  • Major Improvements: Window management, usage auto-refresh, project overview UX

Upgrade Recommendation: This release focuses on improving developer experience with better local development support and enhanced auto-assign functionality. The new make run target simplifies local testing workflows. Window management improvements ensure a more consistent single-window experience. Users will benefit from automatic usage status refresh and better loading states in project overview.

Don't miss a new codmate release

NewReleases is sending notifications on new releases.