@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.

Conpherence - don't lose title glyph when switching between messages

Summary: Fixes T7735

Test Plan: switched threads in main conpherence view and observed working title glyph.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7735

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

+9 -1
+9 -1
src/applications/conpherence/view/ConpherenceThreadListView.php
··· 90 90 $epoch = $data['epoch']; 91 91 $image = $data['image']; 92 92 $dom_id = $thread->getPHID().'-nav-item'; 93 + $glyph_pref = PhabricatorUserPreferences::PREFERENCE_TITLES; 94 + $preferences = $user->loadPreferences(); 95 + if ($preferences->getPreference($glyph_pref) == 'glyph') { 96 + $glyph = id(new PhabricatorConpherenceApplication()) 97 + ->getTitleGlyph().' '; 98 + } else { 99 + $glyph = null; 100 + } 93 101 94 102 return id(new ConpherenceMenuItemView()) 95 103 ->setUser($user) ··· 103 111 ->addSigil('conpherence-menu-click') 104 112 ->setMetadata( 105 113 array( 106 - 'title' => $data['js_title'], 114 + 'title' => $glyph.$data['js_title'], 107 115 'id' => $dom_id, 108 116 'threadID' => $thread->getID(), 109 117 ));