feat: make the week's submit control a labelled button #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/week-submit-button"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The week's timesheet submit action was a bare paperplane icon in front of the week totals, easy to miss.
WeekSubmitButton: a small.glassProminentSubmit button (paperplane + label, accent tint), shown while the week is open for submission and hidden once it is submitted or approved. It keeps its ideal width (.fixedSize()), so the label never truncates.39h 30m / 39h 30mthe rail moves Submit onto its own row instead of wrapping the totals.Verified in a real window in the Tart VM with a throwaway harness app (outside the repo) that renders
RailViewandWeekTotalsBadgewith fixture data: short totals (1h / 40h), long totals, locked, and not submittable. Without the.fixedSize()fix the harness reproduces the "Su…" truncation seen in the running app; with it, the short rail shows the full "Submit" on one row, long totals put Submit on its own row, and locked / not-submittable weeks show no button. Debug build succeeds.🤖 Generated with Claude Code