about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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>