about summary refs log tree commit diff
path: root/src/state/queries/post.ts
Commit message (Collapse)AuthorAgeFilesLines
* add metrics (#8426)hailey2025-05-301-11/+19
|
* Send FeedFeedback interactions in thread view (#8414)Samuel Newman2025-05-281-9/+13
|
* [Statsig] Remove client downsampling (#6153)Hailey2024-11-151-12/+12
|
* Remove Segment (#5518)Hailey2024-09-271-15/+1
|
* [Statsig] Add more events to downsample, increase downsample rate (#5198)Hailey2024-09-071-12/+12
| | | | | | | | | * add some events for sampling * include downsample rate in metadata * fix metadata logic * uncomment debug
* Detached QPs and hidden replies (#4878)Eric Bailey2024-08-211-0/+24
| | | | Co-authored-by: Hailey <me@haileyok.com>
* [D1X] Use user action and viewing history to inform suggested follows (#4727)Eric Bailey2024-07-041-0/+3
| | | | | | | | | | | | | * Use user action and viewing history to inform suggested follows * Remove dynamic spreads * Track more info about seen posts * Add ranking --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Migrate local thread mutes (#4523)Samuel Newman2024-06-191-2/+2
| | | | | | | | | | | | | | | * migrate thread mutes * don't try and clear if not logged in yet * migrate mutes one at a time * write before mutating * only migrate mutes of self posts * use /** @deprecated */ * shouldLike -> shouldMute
* Server-side thread mutes (#4518)Samuel Newman2024-06-181-0/+70
| | | | | | | | | | | * update atproto/api * move thread mutes to server side * rm log * move muted threads provider to inside did key * use map instead of object
* [🐴] Option to share via chat in post dropdown (#4231)Samuel Newman2024-05-311-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add send via chat button to post dropdown (cherry picked from commit d8458c0bc344f993266f7bc7e325d47e40619648) * let usePostQuery take uris with DIDs (cherry picked from commit 16b577ce749fd07e1d5f8461e8ca71c5b874a936) * add embed preview in composer (cherry picked from commit 795ceb98d55b6a3ab5b83187a582f9656d71db69) * rm log (cherry picked from commit 374d6b8869459f08d8442a3a47d67149e8d9ddd4) * remove params properly, or at least as close to (cherry picked from commit c20e0062c2ca4d9c2b28324eee5e713a1a3ab251) * show images in preview (cherry picked from commit 5bb617a3ce00f67bfc79784b2f81ef8dcb5bfc25) * Register embed immediately (cherry picked from commit ee120d5438a2c91c8980288665576d6a29b4c7e7) * Add hover to match embeds (cherry picked from commit 5297a5b06e499f46a9f6da510124610005db2448) * Update post dropdown copy (cherry picked from commit bc7e9f6a4303926a53c5c889f1f1b136faf20491) * Embed preview style tweaks (cherry picked from commit 9e3ccb0f25ac2f3ce6af538bb29112a3e96e01b1) * use hydrated posts from API and just use postembed component (cherry picked from commit cc0b84db87ca812d76cc69f46170ae84cfdde4ef) * fix type error (cherry picked from commit 9c49b940e1248e8a7c3b64190c5cb20750043619) * undo needless export (cherry picked from commit 1186701c997c50c0b29a809637cb9bc061b8c0a0) * fix overflow (cherry picked from commit 8868d5075062d0199c8ef6946fabde27e46ea378) --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Replace getAgent() with reading agent (#4243)dan2024-05-281-16/+16
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [Session] Add `useAgent` hook and replace (#3706)Eric Bailey2024-04-251-2/+9
| | | | | | | | | | | * Hook it up * Memoize getAgent method * Use one shared reference --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Statsig] Track like/follow metadata (#3435)dan2024-04-081-8/+34
| | | | | | | | | | | * Track becoming mutuals * Track poster/liker status * Track post and followee clout * Track follower and liker clout * Extract utility
* Extract query key roots to constants (#3404)dan2024-04-041-1/+2
| | | | | | | * Extract query key roots to constants * Dedupe labelers-detailed-info * Align naming
* Thread queryClient explicitly through (#3328)dan2024-04-031-16/+20
| | | | | | | * Pass queryClient explicitly to resetProfilePostsQueries * Pass queryClient explicitly to updatePostShadow * Pass queryClient explicitly to updateProfileShadow
* [Statsig] Track likes, reposts, follows (#3195)dan2024-03-131-12/+35
| | | | | | | | | | | | | * [Statsig] Track likes * Move tracking to intent * Track repost/unrepost * Track profile follows/unfollows * Less copy paste * Reorder
* Fix races for post like/repost toggle (#2617)dan2024-01-251-66/+121
|
* Derive shadow like count (#2616)dan2024-01-251-20/+4
|
* Check Analytics (#2106)Ansh2023-12-061-0/+6
| | | | | | | | | | | * fix sign in event tracking * add missing analytics events * add more missing analytics * fix like and unrepost event tracking * reset onEndReachedThreshold
* Adjust stale-caches and dont group read&unread notifs together (#2041)Paul Frazee2023-11-291-3/+0
| | | | | | | | | * Dont group read & unread notifications together * Remove and reduce some stale cache times * Keep the staleTime on the post-feed * Bring back the load-bearing staletime on profile
* Move the current agent to a global and reset RQ queries on agent change (#1946)Paul Frazee2023-11-161-17/+10
|
* Caching heuristics (#1938)Eric Bailey2023-11-161-2/+6
| | | | | * Tempfix profile load * First pass at staleTime
* Update post embed fetching to use new methods (#1916)Eric Bailey2023-11-151-2/+36
| | | | | * Update post embed fetching to use new methods * Use session agent
* Refactor feeds to use react-query (#1862)Paul Frazee2023-11-101-52/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update to react-query v5 * Introduce post-feed react query * Add feed refresh behaviors * Only fetch feeds of visible pages * Implement polling for latest on feeds * Add moderation filtering to slices * Handle block errors * Update feed error messages * Remove old models * Replace simple-feed option with disable-tuner option * Add missing useMemo * Implement the mergefeed and fixes to polling * Correctly handle failed load more state * Improve error and empty state behaviors * Clearer naming
* Refactor post threads to use react query (#1851)Paul Frazee2023-11-091-0/+156
* Add post and post-thread queries * Update PostThread components to use new queries * Move from normalized cache to shadow cache model * Merge post shadow into the post automatically * Remove dead code * Remove old temporary session * Fix: set agent on session creation * Temporarily double-login * Handle post-thread uri resolution errors