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

at recaptime-dev/main 39 lines 887 B view raw
1<?php 2 3final class PhabricatorGestureUIExample extends PhabricatorUIExample { 4 5 public function getName() { 6 return pht('Gestures'); 7 } 8 9 public function getDescription() { 10 return pht( 11 'Use %s to listen for gesture events. Note that you '. 12 'must be in device mode for this to work (you can narrow your browser '. 13 'window if you are on a desktop).', 14 phutil_tag('tt', array(), 'touchable')); 15 } 16 17 public function getCategory() { 18 return pht('Technical'); 19 } 20 21 public function renderExample() { 22 $id = celerity_generate_unique_node_id(); 23 24 Javelin::initBehavior( 25 'phabricator-gesture-example', 26 array( 27 'rootID' => $id, 28 )); 29 30 return javelin_tag( 31 'div', 32 array( 33 'sigil' => 'touchable', 34 'id' => $id, 35 'style' => 'width: 320px; height: 240px; margin: auto;', 36 ), 37 ''); 38 } 39}