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

Minor, fix a JS issue with unusual tokenizer prefills

Summary: The "Assign / Claim" tokenizer in Maniphest prefills with the viewer,
but doesn't have an icon right now. This causes an issue; make the `icon` key
optional.

Auditors: btrahan

+19 -16
+16 -16
resources/celerity/map.php
··· 8 8 'names' => 9 9 array( 10 10 'core.pkg.css' => '244a9d51', 11 - 'core.pkg.js' => '5f6c1d14', 11 + 'core.pkg.js' => '8f7aa2c3', 12 12 'darkconsole.pkg.js' => 'ca8671ce', 13 13 'differential.pkg.css' => '6aef439e', 14 14 'differential.pkg.js' => '322ea941', ··· 431 431 'rsrc/js/core/KeyboardShortcutManager.js' => 'ad7a69ca', 432 432 'rsrc/js/core/MultirowRowManager.js' => 'e7076916', 433 433 'rsrc/js/core/Notification.js' => '95944043', 434 - 'rsrc/js/core/Prefab.js' => '0c73646e', 434 + 'rsrc/js/core/Prefab.js' => '0326e5d0', 435 435 'rsrc/js/core/ShapedRequest.js' => 'dfa181a4', 436 436 'rsrc/js/core/TextAreaUtils.js' => 'b3ec3cfc', 437 437 'rsrc/js/core/ToolTip.js' => '0a81ea29', ··· 700 700 'phabricator-object-list-view-css' => '1a1ea560', 701 701 'phabricator-object-selector-css' => '029a133d', 702 702 'phabricator-phtize' => 'd254d646', 703 - 'phabricator-prefab' => '0c73646e', 703 + 'phabricator-prefab' => '0326e5d0', 704 704 'phabricator-profile-css' => '3a7e04ca', 705 705 'phabricator-project-tag-css' => '095c9404', 706 706 'phabricator-remarkup-css' => 'ca7f2265', ··· 808 808 array( 809 809 0 => 'aphront-dialog-view-css', 810 810 ), 811 + '0326e5d0' => 812 + array( 813 + 0 => 'javelin-install', 814 + 1 => 'javelin-util', 815 + 2 => 'javelin-dom', 816 + 3 => 'javelin-typeahead', 817 + 4 => 'javelin-tokenizer', 818 + 5 => 'javelin-typeahead-preloaded-source', 819 + 6 => 'javelin-typeahead-ondemand-source', 820 + 7 => 'javelin-dom', 821 + 8 => 'javelin-stratcom', 822 + 9 => 'javelin-util', 823 + ), 811 824 '03be94fb' => 812 825 array( 813 826 0 => 'javelin-magical-init', ··· 858 871 0 => 'javelin-view', 859 872 1 => 'javelin-install', 860 873 2 => 'javelin-dom', 861 - ), 862 - '0c73646e' => 863 - array( 864 - 0 => 'javelin-install', 865 - 1 => 'javelin-util', 866 - 2 => 'javelin-dom', 867 - 3 => 'javelin-typeahead', 868 - 4 => 'javelin-tokenizer', 869 - 5 => 'javelin-typeahead-preloaded-source', 870 - 6 => 'javelin-typeahead-ondemand-source', 871 - 7 => 'javelin-dom', 872 - 8 => 'javelin-stratcom', 873 - 9 => 'javelin-util', 874 874 ), 875 875 '0e34ca02' => 876 876 array(
+3
webroot/rsrc/js/core/Prefab.js
··· 43 43 * - `limit` Optional, token limit. 44 44 * - `placeholder` Optional, placeholder text. 45 45 * - `username` Optional, username to sort first (i.e., viewer). 46 + * - `icons` Optional, map of icons. 46 47 * 47 48 */ 48 49 buildTokenizer : function(config) { 50 + config.icons = config.icons || {}; 51 + 49 52 var root; 50 53 51 54 try {