Select the types of activity you want to include in your feed.
@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
···2828 * If you do this correctly, the input should suggest items and enter them as
2929 * tokens as the user types.
3030 *
3131+ * When the tokenizer is focused, the CSS class `jx-tokenizer-container-focused`
3232+ * is added to the container node.
3333+ *
3134 * @group control
3235 */
3336JX.install('Tokenizer', {
···205208 } else if (e.getType() == 'keydown') {
206209 this._onkeydown(e);
207210 } else if (e.getType() == 'blur') {
208208- this._focus.value = '';
209209- this._redraw();
211211+ this._didblur();
210212211213 // Explicitly update the placeholder since we just wiped the field
212214 // value.
···378380 focus : function() {
379381 var focus = this._focus;
380382 JX.DOM.show(focus);
383383+384384+ JX.DOM.alterClass(
385385+ this._containerNode,
386386+ 'jx-tokenizer-container-focused',
387387+ true);
388388+381389 setTimeout(function() { JX.DOM.focus(focus); }, 0);
390390+ },
391391+392392+ _didblur: function() {
393393+ JX.DOM.alterClass(
394394+ this._containerNode,
395395+ 'jx-tokenizer-container-focused',
396396+ false);
397397+ this._focus.value = '';
398398+ this._redraw();
382399 }
400400+383401 }
384402});