about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* PWI Base (#1964)Eric Bailey2023-11-2125-751/+1022
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Base work for public view * Make default moderation settings more restrictive * Fix type * Handle showing sign-in on authed actions * Fix hoc logic * Simplify prefs logic * Remove duplicate method * Add todo * Clean up RepostButton.web * Fix x button color * Add todo * Retain existing label prefs for now, use separate logged out settings * Clean up useAuthedMethod, rename to useRequireAuth * Add todos * Move dismiss logic to withAuthRequired * Ooops add web * Block public view in prod * Add todo * Fix bad import
* Add dev-only button to clear storage (#1965)Eric Bailey2023-11-213-0/+54
| | | | | | | * Add dev-only button to clear storage * Add legacy storage clearing too * Use try/catch
* Re-wrap forgot pw success in layout (#1966)Eric Bailey2023-11-211-1/+6
|
* Hindi Internationalization (#1914)Ansh2023-11-2068-2058/+5121
| | | | | | | | | | | | | | | | | | | | | | * get basic hindi support to work * get web app language switcher in * Refactor i18n implementation and remove unused code * add missing strings * add dropdowns and modals missing strings * complete all hindi translations * fix merge conflicts * fix legeacy persisted state * fix data in RecommendedFeeds * fix lint
* Improve dedupe logic on search suggestions (#1958)Eric Bailey2023-11-171-15/+14
|
* Optimize notifications rendering (#1957)dan2023-11-171-3/+5
|
* Add missing type (#1955)dan2023-11-171-0/+4
|
* Fix some key errors (#1951)Eric Bailey2023-11-172-5/+10
|
* Do less work (#1953)dan2023-11-176-29/+24
|
* Fix some type errors (#1952)Eric Bailey2023-11-177-15/+40
| | | | | * Fix some low-hanging type errors * Override scrollRef types on profile
* Freeze inactive screens (#1949)dan2023-11-162-0/+5
|
* Use non-reactive callbacks for some methods (#1948)dan2023-11-163-39/+34
| | | | | | | * Use non-reactive callbacks for some methods * Remove unnecessary state * Use non-reactive callbacks for modals
* Add some memoization (#1947)dan2023-11-164-12/+18
|
* Improve notification load behaviors (#1943)Paul Frazee2023-11-165-6/+34
| | | | | | | * Dont use the stale cache for notifs-feed * Add a delay to marking all read to avoid marking upcoming posts as read * Trigger automatic notifications refresh when navigating to the tab, in certain conditions
* Move the current agent to a global and reset RQ queries on agent change (#1946)Paul Frazee2023-11-1640-260/+218
|
* Fix jumpy modal regression (#1945)dan2023-11-162-6/+33
|
* Notifs refresh improvement (#1941)Paul Frazee2023-11-162-2/+20
| | | | | | | | | * Show loading state in notifications * Fix invalidation of notifs * Move spinner below header * Fix: dont show spinner on initial load
* Revise cache times (#1942)Eric Bailey2023-11-1614-14/+14
| | | (cherry picked from commit 1be2060a2b81741dcf9a392160af87d2747b3497)
* Disable refetchOnWindowFocus on react-query (#1936)Paul Frazee2023-11-161-1/+11
|
* 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
|