Repository navigation
fix: Task Board filters, sort, one-click start, badge contrast - #287
Merged
Merged
Conversation
- Category filter shows category names instead of raw ids - Remove the no-op "Priority" sort; saved priority choice loads as oldest-first - Reset saved filters that no longer match any task; show a filtered-out notice, "Showing X of Y" count and "No matching tasks" column state - Add Start/Resume button to planned task cards (start day and pull, pull into running day, or resume) - Regression tests for board, card, and view hook
- Category badges on planned task cards pick black or white text by WCAG contrast against the category color instead of always white - Every Task Board column gets an "Add task" button pre-set to its status - Tests for getReadableTextColor, per-column add, and badge contrast
Deploying timetrackerpro with
|
| Latest commit: |
1c76ea8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0c2cca3f.timetrackerpro.pages.dev |
| Branch Preview URL: | https://fix-task-board-ux.timetrackerpro.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes several Task Board UX problems and adds two small improvements.
Type of Change
Related Issue
None.
Changes Made
Bug fixes
project-management) instead of category names. Options are now{ value: id, label: name }. —KanbanBoard.tsx,KanbanBoardControls.tsxpriorityabove its default of 0, so it always sorted oldest-first. The option is removed, and a savedprioritychoice now loads as "Oldest first" (the new default), so the visible order is unchanged. Thepriorityfield itself is untouched, ready for future drag-to-reorder. —useTaskBoardView.tsKanbanBoard.tsx,KanbanBoardControls.tsx,KanbanColumn.tsxPlannedTaskCard.tsx,src/utils/colorUtils.ts(new)Improvements
PlannedTaskCard.tsxKanbanColumn.tsxInternal:
useTaskBoardViewsetters now use functionalsetState, so resetting several stale filters in one effect doesn't lose updates.Checklist
Documentation
README.mdCHANGELOG.mdupdated accordinglyGeneral
mainpnpm test,pnpm lint, andpnpm buildpnpm test: 525 tests passing across 49 files.pnpm lint,pnpm check:design-tokens,pnpm check:a11yandpnpm lint:markdownall pass. New tests:KanbanBoard.test.tsx,KanbanColumn.test.tsx,PlannedTaskCard.test.tsx,useTaskBoardView.test.ts,colorUtils.test.ts.Notes for Reviewers
#8B5CF6now gets black badge text. White on it is 4.23:1, below the WCAG AA minimum of 4.5:1; black is 4.96:1.TaskItem.tsx:122(Dashboard task rows) has the same always-white badge text. It's left for a follow-up to keep this PR scoped to the Task Board.🤖 Generated with Claude Code