44 Commits

Author SHA1 Message Date
Alessio
2a05512a9c Don't send empty search queries from search bar 2024-12-02 20:31:41 -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
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
63360518ef Enable page for bookmarks 2024-05-29 22:15:22 -07:00
Alessio
39c2250719 REFACTOR: add 'toast' helper response handler to produce toasts 2024-05-10 22:02:20 -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
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
e6471b65f0 Add PWA boilerplate and width/height attrs for all <img> tags 2024-03-22 21:37:34 -07:00
9fa0cbf6d6 Add on-click image carousel 2024-03-09 13:44:14 -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
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
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
fee47205ec Move content downloading to the background when scraping 2023-11-26 22:13:47 -08:00
f67fc443f6 Add Messages page 2023-11-14 11:12:23 -08: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
2e0e307b93 Change '.focused-tweet' to '#focused-tweet'; tidy up 'tests.sh' 2023-10-14 20:08:58 -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
bf147a1313 Fix weird scrolling issues by specifying width and height for image/video elements 2023-08-29 14:04:57 -03:00
72110e6558 Enable searching through the search bar 2023-08-20 15:02:47 -03:00
b805b3d1c4 Add lock icon for privated users; also make embedded links display better 2023-08-18 16:45:54 -03:00
901e4dce0e Add following and unfollowing 2023-08-17 18:09:01 -03:00
2f7ee34b98 Add Timeline 2023-08-17 14:14:32 -03:00
2c8ef0b476 Fix user profile images 2023-08-13 15:55:04 -03:00
cd1043215c Improve a bunch of styles, formatting and layout 2023-08-13 05:19:13 -03:00
b0a44063e4 Vendor the static assets (font, HTMX script) 2023-08-12 18:57:23 -03:00
02bc365add Add session management routes and pages ("/login", "/change-session")
- Also enable tweet fetching in TweetDetail handler if tweet is missing or not scraped
- Improve some UI stuff w/ more styles
- Enable HTMX page swapping in some places instead of full page loads
2023-08-10 12:36:28 -03:00
dcdec91d62 Add a ton of stuff to make everything look way better (no major behavior differences though) 2023-08-05 19:00:33 -03:00
17423b34c1 Add the 'webserver' internal package with UserFeed and TweetDetail routes and templates 2023-08-03 12:43:17 -03:00