FreeBSD fork of Phabricator code review https://reviews.freebsd.org
Go to file
Andre Klapper aed58a3444 Correct Conduit project.search color result for milestones
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"

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: A_smart_kitten, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16088

Differential Revision: https://we.phorge.it/D26043
2025-06-08 12:42:12 +02:00
bin Remove the "ssh-auth-key" script 2019-10-28 17:52:37 -07:00
conf Remove use of deprecated E_STRICT PHP constant 2025-05-09 11:23:36 +02:00
externals Add first unit test for mimemailparser headers 2024-12-06 13:12:54 +01:00
resources Remove orphan CSS selectors in base/main-menu-view.css 2025-05-28 09:47:19 +02:00
scripts Remove use of deprecated E_STRICT PHP constant 2025-05-09 11:23:36 +02:00
src Correct Conduit project.search color result for milestones 2025-06-08 12:42:12 +02:00
support Remove use of deprecated E_STRICT PHP constant 2025-05-09 11:23:36 +02:00
webroot Remove orphan CSS selectors in base/main-menu-view.css 2025-05-28 09:47:19 +02:00
.arcconfig T15006: Update .arcconfig to point to we.phorge.it 2021-06-18 14:51:47 -04:00
.arclint Calendar Import: add unit tests to cover participants 2024-08-28 09:31:18 +02:00
.arcunit Use the configuration driven unit test engine 2015-08-11 07:57:11 +10:00
.editorconfig Fix text lint issues 2015-02-12 07:00:13 +11:00
.gitignore Generate Diviner book for Javelin 2023-08-30 11:20:12 -07:00
LICENSE Fix text lint issues 2015-02-12 07:00:13 +11:00
NOTICE Remove some "Phacility" and "epriestley" references 2021-07-08 10:46:17 -07:00
README.md Update Readme 2021-06-18 11:36:31 -04:00

Phorge is a collection of web applications which help software companies build better software.

Phorge is a community-maintained fork of Phabricator.

Phorge includes applications for:

  • reviewing and auditing source code;
  • hosting and browsing repositories;
  • tracking bugs;
  • managing projects;
  • conversing with team members;
  • assembling a party to venture forth;
  • writing stuff down and reading it later;
  • hiding stuff from coworkers; and
  • also some other things.

Phorge is developed and maintained by The Phorge Team.


LICENSE

Phorge is released under the Apache 2.0 license except as otherwise noted.