Commit graph

50 commits

Author SHA1 Message Date
Chris McCord
dbf5cc32f3 Add empty state for new profile 2024-06-05 16:20:39 -04:00
Chris McCord
639a23c27e Bump LV 2024-06-05 10:17:37 -04:00
Chris McCord
44f86837f1 Fix a couple bugs 2024-06-04 17:27:51 -04:00
Chris McCord
d517cc0f55 Fix 2024-06-04 10:05:45 -04:00
Chris McCord
056071ef6e Updates for LiveView 1.0-rc 2024-06-04 09:45:35 -04:00
Chris McCord
57f5c0f142 Whisper 2023-05-22 13:57:29 -04:00
Chris McCord
54ab46f72d WIP 2023-03-14 10:18:57 -04:00
Chris McCord
5384d9ee4b Reset 2023-03-13 11:40:40 -04:00
Chris McCord
38d5158773 Reset 2023-03-13 11:37:59 -04:00
Chris McCord
0832300e4b WIP 2023-03-13 11:04:27 -04:00
Chris McCord
742066c102 WIP 2023-03-09 12:38:22 -05:00
Chris McCord
0c8a1ccac0 WIP 2023-03-09 10:04:51 -05:00
Chris McCord
6c13ad3b9b WIP 2023-03-09 09:34:43 -05:00
Chris McCord
a1c6c454f0 WIP 2023-03-09 09:29:22 -05:00
Chris McCord
dc525f283b WIP 2023-03-06 22:05:57 -05:00
Chris McCord
1f1906f67d Songs count 2023-02-01 16:04:34 -05:00
Chris McCord
115356df2d WIP 2023-01-28 14:18:34 -05:00
Chris McCord
50794e1af1 Fix race conditions with advisory locks 2023-01-27 14:58:29 -05:00
Chris McCord
7b43323813 WIP 2023-01-26 19:39:59 -05:00
Chris McCord
b676f7aeb4 WIP 2023-01-26 14:05:24 -05:00
Chris McCord
e5c15c7166 Finish 1.7 upgrade with ~p 2022-11-17 15:36:58 -05:00
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
Chris McCord
95c69a4aa5 Formatting 2022-02-07 12:03:35 -05:00
Chris McCord
819d5ecc98 Add accessible modal with focus_wrap component
The focus_wrap function component (and hook) can
be used to focus wrap any content.

The focus and focus_closest JS functions were added to
programmtaically focus an element on the client or
find the next element or previous element sibling when an
action is taken that requires moving focus to cloest item.

Co-authored-by: Nolan Darilek <nolan@thewordnerd.info>
2022-02-04 11:48:05 -05:00
Michael Crumm
09f3189be3
Remove block class from profile link
As a block the link extends the full width of the header and is too easy to click on accidentally.
2022-02-03 08:15:54 -08:00
✶ DO NOT EDIT
7342cad20c
Target blank typo 2022-02-03 21:14:24 +07:00
Chris McCord
ef4097c0a3 Add more aggressive expiration and tell user about it 2022-02-02 08:38:15 -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
1caf809be7 WIP 2022-01-28 20:40:48 -05:00
Chris McCord
a39bb0a5ac Return updated metas to client.
Fixes presences being removed when user has
active tabs
2022-01-12 14:15:06 -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 Sánchez
bdb4319f16 unsubscribe is no more handled in untrack_pid 2022-01-11 14:04:27 -05:00
Berenice Medel Sánchez
c22e104a24 change key to string when tracking and untrackin presences 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
Berenice Medel
bd927bf8b2 add presence client 2022-01-11 14:04:27 -05:00
Berenice Medel
216916817b configure presence for tracking the users listening a playlist 2022-01-11 14:04:27 -05:00
Chris McCord
67a291ac3a Revert temporary assign 2021-12-15 22:03:18 -05:00
Chris McCord
8da032fed3 Make songs temporary assigns 2021-12-15 21:51:09 -05:00
Chris McCord
570e86d02c Test song deletion 2021-12-14 15:29:07 -05:00
Chris McCord
dda0cdaa3f Test basic uploads 2021-12-14 15:19:03 -05:00
Chris McCord
c8a6035a02 Fixup tests 2021-12-14 10:35:51 -05:00
Berenice Medel
9262895d13 fix typo 2021-11-30 09:03:08 -06:00
Berenice Medel
0e0d349e31 hide play button on playlist 2021-11-29 19:21:35 -06:00
Chris McCord
a325b385b3 Rename link attrs 2021-11-23 09:34:46 -05:00
Chris McCord
bb23d8e071 Rename SongLive modules to ProfileLive 2021-11-22 09:57:24 -05:00
Renamed from lib/live_beats_web/live/song_live/index.ex (Browse further)