6 Commits

Author SHA1 Message Date
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