25 Commits

Author SHA1 Message Date
Alessio
98015ddf0c REFACTOR: remove DMTrove type, merge it into TweetTrove 2024-07-28 08:01:58 -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
47dbd4fe42 Add template file for previous commit 2024-05-03 15:26:30 -07:00
Alessio
3fedde7aa5 Add unread messages notification indicator bubble in the nav sidebar 2024-04-28 15:21:39 -07:00
Alessio
0196cb681b Improve DM chat list previews
- add "unread" indicators
- message preview should now always say something, e.g., "So-and-so sent a Tweet" instead of being empty
2024-04-27 23:10:07 -07:00
Alessio
5c546bf308 Add query to list conversations with unread messages in them 2024-04-27 23:01:56 -07:00
Alessio
8b77185e6a Remove XXX lint blocker 2024-04-07 18:31:43 -07:00
Alessio
cc4da5e2a5 Create DM pagination function and reimplement 'GetChatRoomContents' using it 2024-04-07 18:24:32 -07:00
ea3aac52f8 Fix some typos 2024-03-24 20:12:40 -07:00
590a05edb7 Fix lint errors 2024-03-24 20:09:16 -07:00
0bc5a995ad REFACTOR: remove some redundant code in dm_queries.go 2024-03-24 20:02:40 -07:00
73c5803a47 Add downloading of DM embedded images, videos and links 2024-03-11 21:12:38 -07:00
db692e747a Fix lint error, add test for empty polling result 2023-12-24 19:43:00 -06:00
bd90b1c528 Add polling for new messages in a chat room while on the page 2023-12-24 19:28:15 -06:00
d80a2bd5b1 REFACTOR: fix some SQL queries that were indented with spaces, clean up some stuff 2023-12-24 19:22:44 -06:00
aaab11b1d0 Add DM message replying-to indicators/previews and render embedded tweets 2023-11-25 14:21:09 -08:00
e5b00c334d Add embedded tweet recognition to DMs 2023-11-19 23:33:04 -08:00
b73ee1f5d2 Add support for group DMs; also make UI highlight which chat is currently active 2023-11-19 20:37:22 -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
99f6de9d45 Add UI queries for DMs 2023-11-12 13:04:02 -08:00
186cea5f1c REFACTOR: a bunch of miscellaneous spacing and formatting improvements 2023-11-12 12:53:56 -08:00
ef72de76e0 Rebase DMs, updating for rename of 'scraper' to 'pkg/scraper' 2023-11-07 15:04:47 -04:00
7dcb0ff84e Fix chat messages/reactions breaking if you save the same one twice 2023-11-07 15:04:47 -04:00
7c25648cbf Add DB queries for DM chat messages and reactions
- also change reactions to be a map instead of a slice
2023-11-07 15:04:47 -04:00
891ce75479 Add queries for DM chat rooms and participants 2023-11-07 15:04:47 -04:00