Commit graph

141 commits

Author SHA1 Message Date
Chris McCord
626a7bc305 WIP 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
Chris McCord
6233b438c2
Merge pull request #43 from FreedomBen/fix-typo-params
Fix variable name typo _parma -> _params
2022-02-22 10:50:16 -05:00
Benjamin Porter
510994245d Fix variable name typo _parma -> _params 2022-02-14 20:51:14 -07:00
Chris McCord
95c69a4aa5 Formatting 2022-02-07 12:03:35 -05:00
Chris McCord
337931e21e Fix accessbility of file input 2022-02-04 16:06:41 -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
Chris McCord
d25554632f
Merge pull request #37 from fly-apps/mc-media-session
Add now playing info
2022-02-03 14:14:20 -05:00
Michael Crumm
22a39eb362
Simplify upload files label 2022-02-03 10:06:53 -08:00
Michael Crumm
645c4bd117
Add MediaMetadata to audio player when available 2022-02-03 09:50:32 -08:00
Michael Crumm
7ef57e8813
Set page title to song metadata when playing 2022-02-03 09:50:32 -08:00
Chris McCord
fbd93bc02c
Merge pull request #33 from leejarvis/presence-badge-region-name
Add full region name to badge title
2022-02-03 12:48:24 -05:00
Chris McCord
20062ccaee
Merge pull request #34 from adamwiggall/updated-flash
Update flash, reduce markup and alignment improved
2022-02-03 12:06:13 -05:00
Chris McCord
cad951a647 Fix chrome and edge file input click issue. Closes #26 2022-02-03 11:43:10 -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
Adam Wiggall
c62b1826c7 Update flash, reduce markup and alignment improved
Flash message content are misaligned, and there is exteraneous
markup.

Replace check icon with exclamation icon for :error flash.

This commit improves alignment, slightly tweeks the icon sizes
(subjective), matches colors, and uses what I believe to be more
idiomatic Tailwind.
2022-02-03 08:54:23 -05:00
Lee Jarvis
534d4b5442 Add full region name to badge title 2022-02-03 12:11:56 +00:00
Chris McCord
554c97fde4
Merge pull request #30 from Neophen/feature/fix-styling
Feature/fix styling
2022-02-02 15:58:01 -05:00
Chris McCord
8fd4c87a84
Update lib/live_beats_web/live/live_helpers.ex 2022-02-02 15:57:23 -05:00
Mykolas Mankevicius
b542a6f8a3 Add spacing to SettingLive form on mobile screen 2022-02-02 22:48:47 +02:00
Mykolas Mankevicius
2f50ab7927 Fix visual bug with title_bar 2022-02-02 22:48:26 +02:00
Berenice Medel
e76742a27b untrack user from presence when a new profile is chosen 2022-02-02 14:48:11 -06:00
Chris McCord
fa8d7f6692 Formatting 2022-02-02 08:49:29 -05:00
Chris McCord
ef4097c0a3 Add more aggressive expiration and tell user about it 2022-02-02 08:38:15 -05:00
Kurt Mackey
08c052a17f
Sign In -> Sign In with GitHub 2022-02-01 19:43:06 -06:00
Chris McCord
cf7d571818 Debounce other tab pings 2022-02-01 09:40:58 -05:00
Chris McCord
0b6774e5b1 Fix warning 2022-02-01 09:33:04 -05:00
Chris McCord
d9b63adb85 Fix bugs 2022-01-31 22:12:32 -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
de2f473624 Only clean songs if server owns file 2022-01-31 08:41:34 -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
65f307b1fa Add ping 2022-01-27 20:42:36 -05:00
Chris McCord
eecb14ecba Fix seekable songs 2022-01-27 14:41:26 -05:00
Chris McCord
214ec50f0e WIP 2022-01-27 13:03:42 -05:00
Chris McCord
add1d15177 Add clustering with proxy file streaming 2022-01-27 09:36:04 -05:00
Chris McCord
5ce9142253 Fix username not updating on presence when settings changed 2022-01-26 11:49:53 -05:00
Chris McCord
83db1294f9 Fix warning 2022-01-26 11:33:55 -05:00
Chris McCord
4a5728daf5 Styling tweaks and optimize initial file drop 2022-01-26 11:33:20 -05:00
Chris McCord
53bd0a3cd1 Fix visual bouncing quirk on load 2022-01-26 11:33:20 -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