Commit graph

323 commits

Author SHA1 Message Date
Matt Lorentz
f4ebc4e99e Video in calls (#135)
#135

This PR adds basic video functionality to our voice rooms. Again I followed the Discord UX for inspiration, so all video calls start as voice-only calls that gracefully upgrade (and downgrade) when someone turns on a video or starts screen sharing.

When a video feed is detected the Room page will change to display a grid of feeds. The grid logic is very basic, that's definitely an area to improve in the future. You can open the chat part of the room with a new button on the VoiceWidget - on the desktop layout this creates a split view with video on the left and chat on the right, but on mobile it switches to chat fullscreen. I also added a little pin icon you can use to focus on a single video feed (useful for screen sharing). There is a lot of tailwind I don't understand here, but it seems to work well enough.

I moved voice.ts into a new `call` folder and moved some of its stores into `call/stores.ts` which allowed me to keep most of the video logic in `call/video.ts`. It's not a perfect encapsulation as voice.ts does subscribe to some of the hooks for the livekit calls and passes some of the signals onto `video.ts`. This could probably be broken up better but for this PR I'd rather not focus on making it perfect if that's ok. Partly for the sake of time but also because I envision another PR that renames/reorganizes things and I think a larger UX evaluation is necessary and should include real user feedback. I'm not confident tha""t the Voice Room concept as a whole will stick going forward. Maybe all rooms in a livekit enabled server should be able to host a call (like a slack huddle), maybe users want to be able to schedule calls as events, or even have them start with an ad-hoc set of participants completely outside of a NIP-29 group, etc.

Co-authored-by: mplorentz <mplorentz@noreply.gitea.coracle.social>
Reviewed-on: https://gitea.coracle.social/coracle/flotilla/pulls/135
Co-authored-by: Matt Lorentz <mplorentz@noreply.coracle.social>
Co-committed-by: Matt Lorentz <mplorentz@noreply.coracle.social>
2026-04-08 17:10:20 +00:00
Jon Staab
8e2dd8b278 Upgrade daisyui/tailwind 2026-04-07 15:31:35 -07:00
theAnuragMishra
7470f28f31 fix spacing around messages (#159)
Co-authored-by: theAnuragMishra <theanuragmishra@noreply.coracle.social>
Co-committed-by: theAnuragMishra <theanuragmishra@noreply.coracle.social>
2026-04-07 16:50:53 +00:00
hodlbod
17fb4e780b Clean up drafts implementation (#164) 2026-04-07 13:06:29 +00:00
junaiddshaukat
18cb245599 Remove room/space leave indications (#149)
Co-authored-by: junaiddshaukat <junaiddshaukat@noreply.coracle.social>
Co-committed-by: junaiddshaukat <junaiddshaukat@noreply.coracle.social>
2026-04-04 16:28:11 +00:00
Jon Staab
fd6cc84be6 Simplify chat compose layout 2026-04-04 09:02:52 -07:00
Jon Staab
9311cab3b2 Move away from fixed positioned page elements because they act squirrely on android 2026-04-03 17:16:47 -07:00
Jon Staab
fe20fbfd28 Add polls 2026-04-03 10:56:00 -07:00
junaiddshaukat
4f3a2a1660 Add space search to recent activity page (#59) (#119)
Co-authored-by: junaiddshaukat <junaiddshaukat@noreply.coracle.social>
Co-committed-by: junaiddshaukat <junaiddshaukat@noreply.coracle.social>
2026-04-03 16:58:35 +00:00
Jon Staab
1c8457a4bf Fix notification badge on mobile nav 2026-04-02 16:47:32 -07:00
Jon Staab
85cfaf2bc9 Remove redundant join space button 2026-04-02 06:29:37 -07:00
Jon Staab
823a9c3271 Combine discover and space list into a single page 2026-03-31 14:24:09 -07:00
Jon Staab
fe042c88b8 Apply safe area insets to new messages button 2026-03-30 15:15:41 -07:00
Jon Staab
2fd7556a52 Fix new messages button, improve room load 2026-03-30 14:20:30 -07:00
Jon Staab
e8ed9cd379 Fix chat new messages fixed button 2026-03-30 13:22:22 -07:00
Matt Lorentz
16a73f27c9 Add a dialog before joining voice rooms (#109)
After using the voice rooms more since we removed the option for voice-only rooms I think you were right to suggest a dialog box before joining rooms. It felt far to clunky to have to join the voice call any time you just wanted to try to view room members, edit room settings, or just view the recent text chat.

This adds a dialog that allows the user to decline to join the call but still access the text part of the room along with associated settings and controls. It also acts as another confirmation step before turning on the user's microphone, and allows them to choose an audio input so they don't have to mess with the (generally terrible) browser controls for doing so. We should probably have controls to change your audio input and output from within the call as well, but I think this is enough for an MVP.

![Screenshot 2026-03-27 at 11.10.53 AM.png](/attachments/3ac271a6-5d17-4063-9ac6-3e5bdef10ccf)

Co-authored-by: mplorentz <mplorentz@noreply.gitea.coracle.social>
Reviewed-on: https://gitea.coracle.social/coracle/flotilla/pulls/109
Co-authored-by: Matt Lorentz <mplorentz@noreply.coracle.social>
Co-committed-by: Matt Lorentz <mplorentz@noreply.coracle.social>
2026-03-27 19:02:56 +00:00
hodlbod
1f5be54cb1 Migrate Reports dialog to ActionItems dialog, add room join requests to queue 2026-03-19 15:40:34 +00:00
Jon Staab
ec8a7a40e2 Fix room icon 2026-03-16 13:42:01 -07:00
Matt Lorentz
ce30820108 feature/23-voice-room/poc (#93)
Add voice rooms

Co-authored-by: Matt Lorentz <mplorentz@noreply.coracle.social>
Co-committed-by: Matt Lorentz <mplorentz@noreply.coracle.social>
2026-03-16 20:38:05 +00:00
Jon Staab
ffa776fd42 Make mobile check on relay page reactive 2026-03-12 17:31:28 -07:00
Jon Staab
a59ffb8758 Fix some icons, add privacy nav item, add close button to modal dialog, make settings menu nicer 2026-03-12 17:21:53 -07:00
Jon Staab
9e74c94871 Show navigation on space landing on mobile 2026-03-12 16:44:22 -07:00
Jon Staab
77294e7f1c Factor primary nav spaces into its own component, fix non-nip29 default page 2026-03-12 15:08:31 -07:00
Jon Staab
cd54bc2880 Add up/edit to chats 2026-03-10 15:46:59 -07:00
Jon Staab
ffdd689331 Add another pomade signer 2026-03-10 11:09:59 -07:00
Jon Staab
d015018a16 Fix up edit 2026-03-09 21:12:51 -07:00
Jon Staab
482121db5c Add content-visibility class 2026-03-09 21:12:09 -07:00
triesap
c43544734a Drag and drop space icons (#17) (#78)
Closes #17

Co-authored-by: Jon Staab <shtaab@gmail.com>
Reviewed-on: https://gitea.coracle.social/coracle/flotilla/pulls/78
Co-authored-by: triesap <tyson@radroots.org>
Co-committed-by: triesap <tyson@radroots.org>
2026-03-09 21:12:09 -07:00
Jon Staab
621c0d839c tweak how at works 2026-03-09 21:12:09 -07:00
Jon Staab
021c1fc7c4 Fix scroll to event behavior 2026-03-09 21:12:08 -07:00
Jon Staab
bda91080ab Pin scroll position to at'd event until user scrolls 2026-03-09 21:12:08 -07:00
Jon Staab
a9828be25c Simplify goToEvent 2026-03-09 21:12:08 -07:00
Jon Staab
dde9dbfbfe Add forward scrolling to makeMakeFeed 2026-03-09 21:12:08 -07:00
Jon Staab
3d268f1f9d Refactor SpaceSearch into its own component 2026-03-09 21:12:08 -07:00
Ben
66a7a2a7af Space search 2026-03-09 21:12:08 -07:00
Jon Staab
7823e1d803 Fix editing messages with html tags 2026-03-09 21:12:08 -07:00
Jon Staab
380a52efb3 Use space url as relay hint 2026-02-09 17:24:55 -08:00
hodlbod
c4f2f55617
Simplify notification badges, improve performance (#57)
Co-authored-by: Jon Staab <shtaab@gmail.com>
2026-02-09 11:44:32 -08:00
Jon Staab
24b88e4ac0 Fix calendar detail 2026-02-06 14:57:35 -08:00
Jon Staab
ec54a0dbce Use item components on recent page 2026-02-04 09:07:26 -08:00
Jon Staab
70c430ddc2 Add classified status 2026-02-03 17:09:30 -08:00
Jon Staab
815dbba497 Use address for page param for replaceable events 2026-02-03 16:35:32 -08:00
Jon Staab
dc5bac67aa Add image uploads to classifieds 2026-02-03 14:18:58 -08:00
Jon Staab
5427fd7860 Add a currency input 2026-02-03 13:25:24 -08:00
Jon Staab
119c09d730 Add classified listings 2026-02-03 12:43:36 -08:00
Jon Staab
1da6833c71 Rework recent activity page 2026-02-03 09:51:33 -08:00
Jon Staab
4b8cf53731 Rework recent activity page 2026-02-02 15:36:50 -08:00
Jon Staab
d646ddd91d Fix edit 2026-02-02 14:33:45 -08:00
Jon Staab
4480132c74 Add sticky submit buttons to settings pages 2026-02-02 09:51:36 -08:00
Jon Staab
38c0a9d403 Re work modal scrolling 2026-01-30 15:36:20 -08:00