Skip to content

Add dates and category metadata for tasks - #174

Open
braican wants to merge 5 commits into
developfrom
feature/more-task-data
Open

Add dates and category metadata for tasks#174
braican wants to merge 5 commits into
developfrom
feature/more-task-data

Conversation

@braican

@braican braican commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Adds the ability to associate dates and categories to tasks. This PR resolves #170.

This pull request introduces category management for tasks, improves the UI for task metadata input, and refines the handling of rate toggles and layout spacing. The main changes include adding a reusable CategoryPicker component, updating the task form and task item components to support categories and dates, and adjusting the UI for better consistency and usability.

Category management and task metadata:

  • Added a new CategoryPicker component (src/components/category-picker/index.tsx, src/components/category-picker/category-picker.module.css) that allows users to add, remove, and create categories for tasks using a combobox with multi-select and tag UI. [1] [2]
  • Updated the task form (src/components/task-form/index.tsx) to include category and date fields, using the new CategoryPicker and supporting category creation and selection. The form now resets these fields on close. [1] [2] [3] [4]
  • Enhanced the task item component (src/components/task-item/index.tsx) to display and edit categories and dates, persisting changes and supporting category creation inline. [1] [2]

UI and layout improvements:

  • Adjusted spacing and padding in form rows and input fields for more compact and consistent layouts (src/app/globals.css, src/components/task-form/task-form.module.css). [1] [2] [3]
  • Improved the display of cost fields and added responsive layouts for task metadata fields.

Rate toggle logic:

  • Fixed the logic for the hourly/fixed rate toggle in both the task form and invoice task item, ensuring the toggle and labels match the intended behavior (src/components/task-form/index.tsx, src/components/invoice-task-item/index.tsx, src/components/task-item/index.tsx). [1] [2] [3]

Dependency and context updates:

  • Added the downshift dependency for accessible combobox and tag group support in the category picker (package.json).
  • Registered the new CategoryProvider in the app layout to provide category context throughout the app (src/app/layout.tsx). [1] [2]

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
taskkeeper Ready Ready Preview, Comment Jul 24, 2026 4:05am

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.

Add date and category UI to tasks

1 participant