@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

On `@username` mentions in remarkup, show the "busy" dot color

Summary:
Ref T11809. I missed this when adding a "Busy" status.

Also the other dot is orange? Just make them all orange for consistency.

Test Plan: Viewed `@username` of busy users (orange), away users (red).

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11809

Differential Revision: https://secure.phabricator.com/D16819

+7 -2
+1 -1
src/applications/calendar/storage/PhabricatorCalendarEventInvitee.php
··· 76 76 'name' => pht('Available'), 77 77 ), 78 78 self::AVAILABILITY_BUSY => array( 79 - 'color' => 'yellow', 79 + 'color' => 'orange', 80 80 'name' => pht('Busy'), 81 81 ), 82 82 self::AVAILABILITY_AWAY => array(
+6 -1
src/applications/people/markup/PhabricatorMentionRemarkupRule.php
··· 154 154 $tag->setDotColor(PHUITagView::COLOR_GREY); 155 155 } else { 156 156 if ($user->getAwayUntil()) { 157 - $tag->setDotColor(PHUITagView::COLOR_RED); 157 + $away = PhabricatorCalendarEventInvitee::AVAILABILITY_AWAY; 158 + if ($user->getDisplayAvailability() == $away) { 159 + $tag->setDotColor(PHUITagView::COLOR_RED); 160 + } else { 161 + $tag->setDotColor(PHUITagView::COLOR_ORANGE); 162 + } 158 163 } 159 164 } 160 165 }