13 Commits

Author SHA1 Message Date
b146cd9bb5 Make scrolling a lot better in DMs 2024-02-23 18:08:55 -08:00
1317d44b52 BUGFIX: fix focused tweets being clickable 2024-02-18 15:23:16 -08:00
84ff6c12b7 Change all timestamps to use milliseconds instead of seconds 2024-01-07 15:15: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
482238abe0 Poll for DM updates every 3s instead of 7s; fix scrolling on new DMs sent and received; clear composer box after sending message 2023-12-24 21:53:03 -06:00
db692e747a Fix lint error, add test for empty polling result 2023-12-24 19:43:00 -06:00
bd90b1c528 Add polling for new messages in a chat room while on the page 2023-12-24 19:28:15 -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
c471ae3c65 Fix lint error 2023-11-19 20:52:54 -08:00
b73ee1f5d2 Add support for group DMs; also make UI highlight which chat is currently active 2023-11-19 20:37:22 -08:00
6e9a370073 Various improvements to Messages UI
- Chat list previews look a bit nicer, and display the time of last message
- Chat messages show sent_at time
- Messages with line breaks will actually display as paragraphs now
- Misc spacing improvements
- BUGFIX: fix preview DB query crashing if there's no messages in a chat
2023-11-19 15:31:59 -08:00
f67fc443f6 Add Messages page 2023-11-14 11:12:23 -08:00