freefeed-react-client icon indicating copy to clipboard operation
freefeed-react-client copied to clipboard

Show placeholder instead of invisible displaynames

Open indeyets opened this issue 3 years ago • 3 comments

I believe we should do our best effort to show some kind of visible placeholder instead of displayname, which consists of invisible characters.

We could use the list from https://invisible-characters.com/ FreeFeed Development (ffdev) - FreeFeed 2022-03-23 10-52-13

I suggest we could use White Square U+25A1 character

indeyets avatar Mar 23 '22 07:03 indeyets

See also: https://github.com/clbn/freefeed-gamma/commit/149269d194e49737a25d00fd70d4c42252dade79

clbn avatar Mar 23 '22 12:03 clbn

@clbn thanks. that's another way to do that, but seems a bit too harsh… I think white square might be a bit closer to user's intention. They want to be nameless. This solution keeps both the "nameless" aspect and usability of readers

indeyets avatar Mar 23 '22 12:03 indeyets

(What to do after those characters are detected would be another topic for discussion. And I personally don't think the user has the right to be nameless, so falling back to the username is the right thing to do for them.)

clbn avatar Mar 23 '22 13:03 clbn