8000 fix(tasks): use priority colors for completion checkbox borders by ahmet-cetinkaya · Pull Request #301 · ahmet-cetinkaya/whph · GitHub
[go: up one dir, main page]

Skip to content

fix(tasks): use priority colors for completion checkbox borders - #301

Merged
ahmet-cetinkaya merged 4 commits into
mainfrom
fix/complete-checkbox-priority-color
Aug 23, 2026
Merged

ahmet-cetinkaya merged 4 commits into
mainfrom
fix/complete-checkbox-priority-color

Conversation

@ahmet-cetinkaya
Copy link
Copy Markdown
Owner

Context

Task completion checkbox borders now reflect the task priority whenever one is present.


Implementation Details

  • Add a separate optional border-color input to the completion control, keeping status-derived fill color behavior unchanged.
  • Map task priority through StatusAwareCompleteButton for both task cards and task details.
  • Add widget coverage proving priority takes precedence over a status color for the checkbox border.

Important

The focused regression test passed locally with nix develop --command fvm flutter test test/presentation/ui/features/tasks/components/task_card_test.dart --plain-name "incomplete task checkbox border uses priority color".


Checklist for Reviewer

  • Focused regression test passed locally.
  • Commit history is clean and descriptive.
  • Documentation updated (not applicable).
  • LSP diagnostics are clean for modified files.

@ahmet-cetinkaya ahmet-cetinkaya self-assigned this Aug 23, 2026
@ahmet-cetinkaya
ahmet-cetinkaya marked this pull request as ready for review August 23, 2026 15:54
@ahmet-cetinkaya
ahmet-cetinkaya merged commit 12f34ad into main Aug 23, 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.

1 participant

0