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
..
2023-12-20 19:12:43 -06:00
2025-02-28 19:15:18 -06:00
2025-07-15 16:36:43 -05:00
2024-12-28 09:28:05 -06:00
2023-08-16 19:49:00 -05:00
2025-04-09 15:29:44 -05:00
2025-02-14 19:25:11 -06:00
2024-07-10 19:23:05 -05:00
2025-03-26 11:40:28 -05:00
2025-08-26 09:52:26 -05:00
2024-09-13 09:26:08 -05:00
2025-08-26 09:52:26 -05:00
2025-08-26 09:19:52 -05:00