Skip to content

UI refresh#3

Merged
deadpyxel merged 17 commits intomainfrom
feature/ui
Jul 10, 2025
Merged

UI refresh#3
deadpyxel merged 17 commits intomainfrom
feature/ui

Conversation

@deadpyxel
Copy link
Copy Markdown
Owner

No description provided.

@deadpyxel deadpyxel self-assigned this Jul 1, 2025
@deadpyxel deadpyxel mentioned this pull request Jul 1, 2025
deadpyxel added 14 commits July 2, 2025 17:24
Add Bubble Tea model struct and required methods as foundationf for
incremental UI improvements
Add consistent title styling with bottom border
Add rounded borders for individual entries
Add help text styling
Improve week date range display format
Replace basic entry.String() with detailed formatting
Add proper label-value styling for dates, times, duration
Include structured sections for breaks and notes
Add Daily Entries section header with emoji
Match formatting patterns from other report commands
Add totalWorkTime field to model struct
Calculate total work time accounting for breaks and lunch
Add styled summary section with entry count and total hours
Follow same calculation logic as monthly report
Complete UI consistency with other report commands
Create endModel struct with workday completion data
Implement styled View with work summary and validation status
Display work duration, start/end times, and validation results
Show success/warning indicators based on validation results
Add Bubble Tea and create startModel struct to track workday start state
Implement styled View with start confirmation and next steps
Display different titles for new vs overwritten entries
Show previous entry end time updates when applicable
Add helpful next steps section with command examples
Create breakModel struct for both start/stop break scenarios
Implement styled View with break details and daily summaries
Display break start/end times, reasons, and durations
Show daily break statistics (count and total time)
Add helpful action guidance for each break state
Replace simple print statements with rich styled confirmations
Fix issue where entry modifications weren't persisting due to working
with copies. Working directly with the entries slice was the approach
that fixed the issue.
Restructure monthly report in a simplified manner but keeping the UI
styling.
Simplify the report structure to be a tabular view, making easier to
visualize and scan the information
Add internal/styles package with reusable UI components
Migrate cmd/start.go to use shared styles
Establish consistent color palette across application
Instead of using the lipgloss components we use the shared components
from the internal/styles package where we centralized our UI styling.
@deadpyxel deadpyxel marked this pull request as ready for review July 10, 2025 19:52
@deadpyxel deadpyxel added the enhancement New feature or request label Jul 10, 2025
@deadpyxel deadpyxel merged commit 0e7c778 into main Jul 10, 2025
1 check passed
@deadpyxel deadpyxel deleted the feature/ui branch July 10, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant