mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-25 14:09:16 -06:00
Add a "Recent Hours History" section to the client view page that displays the last 20 time entries for the client. This provides users with quick visibility into recent work performed for each client. Changes: - Update view_client route to fetch recent time entries (directly linked to client and through client's projects) - Add eager loading for user, project, and task relationships to optimize query performance - Display time entries in a table format with date, project, task, user, duration, and notes - Include summary showing total entries and total hours - Filter to only show completed entries (exclude active timers) The history section appears below the projects list on the client detail page, maintaining consistency with the existing UI design and providing immediate context about recent work activity.