soxa b5af28c48b
Server-side tracking of comments view time (#2432)
* server-side comments view tracking, model structure, mutation

* full commentsViewedAt refactor, adjust comment creation and injection, adjust item navigation

* update server-side tracking only if there's a change, light cleanup

* coalesce meCommentsViewedAt to the item's createdAt, wip PoC comment outlining

* don't update cache on item visit, use useRoot hook for outlining

* add meCommentsViewedAt to root, better naming, light cleanup

* better timestamp logic and comparisons, add lastCommentAt to root item object, added TODOs

* fix: track commentsViewedAt only for root item, use topLevelId to fetch live comments only for the current item

* only track commentsViewedAt for root item, light cleanup

* light cleanup, correct live comments timestamp deps

* worker: on midnight, untrack items that were never viewed and had no comments in the last 21 days
2025-09-02 13:13:44 -05:00
..
2025-08-29 13:22:05 -05:00
2024-07-12 17:34:46 -05:00
2025-04-15 15:41:33 -05:00
2025-07-31 18:04:12 -05:00
2025-07-15 16:36:43 -05:00
2024-10-30 13:49:57 -05:00
2024-09-26 17:37:13 -05:00
2024-07-10 19:23:05 -05:00
2025-08-15 13:43:31 -05:00
2025-08-25 08:28:46 -05:00
2025-08-26 09:39:09 -05:00
2025-08-03 12:16:16 -05:00
2024-12-01 16:31:47 -06:00
2025-07-15 16:36:43 -05:00
2025-07-15 16:36:43 -05:00
2025-04-01 17:19:22 -05:00
2024-05-15 12:05:50 -05:00
2024-10-30 13:49:47 -05:00
2025-06-13 23:10:32 -05:00
2024-09-12 13:05:11 -05:00
2024-09-12 13:05:11 -05:00
2025-07-15 16:36:43 -05:00
2024-07-11 16:58:55 -05:00
2025-04-09 15:29:44 -05:00
2025-07-15 16:36:43 -05:00
2024-09-12 13:05:11 -05:00
2024-11-29 19:58:18 -06:00
2024-09-12 13:05:11 -05:00
2024-12-13 15:03:04 +01:00
2024-07-11 16:58:55 -05:00
2024-11-19 19:12:18 -06:00
2024-12-12 09:35:30 -06:00
2025-07-15 16:36:43 -05:00
2025-07-15 16:36:43 -05:00
2025-07-15 16:36:43 -05:00
2025-07-15 16:36:43 -05:00
2024-12-18 10:12:11 -06:00
2024-05-15 12:05:50 -05:00