76 Commits

Author SHA1 Message Date
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
e300a882e4 Make end-of-feed indicator look better 2024-01-03 21:18:00 -06:00
ea7492d96b Add spinner for fetching a tweet; show error messages on server errors (i.e., panics) 2023-12-31 22:27:35 -06:00
45f3fd199f Preserve search bar text during search 2023-12-31 16:37:26 -06:00
17c9ab77ea Make Followers/Followees pages show the user header at the top
- also make the followees/followers count indicators in a user header link to their respective pages
2023-12-31 16:32:43 -06:00
24364a26b0 REFACTOR: rework the rendering helpers
- rendering helpers moved to their own file (separate from response helpers)
- create a unified render helper instead of "buffered_render_basic_X" and "buffered_render_tweet_X"
	- this helper takes 2 data objects: one with global data (tweet trove, logged in user, etc) and one page-specific
	- this lets us remove the disgusting interface type
- modify the User List template to use UserIDs indexing into a global data object instead of a list of Users
2023-12-31 15:56:12 -06:00
3117a1364c Add /user/followers and /user/followees pages 2023-12-26 23:16:51 -06: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
3ba8e3ef70 Restrict access to routes when not logged in (i.e., no active session) 2023-12-24 14:09:46 -06:00
a039b4b320 Get rid of dropdown menu on tweets, just put the two buttons next to each other 2023-12-20 11:55:50 -08: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
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
f67fc443f6 Add Messages page 2023-11-14 11:12:23 -08:00
93059f8a61 Make user feed buttons less ugly 2023-11-07 12:48:59 -04:00
ae749a19d2 Add users search page 2023-11-07 12:21:53 -04:00
723b7e4fa1 Add Lists page 2023-11-06 14:47:46 -04:00
694a8e0bc5 Change "scrape" from a URL param to a query param
- create generic "refresh" button for User Feed that refreshes whichever tab you're on
- refactor TweetDetail view into multiple pieces for easier maintenance
- on "Already liked this tweet" error, save the Like instead of discarding it
2023-11-05 15:27:40 -04:00
2e0e307b93 Change '.focused-tweet' to '#focused-tweet'; tidy up 'tests.sh' 2023-10-14 20:08:58 -03:00
535f28c278 Enable search sort-orders 2023-10-14 15:06:50 -03:00
72df452401 Add "with replies", "without replies", "media" and "likes" tab to User Feed
- Also add UI option to scrape a user's Likes from their user profile
2023-10-13 17:47:13 -03:00
d1edcbf363 Add tweet detail "/like" and "/unlike" URLs
- refactor TweetDetail to determine a bit more systematically whether scraping is required
2023-10-13 00:18:31 -03:00
9bb751afa5 BUGFIX: Fix retweeted-by button trying to open 2 pages simultaneously (user feed and the retweeted tweet) 2023-10-12 10:08:22 -07:00
f4ccc075f6 Show threads in the UI 2023-10-12 09:47:02 -07:00
4c81846d15 BUGFIX: fix embedded links not being clickable
- also improve the display to show the domain name when other info is missing
2023-09-13 23:52:04 -07:00
0113e86a00 Show filled-in 'like' icon when tweet is liked 2023-09-04 13:29:10 -03:00
bf147a1313 Fix weird scrolling issues by specifying width and height for image/video elements 2023-08-29 14:04:57 -03:00
b2df94f041 Show tombstones 2023-08-29 12:27:53 -03:00