Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+polite #106

Open
awfulcooking opened this issue May 30, 2023 · 15 comments
Open

+polite #106

awfulcooking opened this issue May 30, 2023 · 15 comments

Comments

@awfulcooking
Copy link

Indicates the message is not pressing / doesn't wish to distract (some of) the mentioned nicks.

Up to the recipient if this does anything.

@+polite=jwheare :[email protected] PRIVMSG #irccloud :B: yeah that'd be good for jwheare to take a look at in the morning

:Foo PRIVMSG #game !scores
@+polite=Wodda,Score,Jeff :Bot PRIVMSG #game :Foo: top scores | Wodda 100 | Score 90 | Jeff 80

@+polite=emersion :val PRIVMSG #project :i think emersion tried that at one point, then Amelie picked it up.
@emersion
Copy link

A hack I use to avoid highlighting users is to insert a zero-width space (U+200B) after the first character.

@awfulcooking
Copy link
Author

awfulcooking commented May 30, 2023

A hack I use to avoid highlighting users is to insert a zero-width space (U+200B) after the first character.

Yes, that's excellent in some ways, but then I worry that someone seeing their nick not be underlined, highlighted or hoverable without explanation would be even more distracting..

Edit: imagine they copy it into a search, etc

@jesopo
Copy link

jesopo commented May 30, 2023

A hack I use to avoid highlighting users is to insert a zero-width space (U+200B) after the first character.

my bot used to do this until i realised it was both rendering as an actual space in some clients and breaking character width calculations in some terminals

@emersion
Copy link

someone seeing their nick not be underlined, highlighted or hoverable without explanation would be even more distracting

Right.

rendering as an actual space in some clients and breaking character width calculations in some terminals

These seem like client bugs, ie. not something that needs a new spec.

@progval
Copy link

progval commented May 30, 2023

Nitpick: the separator should be \s instead of comma because spec-wise, commas are allowed in nicks

EDIT (2023-08-25): actually they aren't, because commas are already used as a separator in KICK (and PRIVMSG)

@jesopo
Copy link

jesopo commented May 30, 2023

These seem like client bugs, ie. not something that needs a new spec.

one of these cases is actually a bug in Mac OS' terminal, which is out of scope for us to fix. i think making highlights an explicit act is a good idea, though i'm not sure about doing it by +polite

@awfulcooking
Copy link
Author

The experience I pictured was your nick still being pilled or linked, and maybe appearing still in your highlight drawer, just not with a notification

@awfulcooking
Copy link
Author

These seem like client bugs, ie. not something that needs a new spec.

It not being underlined / clickable would still be a significant UX bug, and not being fixable without "e\u200Bmersion" becoming the spec

@emersion
Copy link

one of these cases is actually a bug in Mac OS' terminal, which is out of scope for us to fix

If a client wanted to workaround this, they could strip out any U+200B from the message text after looking for highlights.

i think making highlights an explicit act is a good idea, though i'm not sure about doing it by +polite

Yup, same here.

An alternative would be to make highlights explicit by requiring a tag or a new formatting character to be present to represent highlights. Backwards compat needs to be addressed with this approach though.

@nektro
Copy link

nektro commented May 30, 2023

there could be a capability for mention references to coordinate the backwards compat. enabled it could be like:

nektro is a polite mention

<@nektro> is an explicit mention

for clients that dont support the capability, the server can convert the latter back into the former

@awfulcooking
Copy link
Author

That's an interesting idea @nektro. In that paradigm, would you expect the server to be polite-by-default?

CAP REQ polite-mentions

@nektro
Copy link

nektro commented May 30, 2023

thanks, hmm I was more thinking about a UI that would parse the message and send the right one based on whether or not the user wanted it to be polite. if we wanted to optimize for hand-written messages to some degree i think keeping do-ping by default is the way to go. maybe nektro vs !nektro!

although, the !nektro! almost looks like a "super-ping" but im hesitant to use <nektro> for the non-ping version since ive seen this syntax used to reply to folks a lot before

having the ping-ness in-band is ideal i think but perhaps having it in the message metadata would indeed be better

having it in-band makes messages easier to write but the backwards compatibility easier or harder depending on what you're optimizing for
having it in the message meta puts the onus on clients to implement a UI to disable the ping-ness of a message, something like twitter's reply options

image

@acidvegas
Copy link

L O L

@awknode
Copy link

awknode commented Nov 24, 2023

hahahahahaha

@hgw8
Copy link

hgw8 commented Apr 3, 2024

Lmao

@mokou mokou mentioned this issue Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants