* fix(mcp): Include subtasks in get_task API response Add Subtasks association to the findTaskByIdentifier function so that the get_task MCP API endpoint returns subtasks along with the main task. This enables clients to access the full task hierarchy in a single API call. The serializeTask function already supported subtasks serialization, so this change only required updating the query includes to load the Subtasks relation with proper ordering and Tag associations. Fixes #1029 * fix(inbox): Fix tag/project autocomplete selection Fixes #996 Previously, when creating a task from inbox with autocomplete suggestions, the tag/project replacement would fail if there was regular text before the hashtag or plus sign. This caused two issues: 1. When typing "#technical_writing" and creating a task, the tag wouldn't be created or applied because the autocomplete wasn't replacing the input 2. When typing "#tech_" and selecting "technical_writing" from autocomplete, a new tag "tech_" would be created instead of applying the existing tag This was caused by an overly restrictive condition in handleTagSelect and handleProjectSelect that prevented replacement when there was regular text before the tag/project marker. Changes: - Removed the allowReplacement condition that blocked autocomplete when regular text preceded the tag/project marker - Simplified handleTagSelect and handleProjectSelect to always replace partial input when a suggestion is selected - Added a space after the selected tag/project for better UX |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| components | ||
| config | ||
| constants | ||
| contexts | ||
| entities | ||
| hooks | ||
| store | ||
| styles | ||
| utils | ||
| App.tsx | ||
| i18n.ts | ||
| index.tsx | ||
| Layout.tsx | ||