Page MenuHomePhorge

Correct Conduit project.search color result for milestones
AcceptedPublic

Authored by aklapper on Sun, Jun 1, 09:47.

Details

Summary

Using project.search in Conduit to search for a milestone project, the color values returned are always default blue as a milestone itself cannot have a custom color on its own.
This is inconsistent as the UI uses the color of the milestone's parent project, for example under "Looks like" on /project/manage/2/ and under "Tags" on /T1.

Closes T16088

Test Plan
  1. Go to http://phorge.localhost/project/edit/form/default/
  2. Set "Color" to "Pink"
  3. Click "Create New Project"
  4. Click "Subprojects" in the left panel on resulting http://phorge.localhost/project/subprojects/1/
  5. Click "Create Milestone" in the right panel
  6. On the "Create Project" page, see that you cannot choose an icon or color.
  7. Enter a "Name" and click "Create New Project"
  8. On resulting http://phorge.localhost/project/view/2/, see that the milestone tag under "Looks Like" is also Pink like the parent project
  9. Go to http://phorge.localhost/conduit/method/project.search/
  10. In the "constraints" field, enter {"ids": [2]}
  11. Check the color output under "Method Result"

Diff Detail

Repository
rP Phorge
Branch
conduitProjSearchColorMilestone (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2033
Build 2033: arc lint + arc unit