about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* Close active elems (react-query refactor) (#1926)Paul Frazee2023-11-162-23/+14
| | | | | | | | | * Refactor closeAny and closeAllActiveElements * Add close lightbox * Switch to hooks * Fixes
* Misc cleanup (#1925)Eric Bailey2023-11-154-24/+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-155-52/+56
|
* Fix onboarding follows (#1922)Eric Bailey2023-11-151-2/+1
|
* Improve types (#1921)Eric Bailey2023-11-152-2/+4
|
* Shell behaviors update (react-query refactor) (#1915)Paul Frazee2023-11-1510-63/+36
| | | | | | | | | | | * 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-151-3/+5
| | | | | * 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-1510-910/+688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-154-23/+25
| | | | | | | | | | | | | * 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-152-73/+138
| | | | | * Port PostRepostedBy to RQ * Port PostLikedBy to RQ
* Port Profile Followers/Follows to RQ (#1893)dan2023-11-145-179/+273
| | | | | | | | | | | | | | | | | * 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-141-44/+119
| | | | | | | | | | | * 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-145-18/+8
|
* 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 self mention, resolve handle (#1903)Eric Bailey2023-11-141-8/+21
| | | | | | | | | * Fix self mention, resolve handle * Use queryClient * Fix type * Remove staleTime
* Add Shadow type (#1900)Paul Frazee2023-11-147-11/+21
|
* Composer update (react-query refactor) (#1899)Paul Frazee2023-11-1422-148/+120
| | | | | | | | | * 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-142-63/+152
| | | | | | | | | | | | | * 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-134-75/+148
| | | | | | | * 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-134-19/+51
| | | | | | | | | * 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-133-33/+264
|
* Factor our feed source model (#1887)Eric Bailey2023-11-1312-505/+422
| | | | | | | | | | | | | | | | | | | | | * 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-1310-76/+302
| | | | | | | | | | | * 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-136-434/+459
| | | | | | | | | | | | | * 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-136-67/+49
| | | | | | | | | | | * Update useHomeTabs * Use queryClient to fetch * Replace useHomeTabs and useDesktopRightNavItems * Fix type error * Some cleanup
* Refactor notifications to use react-query (#1878)Paul Frazee2023-11-1214-952/+457
| | | | | | | | | | | | | | | | | | | | | | | * 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-121-229/+463
| | | | | | | * Refactor My Feeds screen * Remove unused feed UI models * Add back PTR
* Refactor lists to use new queries (#1875)Paul Frazee2023-11-1211-640/+543
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-129-369/+700
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1012-363/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-107-29/+46
| | | | | | | * Move useOnMainScroll handlers to leaves * Force Feed to always take handlers * Pass handlers from the pager
* Merge pull request #1860 from bluesky-social/eric/startupEric Bailey2023-11-1022-349/+454
|\ | | | | Web login/signup and shell
| * Pare down session as much as possibleEric Bailey2023-11-1011-60/+94
| |
| * Remove error states, just best effortEric Bailey2023-11-104-29/+14
| |
| * Follow conventions for query, use isDirty flag in session store to avoid ↵Eric Bailey2023-11-104-8/+8
| | | | | | | | unneccessary writes
| * CommentsEric Bailey2023-11-092-1/+1
| |
| * Web login/signup and shellEric Bailey2023-11-0916-293/+379
| |
* | Work around web stale closure bug in Reanimated (#1865)dan2023-11-101-1/+1
|/
* 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