125 Commits

Author SHA1 Message Date
Alessio
7a056c7494 Fix whitespace issue (kick pipeline) 2025-01-17 15:02:14 -08:00
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
2a05512a9c Don't send empty search queries from search bar 2024-12-02 20:31:41 -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
faac7e9b16 Add marking notifications as read 2024-11-06 21:54:21 -08:00
Alessio
212c1b4e50 Add replied-to username to reply previews in DMs 2024-11-06 19:44:08 -08:00
Alessio
4d81b8d879 Make banner images open in carousel on click as well 2024-11-06 17:12:20 -08:00
Alessio
d59ef45569 Profile images in user feed headers are now clickable to open the image full-sized (are no longer links to the page you're already on) 2024-11-06 17:06:30 -08:00
Alessio
4ea15f10af Add scraper function to get user by ID 2024-09-15 22:56:59 -07:00
Alessio
14ea626014 Show unread notifications count bubble in web UI; add background scraping of notifications every 10s 2024-09-02 17:00:30 -07:00
Alessio
665e6a31dd Add notifications page 2024-08-31 23:23:22 -07:00
Alessio
ee2b287fd9 Enable adding toasts in full page reloads (and HTMX where it's hx-boost or target = body)
- use toasts to display non-fatal scraping errors for Tweets
2024-08-18 16:36:32 -07: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
7244bf51e9 Make Bookmarks scrapable from web UI 2024-07-28 14:00:21 -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
b4a4084b48 Make image carousel close if user clicks outside it 2024-07-14 13:23:07 -07:00
Alessio
2a86e8df15 Change sidebar refresh interval to 3s instead of 10s 2024-05-29 23:54:43 -07:00
Alessio
d45edcf08c Add template file for previous commit 2024-05-29 22:17:25 -07:00
Alessio
63360518ef Enable page for bookmarks 2024-05-29 22:15:22 -07:00
Alessio
61404cf5b0 Enable manual re-scraping of chat rooms 2024-05-12 17:37:08 -07:00
Alessio
827c15431c Make messages list update every 3s 2024-05-12 17:01:14 -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
39c2250719 REFACTOR: add 'toast' helper response handler to produce toasts 2024-05-10 22:02:20 -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
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
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
28267a802a Add UI support for GIFs; make both gifs and regular videos have rounded corners 2024-04-19 21:45:54 -07:00
Alessio
39c2cc0d3d Fix the error toasts 2024-04-12 17:33:00 -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
4cc490df6a BUGFIX: Fix quoted tweets in pinned tweets 2024-03-24 16:13:56 -07:00