Commit graph

60 commits

Author SHA1 Message Date
Jon Staab
c6b0799b2a Remove cv class from chat since new messages weren't rendering in Safari 2026-05-06 09:25:29 -07:00
Jon Staab
861f2286db Remove unnecessary tooltip, fix chat padding on mobile 2026-05-06 09:01:01 -07:00
1amKhush
4a967de184 fix(chat): suppress programmatic scroll while user is scrolling (#132) (#216)
Co-authored-by: 1amKhush <khushvendras99@gmail.com>
Co-committed-by: 1amKhush <khushvendras99@gmail.com>
2026-04-16 23:20:17 +00:00
Jon Staab
1e4a4e43dc remove dead virtualization code 2026-04-16 11:39:11 -07:00
Jon Staab
ef08821796 remove VirtualItem 2026-04-13 10:35:26 -07:00
userAdityaa
29bb33c26c publish kind 9 quote after room content creation for cross-client interoperability 2026-04-10 14:20:24 -07:00
Jon Staab
1d92709c76 perf: task-fix-list-virtualization changes 2026-04-10 12:44:01 -07:00
Jon Staab
e33beee17d perf: task-fix-raf-derived-to-effect changes 2026-04-10 12:30:25 -07:00
Jon Staab
f1f2083c88 Remove unnecessary snapshots, format 2026-04-10 11:09:26 -07:00
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
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
9e74c94871 Show navigation on space landing on mobile 2026-03-12 16:44:22 -07:00
Jon Staab
cd54bc2880 Add up/edit to chats 2026-03-10 15:46: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
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
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
Jon Staab
4169db33e6 Rework alert settings and UI 2026-01-30 09:13:50 -08:00
Jon Staab
e2ba10d224 Fix has alerts store 2026-01-29 13:52:36 -08:00
Jon Staab
d4378731ae Fix a few bugs with push notifications 2026-01-28 14:08:15 -08:00
Jon Staab
ca3d661830 Generally just refactor alerts, upgrade some deps 2026-01-23 10:05:47 -08:00
Jon Staab
63fee653e8 Add muted rooms, rework alert settings 2026-01-22 12:49:09 -08:00
Jon Staab
2c62749d9b Attempt to fix new messages button 2026-01-16 10:56:18 -08:00
Jon Staab
10c12c3c48 Improve time based chat partitioning 2025-12-04 14:29:12 -08:00
Jon Staab
df17929681 Fix new messages indicator 2025-11-25 17:06:21 -08:00
Jon Staab
b0731503a8 Fix indexeddb deletes 2025-11-13 16:39:44 -08:00
Jon Staab
997b223e95 Rename space menu components 2025-11-13 10:36:28 -08:00
Jon Staab
8e411daaef Refactor avatar components, add space edit form 2025-11-11 13:50:45 -08:00