Skip to content

Conversation

@imriadutta
Copy link

@imriadutta imriadutta commented Feb 8, 2026

Description

This PR added a task-management flow named Mind Queue, a minimalist productivity app.

Summary of changes

  • Added deep cloning for systems and tasks to prevent shared references.

  • Improved validation and error handling when creating or renaming systems, headers, and tasks.

  • Introduced confirmation dialogs for destructive actions (system, header, and task deletion).

  • Enhanced task management with:

    • Clone task functionality
    • Move task up/down within a header
    • Inline edit via tap and extended actions via long-press
  • Improved UX consistency by centralizing dialog handling and refreshing views after state changes.

  • Ensured all state changes are persisted immediately to data.json.

This makes the app more robust against accidental data loss and improves usability for larger task trees.

No breaking changes were introduced.


Test Code

Manual testing performed locally:

  • Create, rename, clone, and delete systems

  • Add, rename, and delete headers

  • Add, edit, clone, move, toggle, and delete tasks

  • Verified data persistence across app restarts

  • Tested edge cases:

    • Prevent deleting the last remaining system
    • Prevent duplicate system/header names
    • Prevent empty inputs

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality not to work as expected)
  • This change requires a documentation update

Checklist

  • I signed the CLA.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass locally with my changes
  • I have made corresponding changes to the documentation (not required for this change)

Additional details

  • All dialogs are managed via a shared overlay to avoid stacking or UI lockups.
  • No schema changes were made to data.json; existing user data remains compatible.
  • Code structure remains single-file for now to align with the current project scope.

Summary by Sourcery

Add a new Flet-based "Mind Queue" example app for task management with persistent local storage.

New Features:

  • Introduce the Mind Queue task management app with systems, headers, and tasks hierarchy.
  • Support creating, renaming, cloning, and deleting systems with validation and confirmation dialogs.
  • Add header management within a system, including creation, renaming, and deletion with safeguards.
  • Enable task CRUD operations, completion toggling, cloning, reordering, and inline editing via tap/long-press actions.
  • Persist all Mind Queue state changes immediately to a local JSON data file.

Enhancements:

  • Standardize dialog handling for confirmations and edits to improve UX consistency in the Mind Queue app.

Documentation:

  • Add README documentation describing Mind Queue features, data model, usage instructions, and future enhancements.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We've reviewed this pull request using the Sourcery rules engine

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