Alessio
041af0f91d
Move common type definitions (Tweet, User, etc) from 'scraper' package to 'persistence'
2025-02-14 16:02:40 -08: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
98015ddf0c
REFACTOR: remove DMTrove type, merge it into TweetTrove
2024-07-28 08:01:58 -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
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
3fedde7aa5
Add unread messages notification indicator bubble in the nav sidebar
2024-04-28 15:21:39 -07:00
0fdba20c58
REFACTOR: move a bunch of renderer helpers around (bunch of whitespace diffs)
...
- rename 'files.go' to 'tpl_globbing_utils.go' which is a bit more descriptive
- move tpl file globbing utils to this file
2023-12-31 16:27:18 -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