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
..
2024-04-26 21:22:30 -05:00
2024-04-26 21:22:30 -05:00
2024-07-21 11:46:52 -05:00
2024-07-01 12:02:29 -05:00
2025-07-21 15:39:09 -05:00
2025-01-30 19:19:49 -06:00
2024-11-07 09:03:54 -06:00
2024-02-13 13:17:56 -06:00
2024-02-13 13:17:56 -06:00
2024-05-01 09:30:36 -05:00
2024-09-28 16:33:07 -05:00
2024-08-27 11:16:02 -05:00
2024-03-19 19:37:31 -05:00
2025-07-15 16:36:43 -05:00