Custom task fields per workspace, with Priority, Size and Waiting on #134
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
CrowderSoup/vTodo!134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/custom-fields"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The usage review showed tags doing the work of fields:
priority-*(50 tasks),size-*(56),type-*, plusneeds-azurewith long "WAITING ON AZURE" comments. Decisions so far:What
TaskField(per workspace: name, kind, options, ask_reason, order). Tasks getfield_valuesandfield_reasons(JSON, keyedf<id>so renames never touch tasks, and so JSON lookups don't read the key as an array index). Migration 0021 gives every existing workspace the three defaults, and new workspaces get them too.apps/tasks/fields.py, used by the web, API and MCP:custom_fieldsandfield_reasonson tasks, by field name.?field=Priority=Criticalfilters.GET /api/v1/fields/.field_labelon history rows.ignoreUnknownKeys).list_fields, andcustom_fields/field_reasonsoncreate_task,update_taskandlist_tasks. The docstrings tell agents to use fields instead of tags.manage.py tags_to_fieldsconvertspriority-*(polish → Low),size-*andtype-*tags. It's a dry run unless you pass--apply, and--remove-tagstakes the converted tags off. Not run against production.Testing
apps/tasks/tests/test_fields.py(25 tests),mcp_server/tests/test_fields.py, andandroid/.../FieldsTest.kt(payload diffing, reason rules, ordering, filtering).makemigrations --checkis clean.Not in this PR
sprint-Ntags.Merge note
This conflicts with #133 (agent act-as) in
mcp_server/server.pysignatures andapps/api/views.py/urls.py. Whichever lands second needsact_asadded to the newlist_fieldstool and a small rebase.🤖 Generated with Claude Code