106 Commits

Author SHA1 Message Date
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
e6471b65f0 Add PWA boilerplate and width/height attrs for all <img> tags 2024-03-22 21:37:34 -07:00
41e525d223 Show pinned tweets in the web UI 2024-03-18 21:30:01 -07:00
73c5803a47 Add downloading of DM embedded images, videos and links 2024-03-11 21:12:38 -07:00
9fa0cbf6d6 Add on-click image carousel 2024-03-09 13:44:14 -08:00
42ab53fb73 Remove 'go-playground/form' dependency; just use JSON and 'hx-ext="json-enc"' in all forms 2024-03-08 14:07:25 -08:00
8255c4f65e Improve login flow
- on successful login, kick off scraping of logged-in user, their followees, and only-followed home timeline
- `--auto-open` flag now opens `/login` instead of home page
- add HTMX spinner for login page
- provide toast error notification if login is challenged (e.g., 2FA)
2024-03-03 15:04:19 -08:00
c19d36d053 Split Timeline (Home page) into 2 feeds: offline feed and logged-in user follows feed 2024-03-02 23:42:07 -08:00
113858c9e4 Add template file for second-previous commit 2024-03-02 15:43:58 -08:00
12d10d4355 Make 'show more' button look nicer 2024-03-02 13:39:25 -08:00
a65937d6e4 Add a button to Search page to scrape search results 2024-03-01 17:25:00 -08:00
38495e8591 Add button and query to delete a List 2024-02-25 21:58:56 -08:00
26a18592fa Add button to create a new List 2024-02-25 21:31:49 -08:00
7330dfe05f Add button to remove user from List 2024-02-25 20:39:46 -08:00
677eb0c8a4 Add template files for List pages 2024-02-25 17:30:30 -08:00
3f66daef68 Add Lists pages
- List index page
- List detail pages: Feed and Users
- Improve styling for page headings (e.g., Search, Follows, list title, etc)
2024-02-25 17:14:09 -08:00
8d61aec316 REFACTOR: split Follows into its own template instead of piggybacking on Lists 2024-02-25 16:48:54 -08:00
b146cd9bb5 Make scrolling a lot better in DMs 2024-02-23 18:08:55 -08:00
69543e872e Add HTMX spinner to user feeds 2024-02-19 18:04:57 -08:00
90b9df15e5 Several visual improvements
- make spacing around a tweet's reply-mentions container grow and shrink more appropriately
- fix double HTMX-spinner when a tweet has a quoted tweet
- add favicon
2024-02-18 15:07:56 -08:00