about summary refs log tree commit diff
path: root/src/state/queries/profile-feedgens.ts
Commit message (Collapse)AuthorAgeFilesLines
* run `yarn lint --fix` (#9013)Samuel Newman2025-09-091-2/+9
|
* Header blurred banner on overscroll (take 2) (#5474)Samuel Newman2024-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * grow banner when overscrolling * add blurview * make backdrop blur as it scrolls * add activity indicator * use rotated spinner instead of arrow * persist position of back button * make back button prettier * make blur less jarring * Unify effects * Tweak impl * determine if should animate based on scroll amount * sign comment --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Respect labels on feeds and lists (#4818)Eric Bailey2024-08-021-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prep * Pass in optional moderation to FeedCard * Compute moderation decision, filter contentList contexts, pass into card * Let's go a different route * Filter from within search queries * Use same search query for starter packs * Filter lists from profile tabs * Cleanup * Filter from profile feeds * Moderate post embeds * Memoize * Use ScreenHider on lists * Hide both list types * Fix crash on iOS in screen hider, fix lineheight * Memoize renderItem * Reuse objects to prevent re-renders
* Sort profile feedgens by likes (#4380)Eric Bailey2024-06-111-1/+4
| | | | | | | | | | | | | | | * Sort profile feedgens by likes * Sort entire set as we get more pages * Nah This reverts commit 3b8714fd97bb113cfd8c588d5cdfd063d395f553. * Update profile-feedgens.ts --------- Co-authored-by: dan <dan.abramov@gmail.com>
* 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-2/+3
| | | | | | | * Extract query key roots to constants * Dedupe labelers-detailed-info * Align naming
* 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/+5
| | | | | * Tempfix profile load * First pass at staleTime
* Profile cleanup (react-query refactor) (#1891)Paul Frazee2023-11-131-1/+6
| | | | | | | | | * Only fetch profile tab content when focused * Fix keys * Add missing behaviors to post tabs * Delete old profile mobx model
* Add feedgens tab to profile (#1889)Paul Frazee2023-11-131-0/+31