deborah: the Library of Congress cataloging numbers for children's literature, technology, and library science (Default)
deborah ([personal profile] deborah) wrote in [site community profile] dw_suggestions2018-12-04 09:28 am

@ syntax as a synonym for user name=

Title:
@ syntax as a synonym for user name=

Area:
Entries

Summary:
In an entry, if someone types "@[string]" (more specifically, something like "(^|\s)@[legal characters in usernames]*\b), check to see if that's a username at posting time. If so, translate it internally to <user name="> syntax.

Description:
This would allow users to choose the now-common shorthand of '@username' to indicate users on the local system. This would be taking a design pattern that has become mainstream over the last several years, which users are used due from Tumblr, Slack, Twitter, etc. I'm not suggesting auto complete; there are too many more important pending changes to the post system. I'm also not suggesting a variant for the other-sites functionality of the user element; no @username@twitter, or something. Just a very straightforward replacement. But this would be a nice shorthand that users have become accustomed to.

Poll #20845 @ syntax as a synonym for user name=
Open to: Registered Users, detailed results viewable to: All, participants: 120


This suggestion:

View Answers

Should be implemented as-is.
56 (46.7%)

Should be implemented with changes. (please comment)
39 (32.5%)

Shouldn't be implemented.
14 (11.7%)

(I have no opinion)
10 (8.3%)

(Other: please comment)
1 (0.8%)

mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2018-12-07 06:05 pm (UTC)(link)
The data structure typically used to do autocomplete (a trie) is very space and time efficient! We could autocomplete all usernames on Dreamwidth pretty easily...well, fairly easily anyway. I think the load would be reasonable.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2018-12-08 04:41 am (UTC)(link)
Currently, it's (I think) hard to impossible to enumerate DW usernames. I'm not sure offhand whether, how, and to what extent autocomplete would make it easier, but some thought should be given to privacy matters, if only so we don't see a flood of attempts to email dreamwidth.org addresses.