Time Clock – Daily Changelog – September 10, 2025

Daily Changelog – September 10, 2025

New

  • Implemented comprehensive profile management system with personal information, preferences, and settings
  • Added pronoun selection with common options (he/him, she/her, they/them) plus custom input for zie/zir, xe/xem, etc.
  • Created avatar upload functionality and profile picture management
  • Added email notification preferences with granular control over different notification types
  • Implemented profile visibility settings to control what information is shown to other users
  • Built tabbed interface for organized profile management (Personal, Notifications, Privacy)
  • Added bio field and phone number management for enhanced user profiles
  • Implemented improved time-off request flow with clear form labels and confirmation step
  • Added “First day off” and “Last day off” labels with helper text to eliminate confusion
  • Created confirmation dialog showing time off period and first day back at work
  • Added smart validation to detect when employees include their first day back in requests

Fixes

  • Fixed time-off request approval blocking when employees have insufficient PTO balance
  • Modified database function to allow partial PTO deductions for approved requests
  • Updated email approval route to properly handle PTO deductions and respect use_pto flag
  • Removed approval reversions when PTO deduction fails to allow unpaid time off approvals
  • Fixed green-on-green contrast issue in success messages across multiple components
  • Updated AlertBanner and other components to use proper foreground colors for text readability
  • Created automated contrast validation and fix scripts to prevent future color contrast issues
  • Fixed 50 additional contrast violations across 15 files using automated script
  • Added pre-commit hook to prevent contrast violations from being committed
  • Created missing UI components (Textarea, Switch, Tabs) that were causing deployment failures on Heroku
  • Fixed module resolution errors for @/components/ui/textarea, @/components/ui/switch, and @/components/ui/tabs in profile page
  • Updated UI component index.ts to export the new components following existing patterns
  • Fixed custom pronouns input field functionality in profile page – now properly shows and allows typing when “Custom…” is selected
  • Simplified pronoun options to only include the most common ones (he/him, she/her, they/them) with custom input for any other preferences

Improvements

  • Updated both employee portal and admin time-off request forms with consistent UX
  • Added gentle warning for common Friday-to-Monday mistake pattern
  • Changed form submission flow to show confirmation before final submission