about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update clear account behavior, ensure agent is set (#1881)Eric Bailey2023-11-131-2/+8
|
* Refactor notifications to use react-query (#1878)Paul Frazee2023-11-1229-1736/+938
| | | | | | | | | | | | | | | | | | | | | | | * Move broadcast channel to lib * Refactor view/com/post/Post and remove temporary 2 components * Add useModerationOpts hook * Refactor notifications to use react-query * Fix: only trigger updates in useModerationOpts when the values have changed * Implement unread notification tracking * Add moderation filtering to notifications * Handle native/push notifications * Remove dead code --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Refactor My Feeds (#1877)Eric Bailey2023-11-125-541/+531
| | | | | | | * Refactor My Feeds screen * Remove unused feed UI models * Add back PTR
* Refactor lists to use new queries (#1875)Paul Frazee2023-11-1225-1538/+1296
| | | | | | | | | | | | | | | | | | | | | | | | | * Refactor lists queries to react-query * Delete old lists-list model * Implement list, list-members, and list-memberships react-queries * Update CreateOrEditList modal * First pass at my-follows and actor-autocomplete queries * Update ListAddUserModal to use new queries, change to ListAddRemoveUsersModal * Update UserAddRemoveLists modal * Remove old TODO * Fix indent, autocomplete query * Add a todo --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Eric/preferences (#1873)Eric Bailey2023-11-1222-912/+1337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial preferences query, couple mutations * Remove unused * Clean up labels, migrate getModerationOpts * Add birth date handling * Migrate feed prefs * Migrate thread view prefs * Migrate homeFeed to use existing key name * Fix up saved feeds in response, no impl yet * Migrate saved feeds to new hooks * Clean up more of preferences * Fix PreferencesThreads load state * Fix modal dismissal * Small spacing fix --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Refactor feeds to use react-query (#1862)Paul Frazee2023-11-1029-1069/+893
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Use min height for pager lists and increase it (#1869)dan2023-11-103-3/+3
|
* Fix initial pager gap after fast scroll (#1868)dan2023-11-101-3/+13
|
* Scroll sync in the pager without jumps (#1863)dan2023-11-106-87/+160
|
* Push useAnimatedScrollHandler down everywhere to work around bugs (#1866)dan2023-11-109-38/+95
| | | | | | | * Move useOnMainScroll handlers to leaves * Force Feed to always take handlers * Pass handlers from the pager
* Fix type errors (#1867)Eric Bailey2023-11-101-0/+4
|
* Merge pull request #1860 from bluesky-social/eric/startupEric Bailey2023-11-1031-915/+694
|\ | | | | Web login/signup and shell
| * Pare down session as much as possibleEric Bailey2023-11-1015-532/+126
| |
| * Clean up isDirty handlingEric Bailey2023-11-101-15/+18
| |
| * Remove error states, just best effortEric Bailey2023-11-104-29/+14
| |
| * Swap orderEric Bailey2023-11-101-1/+1
| |
| * Follow conventions for query, use isDirty flag in session store to avoid ↵Eric Bailey2023-11-107-16/+24
| | | | | | | | unneccessary writes
| * CommentsEric Bailey2023-11-092-1/+1
| |
| * Cleanup getProfileEric Bailey2023-11-093-27/+9
| |
| * Web login/signup and shellEric Bailey2023-11-0921-373/+580
| |
* | Work around web stale closure bug in Reanimated (#1865)dan2023-11-104-7/+48
|/
* Pull useAnimatedScrollHandler back up (#1858)dan2023-11-093-47/+26
| | | | | | | * Revert "Pull animated scroll handler down from pager" This reverts commit ecebb78e40148b9160f832d26ada1d366551b645. * Only handle onScroll for current page
* Refactor post threads to use react query (#1851)Paul Frazee2023-11-0912-475/+1385
| | | | | | | | | | | | | | | | | | | * 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
* First pass at a session handler (#1850)Eric Bailey2023-11-099-56/+488
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First pass at a session handler * TODOs * Fix recursion * Couple more things * Add back resume session concept * Handle ready * Cleanup of initial loading states * Handle init failure * Cleanup * Remove account * Add updateCurrentAccount * Remove log * Cleanup * Integrate removeAccount * Add hasSession * Add to App.native, harden migration * Use effect to persist data
* Fix tab alignment on the web (#1857)dan2023-11-091-1/+0
|
* Show tabs when swiping feeds (#1856)dan2023-11-092-3/+18
|