784 Commits

Author SHA1 Message Date
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
5cbf96f379 Fix unusual bug when scraping tweets which only happens if the tweet has a link and the text is exactly 22 chars long 2024-05-05 11:59:58 -07:00
Alessio
a0a32d0fb8 Fix another lint error 2024-05-05 11:25:00 -07:00
Alessio
5d727487ba Fix lint error 2024-05-05 11:23:06 -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
f7ad9ba63c Update CHANGELOG.txt for v0.6.10 2024-05-04 21:49:23 -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
6982b28cb2 Fix lint error 2024-05-03 16:18:09 -07:00
Alessio
1c874d8e0a Fix entities preceded by punctuation marks rendering weird 2024-05-03 16:14:58 -07:00
Alessio
47dbd4fe42 Add template file for previous commit 2024-05-03 15:26:30 -07:00
Alessio
62500d69dd Add header section to DM chat views 2024-05-03 15:10:14 -07:00
Alessio
b919f4e976 Add copy link button to tweets and 'Go Online' button to nav sidebar 2024-05-03 13:51:02 -07:00
Alessio
99a3f9d4b0 Add icons for the previous GIF related commit 2024-05-01 14:39:48 -07:00
Alessio
b0a0c36141 Make sidebar poll for notifications every 10s 2024-04-28 15:41:47 -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
28267a802a Add UI support for GIFs; make both gifs and regular videos have rounded corners 2024-04-19 21:45:54 -07:00
Alessio
a2e7187040 Update CHANGELOG.txt for v0.6.8 2024-04-13 17:02:18 -07:00
Alessio
a7d2b78a18 Fix some buggy styling around the pin icon on pinned tweets 2024-04-13 16:57:51 -07:00
Alessio
1b3c5d0ed3 Add timeout error handling for scraper requests to the request body download as well (rather than just headers) 2024-04-13 16:10:23 -07:00
Alessio
39c2cc0d3d Fix the error toasts 2024-04-12 17:33:00 -07:00
Alessio
3eb281cb7e Update CHANGELOG.txt for v0.6.7 2024-04-12 11:26:06 -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
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
Alessio
aeb2782356 Reorganize styles.css a bit, moving common / utility / layout styles to top of file 2024-03-30 20:19:58 -07:00
697c58e439 Add 'list:<id>' search filter 2024-03-26 20:19:17 -07:00
b6aa6d1a4f Add pinned-tweet quoted tweet info if needed 2024-03-26 20:09:08 -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
4cc490df6a BUGFIX: Fix quoted tweets in pinned tweets 2024-03-24 16:13:56 -07:00
6a9d8becba Add pin icon file 2024-03-23 11:37:19 -07:00
6e283d9ef4 BUGFIX: fix user feed breaking for users without a pinned tweet 2024-03-23 11:32:57 -07:00
9f192ea31d Update CHANGELOG.txt for v0.6.6 2024-03-22 21:53:45 -07:00
158710df8d Update User Feed graphql endpoint so it can get long tweets 2024-03-22 21:39:13 -07:00
e6471b65f0 Add PWA boilerplate and width/height attrs for all <img> tags 2024-03-22 21:37:34 -07:00
2e1c851e04 Add help message info for 'get_followers' and 'get_followees' 2024-03-22 21:34:38 -07:00
4e0efd8cf9 Add 'tombstone' search filter and search bar filter argument for 'followed_by' 2024-03-22 21:34:02 -07:00
125445671d Fix HTMX spinner background overflowing rounded edges inside quoted tweets 2024-03-22 21:25:39 -07:00
750ad3031a Fix lint error 2024-03-18 22:32:30 -07:00
898ad163ae Add parsing of pinned tweets on scraped user feeds 2024-03-18 22:20:36 -07:00