Page MenuHomePhabricator

Flow makes it very hard to type " @ " in a comment
Open, LowPublic

Description

As soon as a user types an @ symbol the below mention popup appears and the cursor is redirected into the mention popup use field.

pasted_file (144×323 px, 6 KB)

If a user simply wants to type " @ " they are currently required to grab the mouse, click cancel and then resume typing.
The same essentially happens if a user just wants to type "@github.com" for example.

An initial step in a good direction would be to solve the issue with using a space after an @ symbol, which could just close the popup and continue typing.

A further step could be to stop the mention popup from taking focus away from the main text field and instead allow the user to continue typing there while continuing to suggest users to mention (in the same style as phabricator)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

You should just be able to type '@' then <escape>. Does that not work for you?

You should just be able to type '@' then <escape>. Does that not work for you?

Yup, this is similar to typing [[ or {{ and then <escape> in normal VE pages.

An initial step in a good direction would be to solve the issue with using a space after an @ symbol, which could just close the popup and continue typing.

That seems reasonable. Is it feasible to implement?

A further step could be to stop the mention popup from taking focus away from the main text field and instead allow the user to continue typing there while continuing to suggest users to mention (in the same style as phabricator)

Hmm, I kinda like this idea, too. I'm not sure how it would work with VE though...?

You should just be able to type '@' then <escape>. Does that not work for you?

Interestingly this didn't actually cross my mind at the time, but it does indeed work.