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-07-15 16:36:43 -05:00
2024-10-08 15:23:27 -05:00
2025-08-03 13:02:12 -05:00
2025-08-29 19:50:12 -05:00
2023-12-04 21:34:06 -06:00
2025-07-15 16:36:43 -05:00
2025-07-15 16:36:43 -05:00
2023-12-04 21:34:06 -06:00
2025-02-01 15:36:48 -06:00
2025-04-09 15:29:44 -05:00
2024-12-04 12:10:30 -06:00
2025-04-09 15:29:44 -05:00
2025-03-20 19:18:56 -05:00
2025-03-15 08:11:33 -05:00
2025-07-15 16:36:43 -05:00
2025-02-01 15:36:48 -06:00