about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Caching heuristics (#1938)Eric Bailey2023-11-1630-22/+122
| | | | | * Tempfix profile load * First pass at staleTime
* Add profile loading shim (#1940)dan2023-11-163-22/+26
|
* Fix blank feed (#1935)dan2023-11-161-18/+35
| | | | | | | * Split feed into two components * Rm unused * Add a spinner
* Add a mutation queue to fix race conditions in toggles (#1933)dan2023-11-166-187/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prototype a queue * Track both current and pending actions * Skip unnecessary actions * Commit last confirmed state to shadow * Thread state through actions over time * Fix the logic to skip redundant mutations * Track status * Extract an abstraction * Fix standalone mutations * Add types * Move to another file * Return stable function * Clean up * Use queue for muting * Use queue for blocking * Convert other follow buttons * Don't export non-queue mutations * Properly handle canceled tasks * Fix copy paste
* Remove deprecated models and mobx usage (react-query refactor) (#1934)Paul Frazee2023-11-1681-1926/+1069
| | | | | | | | | | | | | | | | | | | | | * Update login page to use service query * Update modal to use session instead of store * Move image sizes cache off store * Update settings to no longer use store * Update link-meta fetch to use agent instead of rootstore * Remove deprecated resolveName() * Delete deprecated link-metas cache * Delete deprecated posts cache * Delete all remaining mobx models, including the root store * Strip out unused mobx observer wrappers
* Refactor account-creation to use react-query and a reducer (react-query ↵Paul Frazee2023-11-1610-337/+383
| | | | | | | | | refactor) (#1931) * Refactor account-creation to use react-query and a reducer * Add translations * Missing translate
* Refactor app passwords to use react-query (#1932)Paul Frazee2023-11-166-115/+177
|
* Some me model cleanup (#1928)Eric Bailey2023-11-165-22/+41
| | | | | | | | | | | | | | | | | * Replace me model in post dropdown btn * Replace delete account logic * Replace me model in bottom bar web * Replace me model in bottom bar * Replace me model in reply prompt * Better fallback * Fix reference * Fix bad ref in bottom bar
* Refactor ChangeHandle modal (#1929)Eric Bailey2023-11-164-101/+154
| | | | | | | | | | | | | * Refactor ChangeHandle to use new methods * Better telemetry * Remove unused logic * Remove caching * Add error message * Persist service changes, don't fall back on change handle
* Refactor invites modal (#1930)Eric Bailey2023-11-166-76/+103
| | | | | | | * Refactor invites modal * Replace in drawer * Delete stuff from me model
* Update UserInfoText component (#1927)Paul Frazee2023-11-161-29/+4
|
* Close active elems (react-query refactor) (#1926)Paul Frazee2023-11-169-66/+101
| | | | | | | | | * Refactor closeAny and closeAllActiveElements * Add close lightbox * Switch to hooks * Fixes
* Misc cleanup (#1925)Eric Bailey2023-11-1512-907/+37
| | | | | | | | | | | | | * Remove unused prefs * Cleanup * Remove my-follows cache * Replace moderationOpts in ProfileCard comp * Replace moderationOpts in FeedSlice * Remove preferences model
* Factor lightbox out into hook/context (#1919)Paul Frazee2023-11-1510-104/+152
|
* Fix memo params causing tuner to lose state (#1924)Paul Frazee2023-11-151-2/+4
|
* Fixes analytics init on web (#1923)Eric Bailey2023-11-151-11/+11
|
* Fix onboarding follows (#1922)Eric Bailey2023-11-152-3/+1
|
* Improve types (#1921)Eric Bailey2023-11-153-4/+6
|
* Remove post thread (#1920)Eric Bailey2023-11-154-485/+3
| | | | | | | * Delete post-thread model * Remove post-thread-item * Remove unused types
* Shell behaviors update (react-query refactor) (#1915)Paul Frazee2023-11-1520-135/+185
| | | | | | | | | | | * Move tick-every-minute into a hook/context * Move soft-reset event out of the shell model * Update soft-reset listener on new search page * Implement session-loaded and session-dropped events * Update analytics and push-notifications to use new session system
* Update post embed fetching to use new methods (#1916)Eric Bailey2023-11-153-22/+51
| | | | | * Update post embed fetching to use new methods * Use session agent
* No need to await follows anymore, fix cold load search (#1918)Eric Bailey2023-11-151-7/+4
|
* Translate some things on search (#1917)Eric Bailey2023-11-152-6/+9
|
* Search page (#1912)Eric Bailey2023-11-1514-991/+742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Desktop web work * Mobile search * Dedupe suggestions * Clean up and reorg * Cleanup * Cleanup * Use Pager * Delete unused code * Fix conflicts * Remove search ui model * Soft reset * Fix scrollable results, remove observer * Use correct ScrollView * Clean up layout --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Autocomplete updates (react-query refactor) (#1911)Paul Frazee2023-11-155-145/+72
| | | | | | | | | | | | | * Unify the autocomplete code; drop fuse * Persist autocomplete results while they're in progress * Commit lockfile * Use ReturnType helper --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Post PostLikedBy and PostRepostedBy to RQ (#1913)dan2023-11-156-344/+202
| | | | | * Port PostRepostedBy to RQ * Port PostLikedBy to RQ
* Port Profile Followers/Follows to RQ (#1893)dan2023-11-1411-478/+363
| | | | | | | | | | | | | | | | | * Port user followers to RQ * Port user follows to RQ * Start porting FollowButton to RQ * Fix RQ key * Check pending * Fix shadow and pending states * Rm unused * Remove last usage of useFollowProfile
* Desktop user autocomplete search (#1906)Eric Bailey2023-11-142-47/+178
| | | | | | | | | | | * Fix notification provider order, add comments * Remove log * Add actor typeahead handling * Trim down desktop search styles and hooks * Clean up moderation
* Fix openCamera, openCropped, lightbox model, and image model usages (#1908)Eric Bailey2023-11-147-34/+11
|
* Fix profile list (#1907)Eric Bailey2023-11-141-1/+1
|
* Fix image order in 4-image post embeds (close #1895) (#1904)Paul Frazee2023-11-141-2/+2
|
* Fix notification provider order, add comments (#1905)Eric Bailey2023-11-143-45/+61
| | | | | * Fix notification provider order, add comments * Remove log
* Fix self mention, resolve handle (#1903)Eric Bailey2023-11-142-8/+46
| | | | | | | | | * Fix self mention, resolve handle * Use queryClient * Fix type * Remove staleTime
* Add Shadow type (#1900)Paul Frazee2023-11-1410-21/+54
|
* Fix root sibling context issue (#1902)Eric Bailey2023-11-142-17/+19
|
* Composer update (react-query refactor) (#1899)Paul Frazee2023-11-1432-239/+269
| | | | | | | | | * Move composer state to a context * Rework composer to use RQ --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix poll latest loop (#1901)Paul Frazee2023-11-142-0/+4
| | | | | * Avoid pollLatest loop * Set poll interval on profile feeds
* Handle end of feed (#1898)Eric Bailey2023-11-141-3/+18
| | | | | * Handle end of feed * Add isFetching
* Refactor onboarding suggested follows (#1897)Eric Bailey2023-11-143-63/+227
| | | | | | | | | | | | | * Refactor onboarding suggested follows * Fix error state, track call * Remove todo * Use flatmap * Add additional try catch * Remove todo
* Update Muted and Blocked accounts screens (react-query refactor) (#1892)Paul Frazee2023-11-139-289/+212
| | | | | | | * 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
* Profile cleanup (react-query refactor) (#1891)Paul Frazee2023-11-137-327/+60
| | | | | | | | | * Only fetch profile tab content when focused * Fix keys * Add missing behaviors to post tabs * Delete old profile mobx model
* Update profile preview to use react-query (#1890)Paul Frazee2023-11-132-14/+70
|
* Add feedgens tab to profile (#1889)Paul Frazee2023-11-135-34/+296
|
* Factor out store from post-feed query (#1888)Eric Bailey2023-11-131-9/+11
|
* Factor our feed source model (#1887)Eric Bailey2023-11-1321-1340/+510
| | | | | | | | | | | | | | | | | | | | | * Refactor first onboarding step * Replace old FeedSourceCard * Clean up CustomFeedEmbed * Remove discover feeds model * Refactor ProfileFeed screen * Remove useCustomFeed * Delete some unused models * Rip out more prefs * Factor out treeView from thread comp * Improve last commit
* More profile refactor updates (#1886)Paul Frazee2023-11-1314-84/+432
| | | | | | | | | | | * Update the profile avatar lightbox * Update profile editor * Add dynamic likes tab * Add dynamic feeds and lists tabs * Implement lists listing on profiles
* Fix jump for web pager (#1884)dan2023-11-131-2/+2
|
* Fix lint on main (#1885)dan2023-11-131-3/+9
|
* Refactor profile screen to use new pager and react-query (#1870)dan2023-11-139-444/+718
| | | | | | | | | | | | | * Profile tabs WIP * Refactor the profile screen to use react-query (WIP) * Add the profile shadow and get follow, mute, and block working * Cleanup --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* More prefs cleanup (#1882)Eric Bailey2023-11-1312-176/+177
| | | | | | | | | | | * Update useHomeTabs * Use queryClient to fetch * Replace useHomeTabs and useDesktopRightNavItems * Fix type error * Some cleanup