Skip to content

Conversation

@kodjima33
Copy link
Collaborator

Summary

  • Simplified task categories from 5 (No Deadline, Today, This Month, This Quarter, This Year) to 3: Today, No Deadline, Later
  • Added drag-and-drop between categories that automatically updates task deadlines
  • Added swipe left/right gesture to indent tasks (cascade like Apple Notes/Notion)
  • Moved export and completed toggle buttons to header bar for cleaner UI
  • Removed banner and tabs UI for a cleaner single-page layout
  • Added 7-day filter to hide old uncompleted tasks automatically
  • Synced all changes to desktop version

Test plan

  • Verify tasks display in correct categories based on due date
  • Test drag-and-drop between categories updates deadline
  • Test swipe left/right indents tasks properly
  • Verify export button opens Task Integrations page
  • Test completed toggle shows/hides completed tasks
  • Test on desktop version

🤖 Generated with Claude Code

- Simplified task categories to: Today, No Deadline, Later
- Added drag-and-drop between categories (updates task deadline)
- Added swipe left/right to indent tasks (cascade like Apple Notes)
- Moved export and completed toggle buttons to header bar
- Removed banner and tabs UI for cleaner single-page layout
- Added 7-day filter to hide old uncompleted tasks
- Synced changes to desktop version

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a significant and well-executed redesign of the Tasks page for both mobile and desktop platforms. The new design simplifies task categories, introduces intuitive drag-and-drop and swipe-to-indent gestures, and provides a cleaner user interface by moving controls to the header. The code is well-structured, and the changes are consistently applied across both platforms.

My main feedback is regarding a repeated violation of a repository rule about using a deprecated method for color opacity. I've pointed out specific instances and recommended updating them to maintain code consistency and adhere to the established best practices.

end: Alignment.bottomCenter,
colors: [
ResponsiveHelper.backgroundPrimary,
ResponsiveHelper.backgroundSecondary.withOpacity(0.8),
Copy link
Contributor

Choose a reason for hiding this comment

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

high

According to the repository's general rules, the withOpacity() method is deprecated and withValues({double? alpha}) should be used instead to modify a color's opacity. This ensures consistency with the project's coding standards. I've noticed several other instances of withOpacity() in this file (e.g., lines 264, 405, 527, 588, 723, and 766) that should also be updated.

Suggested change
ResponsiveHelper.backgroundSecondary.withOpacity(0.8),
ResponsiveHelper.backgroundSecondary.withValues(alpha: 0.8),
References
  1. Use the custom withValues({double? alpha}) extension method instead of the deprecated withOpacity() to modify a color's opacity.

decoration: BoxDecoration(
color: item.completed ? Colors.orange : Colors.green,
borderRadius: BorderRadius.circular(16),
color: Colors.deepPurpleAccent.withOpacity(0.1),
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The repository's general rules specify that withValues({double? alpha}) should be used instead of the deprecated withOpacity() method. Please update this to adhere to the project's coding standards. This also applies to other occurrences in this file, such as on lines 241 and 386.

Suggested change
color: Colors.deepPurpleAccent.withOpacity(0.1),
color: Colors.deepPurpleAccent.withValues(alpha: 0.1),
References
  1. Use the custom withValues({double? alpha}) extension method instead of the deprecated withOpacity() to modify a color's opacity.

@kodjima33 kodjima33 merged commit 071cd09 into main Dec 29, 2025
1 check passed
@kodjima33 kodjima33 deleted the feat/tasks-ui-improvements branch December 29, 2025 04:10
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.

2 participants