about summary refs log tree commit diff
path: root/src/state/feed-feedback.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Replace getAgent() with reading agent (#4243)dan2024-05-281-3/+3
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* Implement FeedFeedback API (#3498)Paul Frazee2024-05-071-0/+151
* Implement onViewableItemsChanged on List.web.tsx * Introduce onItemSeen to List API * Add FeedFeedback tracker * Add clickthrough interaction tracking * Add engagement interaction tracking * Reduce duplicate sends, introduce a flushAndReset to be triggered on refreshes, and modify the api design a bit * Wire up SDK types and feedContext * Avoid needless function allocations * Fix schema usage * Add show more / show less buttons * Fix minor rendering issue on mobile menu * Wire up sendInteractions() * Fix logic error * Fix: it's item not uri * Update 'seen' to mean 3 seconds on-screen with some significant portion visible * Fix non-reactive debounce * Move methods out * Use a WeakSet for deduping * Reset timeout * 3 -> 2 seconds * Oopsie * Throttle instead * Fix divider * Remove explicit flush calls * Rm unused --------- Co-authored-by: dan <dan.abramov@gmail.com>