Add task priority field
Introduce a rank-style priority on tasks, scoped by (organization_id, state). New tasks auto-assign the next priority. Reordering uses the same CTE-based algorithm as trust center references and compliance external URLs. Exposed through GraphQL, MCP, and the PRIORITY order field. Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -1904,6 +1904,7 @@ func (r *Resolver) UpdateTaskTool(ctx context.Context, req *mcp.CallToolRequest,
|
||||
Name: input.Name,
|
||||
Description: UnwrapOmittable(input.Description),
|
||||
State: input.State,
|
||||
Priority: input.Priority,
|
||||
TimeEstimate: UnwrapOmittable(input.TimeEstimate),
|
||||
Deadline: UnwrapOmittable(input.Deadline),
|
||||
AssignedToID: UnwrapOmittable(input.AssignedToID),
|
||||
|
||||
Reference in New Issue
Block a user