34 Commits

Author SHA1 Message Date
Alessio
5f1e917819 Try re-downloading chat images 5x with 0.5s delay before giving up 2025-01-17 14:48:31 -08:00
Alessio
8d29e25823 Don't bother sending a RemoteUrl for DM images if they're not downloaded yet, since they can't be loaded without an authentication token anyway 2024-12-22 08:07:26 -08:00
Alessio
9d95fcbe57 Add htmx spinner to refresh-chat-room button 2024-12-09 13:44:11 -08:00
Alessio
5b8d110474 UI: add a little circle and background around the active user's reaccs 2024-11-09 18:16:01 -08:00
Alessio
212c1b4e50 Add replied-to username to reply previews in DMs 2024-11-06 19:44:08 -08:00
Alessio
c1c781af61 Implement replying in DMs 2024-07-28 17:18:30 -07:00
Alessio
b4384f9cc4 Enable sending emoji reactions in DMs 2024-07-28 14:09:41 -07:00
Alessio
98015ddf0c REFACTOR: remove DMTrove type, merge it into TweetTrove 2024-07-28 08:01:58 -07:00
Alessio
821d36b116 Add emoji picker for DMs 2024-07-27 15:40:55 -07:00
Alessio
61404cf5b0 Enable manual re-scraping of chat rooms 2024-05-12 17:37:08 -07:00
Alessio
455639dffd Change the 'mark as read' button to use an eye icon 2024-05-11 11:12:19 -07:00
Alessio
f927507089 Enable marking DMs as read 2024-05-10 22:09:48 -07:00
Alessio
2a7a4e700e Remove 'dm-composer' OOB template and replace it with a simple 'hx-on:htmx:after-request' attribute 2024-05-09 13:11:05 -07:00
Alessio
73c89f70fb REFACTOR: move /messages/<id>/send handler into its own function 2024-05-08 21:59:27 -07:00
Alessio
71230e3886 Fix 3 bugs in DMs
- escape HTML entities in messages so "<" doesn't scrape as "&lt;"
- escape quotes in sent messages, so they no longer fail to send
- fix the web UI receiving the last 50 messages after every sent message instead of just the new ones
2024-05-05 10:58:39 -07:00
Alessio
341ddaa5c2 Add Participants view to group chats 2024-05-04 21:41:15 -07:00
Alessio
73e608069c Add open-in-external button to DM headers 2024-05-04 17:59:06 -07:00
Alessio
ca4d11cb05 Improve scrolling behavior in DMs when paging back through a conversation 2024-05-04 17:50:38 -07:00
Alessio
9b5f1d33cf Make clicking on a replying-to button in DMs scroll that message into view 2024-05-04 17:21:56 -07:00
Alessio
d907a6c500 Make DM message 'show more' button use same styling as timeline one 2024-05-04 15:51:36 -07:00
Alessio
af3e496468 Add pagination to DM conversation and scrolling back using 'show more' button 2024-05-04 15:44:17 -07:00
Alessio
4d6407492a REFACTOR: split Messages handler into functions; add 'is_htmx' helper function 2024-05-04 15:14:51 -07:00
Alessio
62500d69dd Add header section to DM chat views 2024-05-03 15:10:14 -07:00
Alessio
8410182129 Big front-end refactor to make CSS management more tractable
- Convert most CSS class names to BEM style
- Improve a significant amount of layouts / UI bugs
- Probably add a bunch of UI bugs
2024-04-05 15:49:19 -07:00
e6471b65f0 Add PWA boilerplate and width/height attrs for all <img> tags 2024-03-22 21:37:34 -07:00
73c5803a47 Add downloading of DM embedded images, videos and links 2024-03-11 21:12:38 -07:00
b146cd9bb5 Make scrolling a lot better in DMs 2024-02-23 18:08:55 -08:00
482238abe0 Poll for DM updates every 3s instead of 7s; fix scrolling on new DMs sent and received; clear composer box after sending message 2023-12-24 21:53:03 -06:00
bd90b1c528 Add polling for new messages in a chat room while on the page 2023-12-24 19:28:15 -06:00
e1bc6bba98 Enable sending DM messages 2023-12-24 14:21:57 -06:00
fee47205ec Move content downloading to the background when scraping 2023-11-26 22:13:47 -08:00
aaab11b1d0 Add DM message replying-to indicators/previews and render embedded tweets 2023-11-25 14:21:09 -08:00
6e9a370073 Various improvements to Messages UI
- Chat list previews look a bit nicer, and display the time of last message
- Chat messages show sent_at time
- Messages with line breaks will actually display as paragraphs now
- Misc spacing improvements
- BUGFIX: fix preview DB query crashing if there's no messages in a chat
2023-11-19 15:31:59 -08:00
f67fc443f6 Add Messages page 2023-11-14 11:12:23 -08:00