about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | PWI: Profile (#1982)dan2023-11-233-102/+126
| | | | | | | | | | | | | | * PWI: Profile * Show replies conditionally * Dismiss modals on auth action
* | Fixes 1731, compare URLs case-insensitive (#1980)Eric Bailey2023-11-221-5/+20
| |
* | [PWI] Clean up logged out screen (#1978)Eric Bailey2023-11-224-80/+98
| | | | | | | | | | * Clean up logged out screen * Better responsive styles
* | [PWI] Misc (#1977)Eric Bailey2023-11-226-71/+99
| | | | | | | | | | | | | | * PostDropdownBtn * Hide reply prompt * Hide FABs
* | Implement "scroll to top" for profile tabs (#1973)dan2023-11-224-177/+271
| | | | | | | | | | | | | | | | | | * Hook up scroll to top handlers * Scroll and invalidate Feeds/Lists * Fix index calc due to conditional tabs * Reorder lines for clarity
* | [PWI] Feeds (#1970)Eric Bailey2023-11-212-39/+49
| | | | | | | | | | | | | | * Feeds page * Hide save buttons on Feeds page * ProfileFeed
* | Search page (#1969)Eric Bailey2023-11-211-6/+51
| |
* | [PWI] Shell (#1967)Eric Bailey2023-11-219-289/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sidebars * Bottom bar * Drawer * Translate * Spacing fix * Fix responsive regression * Fix nit
* | Shadow refactoring and improvements (#1959)dan2023-11-2127-203/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make shadow a type-only concept * Prevent unnecessary init state recalc * Use derived state instead of effects * Batch emitter updates * Use object first seen time instead of dataUpdatedAt * Stop threading dataUpdatedAt through * Use same value consistently
* | 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
| |