23 Commits

Author SHA1 Message Date
f636883396 Fix lint error 2023-12-31 22:28:07 -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
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
3ba8e3ef70 Restrict access to routes when not logged in (i.e., no active session) 2023-12-24 14:09:46 -06:00
33c8ef30ec Fix lint error 2023-11-05 18:38:38 -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
535f28c278 Enable search sort-orders 2023-10-14 15:06:50 -03:00
b2df94f041 Show tombstones 2023-08-29 12:27:53 -03:00
8608f06bca Fix entity recognition to avoid matching email 2023-08-27 15:33:22 -03:00
f8cd326440 Add clickable entities to tweet text 2023-08-27 15:09:35 -03:00
4cabae45dd Fix embedding in production build 2023-08-19 02:14:23 -03:00
ff3dba9980 Add build option to embed static files in the built binary 2023-08-19 01:58:31 -03:00
2078eb8026 Add rendering of Spaces 2023-08-18 19:01:58 -03:00
832848478d Add buffered_render_tweet_htmx helper 2023-08-17 13:24:08 -03:00
f4e12172df REFACTOR: make the helper functions more useful 2023-08-16 20:22:09 -03:00
107d21b7e6 Add retweet indicator on tweets 2023-08-13 15:57:58 -03:00
cd1043215c Improve a bunch of styles, formatting and layout 2023-08-13 05:19:13 -03:00
5c17546c7b Fix tweets being rendered without paragraph breaks 2023-08-12 11:14:06 -03:00
1e2668afbc Fix another lint error 2023-08-10 12:52:15 -03:00
80445e03cb Fix lint errors 2023-08-10 12:48:46 -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
17423b34c1 Add the 'webserver' internal package with UserFeed and TweetDetail routes and templates 2023-08-03 12:43:17 -03:00