11 Commits

Author SHA1 Message Date
Alessio
08e5a726a8 Remove most uses of the singleton pattern in 'scraper' package 2024-08-19 16:45:32 -07:00
Alessio
5d0fd63591 When returning HTTP errors, send toasts if request is HTMX 2024-08-19 14:43:28 -07:00
Alessio
ef15e8a306 Handle guest token / session initialization when not connected to internet 2024-07-14 13:20:44 -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
3718b152b6 Fix lint error 2024-03-08 14:11:06 -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
c6ec9be562 Update CHANGELOG.txt for v0.6.4 2024-03-03 15:31:58 -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
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
addcf0ea52 Break the HTTP handlers into separate files for maintainability 2023-08-19 22:54:44 -03:00