emuikernel / wittytwitter

Automatically exported from code.google.com/p/wittytwitter
1 stars 0 forks source link

Clickable @names #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When an @name is encountered, this should be clickable and bring the user
to the @name's profile (when clicked).

Original issue reported on code.google.com by bre...@gmail.com on 15 Jan 2008 at 7:26

GoogleCodeExporter commented 8 years ago
re-labeling as an enhancement. good idea.

Original comment by alan...@gmail.com on 1 Feb 2008 at 4:06

GoogleCodeExporter commented 8 years ago

Original comment by alan...@gmail.com on 1 Feb 2008 at 4:07

GoogleCodeExporter commented 8 years ago
upping priority. I'm going to work on this.

Original comment by alan...@gmail.com on 8 Feb 2008 at 7:53

GoogleCodeExporter commented 8 years ago
first take at making clickable @name implemented.  Right now it opens in browser
window. Ideally it should open in the User's tab.

Original comment by alan...@gmail.com on 15 Mar 2008 at 3:18

GoogleCodeExporter commented 8 years ago

Original comment by alan...@gmail.com on 19 Mar 2008 at 8:51

GoogleCodeExporter commented 8 years ago
@name detection should use regex.  RI've seen it break on @name: @name' @@name

Original comment by alan...@gmail.com on 21 Mar 2008 at 6:50

GoogleCodeExporter commented 8 years ago
Ok, so with the fix we are building the hyperlink just around the user name 
with all
non-word characters removed. It's a simple regex. "@(\w)+" but it appears to 
pick out
"@foo" correctly in these cases.
@foo
@foo:
@@foo
@@foo:
@@foo:-
@foo-

The original word is preserved, but the hyperlink only surrounds the actual
"@username" pattern. I'm not sure how his will work if we choose to localize 
Witty in
the future.

Original comment by scottck...@gmail.com on 25 Mar 2008 at 6:33

GoogleCodeExporter commented 8 years ago
I added functionality in a recent commit to SVN that opens the user timeline in 
the 
User tab when you click on the @username.

Original comment by jfol...@gmail.com on 13 Jul 2008 at 4:11