Page MenuHomePhabricator

Provide an on-page workflow for searching for objects to reference while typing a Remarkup comment
Closed, DuplicatePublic

Description

It would be nice if you could do something like %super_cool_task and have it link to super cool task. The current autocompletes for user and project however have unique keys so possibly this is only workable with something hacky like %super_cool_task_T123 which doesn't look great. Possibly %super_cool_task would repopulate to T123 on enter this seems like the most desirable outcome as far as not looking ugly to me.

Root Issue: save time / am lazy
Related T10163#154405

Event Timeline

It might be interesting to have slash-triggers for objects for searching. Right now we don't have a great way (since we have lots of objects) of providing a shortcut.

/task would pull up a search box and then replace & link to task.
/commit -> commit
/post -> Blog post

etc.

If the task is frequently referenced, you can give it a Phurl and use ((super_cool_task)), as in ((php7)) and ((httpoxy)).

This will get a little smarter after T9819.

I'm also generally more inclined to build this as a popup dialog than trying to do something like the @ autocomplete, with a ^O keystroke or something ("Embed Object") to pull it up. The actual dialog would fulltext search all objects by default and we could conceivably add /task or other magic to make it easier to narrow down, but then the flow would still be usable/learnable for new users (since it could have a button, a more normal UI, etc).

epriestley renamed this task from Remarkup autocomplete for tasks to Provide an on-page workflow for searching for objects to reference while typing a Remarkup comment.Aug 26 2016, 11:00 PM
epriestley edited projects, added Remarkup; removed Maniphest.
epriestley added subscribers: hach-que, travis, devurandom.
eadler added a project: Restricted Project.Sep 15 2016, 6:03 PM