about summary refs log tree commit diff
path: root/src/state/queries/my-muted-accounts.ts
Commit message (Collapse)AuthorAgeFilesLines
* run `yarn lint --fix` (#9013)Samuel Newman2025-09-091-4/+4
|
* Replace getAgent() with reading agent (#4243)dan2024-05-281-2/+2
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [Session] Add `useAgent` hook and replace (#3706)Eric Bailey2024-04-251-1/+2
| | | | | | | | | | | * Hook it up * Memoize getAgent method * Use one shared reference --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Extract query key roots to constants (#3404)dan2024-04-041-3/+4
| | | | | | | * Extract query key roots to constants * Dedupe labelers-detailed-info * Align naming
* Rewrite the shadow logic to look inside the cache (#2045)dan2023-11-301-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reset * Associate shadows with the cache * Use colocated helpers * Fix types * Reorder for clarity * More types * Copy paste logic for profile * Hook up profile query * Hook up suggested follows * Hook up other profile things * Fix shape * Pass setShadow into the effect deps * Include reply posts in the shadow cache search --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Adjust stale-caches and dont group read&unread notifs together (#2041)Paul Frazee2023-11-291-2/+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-3/+2
|
* Revise cache times (#1942)Eric Bailey2023-11-161-1/+1
| | | (cherry picked from commit 1be2060a2b81741dcf9a392160af87d2747b3497)
* Caching heuristics (#1938)Eric Bailey2023-11-161-1/+4
| | | | | * Tempfix profile load * First pass at staleTime
* Update Muted and Blocked accounts screens (react-query refactor) (#1892)Paul Frazee2023-11-131-0/+28
* Add my-blocked-accounts and my-muted-accounts queries * Update ProfileCard to use the profile shadow cache and useModerationOpts * Update blocked accounts and muted accounts screens