-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add an AFK timer #5002
Add an AFK timer #5002
Conversation
c8b321b
to
d90ac63
Compare
8091982
to
93a76f9
Compare
Currently on LoA/vacation, did plan on picking this back up, will update PR
next week when I'm back :)
|
Did some more thinking/research on this - I think what we (I?) really want is https://bisqwit.iki.fi/jutut/away.html has some good arguments against the My ideal design:
I'd want to get some consensus here though, and its a broader change than what you originally envisioned in this PR. |
Your link is for IRC, and there's no reason we'd have to carry over the flaws mentioned in that article. Also, my suggestion of Anyway, your outline matches my vision, except |
Gotcha. Works for me! @bumbadadabum - LMK if what I laid out is out of scope for what you were planning to do when you get back (no rush!) and I will take on anything you're not interested in :) |
I dread the client work immensely lol. I'll message you on Discord when I
get the time.
|
It's not out of scope though, sounds like a way more solid thought out idea
than the basically spur of the moment quick and dirty solution I have here
lol.
|
Talked to pre and this is how we plan to implement the protocol for the away state:For broadcasting to chatrooms: When a user joins a room, users marked as away will have a Of course, it should also show up on The final point is whether we show this to users in the top right. My idea for making that work is to change the NAMED field in the |
As for the client side, I think I need to:
Probably missing some things, but thats my initial guess at what might be required (I might also need to make some changes for away in non- |
I don't like I don't like the |
PS already hardcodes how many pipes to split on, anyway: |
But it would 1. Break every ps bot 2. Require you to parse a highly
variable amount of pipes.
Also how exactly do you want it sent in |n|?
|
PS already requires parsing variable amounts of pipes. I linked to the modern way this is achieved in client. I would probably make the AFK state the third argument of |
Yes variable per message type. But not an init message containing anything
from 8 to 500 pipes. Also, pipes are used to separate parts of the message,
and this usage is not that. It is used here to add a little identifier to
the end of usernames to signify they're afk, and it seems weird and out of
place to use the same character we used to separate the userlist itself
from the other parts of the init. Confusing to read and confusing to parse.
|
Ok talked to Zarel, he wants @ to be banned from usernames, and we could use that in the |
Ok implemented the new protocol. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested this again locally and took another pass over the code (previously I'd only be reviewing it as it updated). I'm pretty confident this is good to go. Let's ship!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I approved this before but it's not showing up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, great job guys!
No description provided.