Skip to content

fix: Make timesheet and timer components mobile-responsive#22

Merged
BenGWeeks merged 5 commits intomainfrom
claude/fix-mvp-issue-CSmqF
Jan 7, 2026
Merged

fix: Make timesheet and timer components mobile-responsive#22
BenGWeeks merged 5 commits intomainfrom
claude/fix-mvp-issue-CSmqF

Conversation

@BenGWeeks
Copy link
Copy Markdown
Contributor

  • Add horizontal scroll to WeeklyTimesheet for mobile (min-width: 700px)
  • Adjust TimeEntryCell min-height with responsive breakpoint
  • Make TimerDisplay stack vertically on mobile with proper truncation

Fixes critical MVP issue: timesheet grid was unusable on mobile viewports
due to 7-column layout without responsive breakpoints.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses critical mobile responsiveness issues in the timesheet and timer components that were making the application unusable on mobile viewports. The changes implement horizontal scrolling for the 7-column timesheet grid and introduce responsive breakpoints to optimize the layout for smaller screens.

  • Enabled horizontal scrolling for the weekly timesheet grid with a 700px minimum width
  • Added responsive height adjustments to time entry cells (100px on mobile, 120px on desktop)
  • Converted timer display from horizontal to vertical layout on mobile devices with text truncation

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/components/timesheet/WeeklyTimesheet.tsx Wrapped the 7-column timesheet grid in a horizontally scrollable container with 700px minimum width to prevent unusable narrow columns on mobile
src/components/timesheet/TimeEntryCell.tsx Reduced cell height on mobile from 120px to 100px with md: breakpoint restoration, and added last:border-r-0 for cleaner edge styling
src/components/timer/TimerDisplay.tsx Restructured layout to stack vertically on mobile using sm: breakpoints, added text truncation to prevent overflow, and grouped timer display with stop button

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/timesheet/WeeklyTimesheet.tsx Outdated
Comment thread src/components/timesheet/TimeEntryCell.tsx Outdated
claude and others added 3 commits January 6, 2026 23:50
- Add horizontal scroll to WeeklyTimesheet for mobile (min-width: 700px)
- Adjust TimeEntryCell min-height with responsive breakpoint
- Make TimerDisplay stack vertically on mobile with proper truncation

Fixes critical MVP issue: timesheet grid was unusable on mobile viewports
due to 7-column layout without responsive breakpoints.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@BenGWeeks BenGWeeks force-pushed the claude/fix-mvp-issue-CSmqF branch from 08d06ac to 2e865a6 Compare January 6, 2026 23:57
BenGWeeks and others added 2 commits January 7, 2026 00:07
- Remove horizontal scrolling from timesheet grid (prefer shrinking)
- Keep icon-only "Copy previous week" button on mobile
- Keep smaller TimeEntryCell height on mobile

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix ExtensionBanner buttons staying right-aligned on mobile
- Add Branch Switching section to CLAUDE.md explaining need to restart
  dev server after switching branches

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@BenGWeeks BenGWeeks merged commit e6f95f0 into main Jan 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants