tududi/frontend/components
Chris dcb711c515
fix(inbox): Fix tag/project autocomplete selection (#1043)
* 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
2026-04-18 10:04:57 +03:00
..
Admin Fix bug 578 (#648) 2025-12-04 14:00:51 +02:00
Area Set verification modal on escape (#470) (#473) 2025-11-03 16:27:13 +02:00
Auth feat: Add OIDC/SSO authentication support (#1008) 2026-04-13 12:17:35 +03:00
Backup Update translations 2025-12-10 11:43:15 +02:00
CalDAV feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
Calendar Fix profile settings mobile layout (#694) 2025-12-10 09:10:23 +02:00
Habits Fix bug 733 (#735) 2025-12-27 21:00:52 +02:00
Inbox fix(inbox): Fix tag/project autocomplete selection (#1043) 2026-04-18 10:04:57 +03:00
Metrics Fix today race condition (#75) 2025-06-13 14:20:24 +03:00
Note Introduce focus mode in notes (#891) 2026-03-03 00:29:03 +02:00
Notifications fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
Productivity Fix redirect after task deletion to return to originating view (#887) 2026-03-01 16:07:02 +02:00
Profile feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
Project fix: resolve inbox project creation bugs (#1018) 2026-04-13 20:32:57 +03:00
Shared fix(ui): Auto-focus project search field when opened (Issue #992) (#1038) 2026-04-18 00:29:27 +03:00
Sidebar fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
Tag fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
Task fix: use nullish coalescing for recurrence weekday to allow Sunday selection (#1014) 2026-04-13 19:07:20 +03:00
UniversalSearch fix(search): Handle touch events to prevent input blur on mobile when saving views (#1039) 2026-04-17 18:43:30 +03:00
About.tsx Feat main content revamp (#584) 2025-11-20 09:15:55 +02:00
Areas.tsx Feat main content revamp (#584) 2025-11-20 09:15:55 +02:00
Calendar.tsx Fix redirect after task deletion to return to originating view (#887) 2026-03-01 16:07:02 +02:00
Login.tsx feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
Navbar.tsx feat: Add MCP Integration with client-agnostic instructions (#953) 2026-03-20 16:55:49 +02:00
Notes.tsx Introduce focus mode in notes (#891) 2026-03-03 00:29:03 +02:00
Projects.tsx Fix projects order persist to localstorage (#868) 2026-02-27 00:35:44 +02:00
Register.tsx feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
Sidebar.tsx feat: Add MCP Integration with client-agnostic instructions (#953) 2026-03-20 16:55:49 +02:00
Tags.tsx Feat improve task details (#585) 2025-11-21 18:43:10 +02:00
Tasks.tsx fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
ViewDetail.tsx fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
Views.tsx fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00