Page MenuHomePhabricator

Show when users are online or offline in Conpherence
Open, LowPublic

Tokens
"Like" token, awarded by tomekj2ee."Mountain of Wealth" token, awarded by johnny-bit."Like" token, awarded by qgil."Like" token, awarded by btrahan.
Assigned To
None
Authored By
chad
Jan 5 2015, 5:21 PM

Description

  • We don't have infrastructure support for this yet, until T7575.
  • Once we do, this is pretty straightforward, depending on how many options we need like "Invisible".

Original Description

We have connection information on each user, it'd be useful to show a persons status inside Conpherence (so I know if someone's around for immediate conversation). Though maybe someone would want to also be 'invisible' perhaps? Not sure what products like Slack offer.

Event Timeline

chad created this task.Jan 5 2015, 5:21 PM
chad raised the priority of this task from to Low.
chad updated the task description. (Show Details)
chad added a project: Conpherence.
chad added subscribers: chad, btrahan, epriestley and 2 others.
qgil awarded a token.Jan 5 2015, 10:40 PM
chad moved this task from Backlog to v2 on the Conpherence board.Jan 6 2015, 5:08 PM
btrahan claimed this task.Feb 25 2015, 11:12 PM

Where does the connection information live?

It doesn't exist and is very hard to build :)

I can contextualize this a bit, I think I had some ramblings elsewhere. Let me see if I can dig them up.

btrahan removed btrahan as the assignee of this task.Feb 25 2015, 11:14 PM

Cool beaners

Oh, there's a bit of discussion in T5364. I think there are two ways to build the connection stuff:

  1. We can store the information in the database, and have the JX.Leader make an Ajax request every few minutes.
  2. We can store the information on the Aphlict server, and update it when Websockets connect and disconnect.

The tradeoffs of (1) are:

  • PRO: Easier to build.
  • PRO: Other applications can easily query the table if we want to do more stuff with this.
  • PRO: Information is authenticated (no figuring out if someone's online unless you can see the information).
  • CON: Slightly more expensive to scale, although not hugely so.
  • CON: Less precise, and we may miss signoffs. Making it more precise involves higher load.

And pretty much the opposite for (2):

  • PRO: Uses slightly fewer resources (we can figure out status almost-for-free on the Aphlict server).
  • PRO: More precise about when users connect/disconnect.
  • CON: Harder to build.
  • CON: Applications can't cheaply/easily query it.
  • CON: Information is not authenticated.

Overall, I think we should just hold this for a while. It does not seem hugely valuable to me. I lean toward (1), but there might be other use cases which come up which make having this available in Aphlict or in other applications an obvious win and push it one way or the other.

epriestley renamed this task from Add Connection information to Participants to Show when users are online or offline.Mar 3 2015, 11:15 AM
epriestley updated the task description. (Show Details)Mar 16 2015, 8:13 PM
epriestley updated the task description. (Show Details)
epriestley renamed this task from Show when users are online or offline to Show when users are online or offline in Conpherence.Mar 16 2015, 8:19 PM
chad moved this task from v2 to v3 on the Conpherence board.Mar 18 2015, 11:16 PM
btrahan moved this task from v3 to Future on the Conpherence board.May 28 2015, 10:36 PM
devurandom added a comment.EditedAug 19 2015, 11:45 AM

Idea: Displaying Last-Seen: 5 minutes ago should already help many people and might not require you to track open connections.

hskiba added a subscriber: hskiba.Jul 9 2017, 2:08 PM
urzds added a subscriber: urzds.Jul 12 2017, 11:14 AM