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 03:29 pm (UTC)(link)
We already do this in the Markdown format but there has historically been pushback against doing it everywhere else. I'm all for it though and think we should do it.

We even had a shorthand for doing other site stuff, like linking to a Twitter account by doing: @foo.twitter -- since a period isn't a valid username character here.
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2018-12-07 03:39 pm (UTC)(link)
@foo.twitter

Oh, I LIKE that a lot. In the past I was vaguely opposed because I didn't see the point, but I spend so much time on other sites that do it I try to do it here now

On Mastodon it's @user@instance.tld which I still find clunky but it does at least work

delight: (Default)

[personal profile] delight 2018-12-07 03:54 pm (UTC)(link)
This is also my with changes!
jenett: Big and Little Dipper constellations on a blue watercolor background (Default)

[personal profile] jenett 2018-12-07 03:59 pm (UTC)(link)
I also like this alternative.
watersword: Keira Knightley, in Pride and Prejudice (2007), turning her head away from the viewer, the word "elizabeth" written near (Default)

[personal profile] watersword 2018-12-07 04:01 pm (UTC)(link)
Nth-ing the syntax suggestion as a "with changes".
jjhunter: A sheep with shaded glasses and a straw hat lies on its side; overhead floats the pun 'on the lamb' (as in baby sheep). (on the lamb)

[personal profile] jjhunter 2018-12-07 05:23 pm (UTC)(link)
...I was just about to comment to suggest also shorthand for usernames at other sites - yes please to implementing that! (Though now I’m curious if that are any DW usernames with ā€˜.’ in the middle...)

I assume using the html syntax would still remain an option?
musyc: Silver flute resting diagonally across sheet music (Default)

[personal profile] musyc 2018-12-07 05:37 pm (UTC)(link)
+1 to your shorthand, my with changes vote. I prefer the user=foo site=ticky method, but I think the @foo should be available for people to use.
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.
the_shoshanna: "I believe in Dreamwidth" colored pencils (Dreamwidth pencils)

[personal profile] the_shoshanna 2018-12-07 10:04 pm (UTC)(link)
This is my "with changes" vote, with a note that I don't actually care all that much what specific syntax is used, so long as it's straightforward and reasonably easy to type.
syderia: DreamSheep with Eiffel Tower (DreamWidth)

[personal profile] syderia 2018-12-07 10:40 pm (UTC)(link)
This is my "with changes"
lassarina: (Default)

[personal profile] lassarina 2018-12-10 02:34 am (UTC)(link)
This is my with-changes.
illariy: a woman opens a colourful letter (letter)

[personal profile] illariy 2019-02-18 09:46 am (UTC)(link)
I voted "with changes" and this is the exact change I mean. Excellent solution.