feat(aci): Workflow API sort by priority detector ID#105976
feat(aci): Workflow API sort by priority detector ID#105976
Conversation
wedamija
left a comment
There was a problem hiding this comment.
Should this have a secondary sort? Everything below the priority detector will be arbitrary otherwise.
I think that the priority detector id should probably be a separate query param rather than embedded in the sort string
Actually... should |
04ae6d4 to
3c5ec67
Compare
|
@wedamija okay yeah I think I like it better with it as a separate query param since it is a bit wonky as a sort. Changed to add |
In order to support the new designs which allow sorting for workflows that are either directly connected or connected via project detectors, we need some way to prioritize a certain detector ID.
This is a bit unconventional, but it adds support for
/workflows/?priorityDetector=123which will sort the list with workflows connected to detector 123 at the top.