Commit graph

16 commits

Author SHA1 Message Date
Chris McCord 7bbce31bb9 Update to Phoenix 1.7 2022-11-17 10:01:20 -05:00
Chris McCord 6b02cfc614 Touchup 2022-08-03 09:40:48 -04:00
Chris McCord f1908151f9 Update for latest phoenix 2022-04-06 12:20:23 -04:00
Berenice Medel 694daec4da use presence latest changes 2022-03-21 12:11:38 -06:00
Lee Jarvis 534d4b5442 Add full region name to badge title 2022-02-03 12:11:56 +00:00
Chris McCord cf7d571818 Debounce other tab pings 2022-02-01 09:40:58 -05:00
Chris McCord 1975f85cfe Fix ping 2022-01-31 15:42:41 -05:00
Chris McCord 8cd6048d4b Optimize presence and rate limit pings 2022-01-31 14:27:06 -05:00
Chris McCord 826cf1d4f9 Add pings 2022-01-31 08:21:27 -05:00
Chris McCord 924da28b6b Move presence tracking to player 2022-01-12 12:27:30 -05:00
Chris McCord 9998e06caa Optimize presence.
Avoid fetching each user by passing in full pre-fetched
presences from Presence.fetch/2 callback.
Use temporary assigns in ProfileLive to avoid duping
presences in memeory.
Handle removes by a small hook event
2022-01-11 14:57:06 -05:00
Berenice Medel Sánchez 9b5587d484 implement fetch callback to list users 2022-01-11 14:04:27 -05:00
Berenice Medel 463faafe71 Implement handle_leave and handle_join in presence_client
- The profile Liveview is subscribed to active_users topic
- user_joined and user_left events are sent
- Users are added and removed from presences assign
2022-01-11 14:04:27 -05:00
Chris McCord a325b385b3 Rename link attrs 2021-11-23 09:34:46 -05:00
Chris McCord 2f4940fab6 Fixup profiles 2021-11-16 15:54:40 -05:00
Chris McCord 364b0659e1 Deploy and presence stub 2021-11-16 11:58:28 -05:00