about summary refs log tree commit diff
path: root/src/view/com/util/fab/FABInner.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Fix focus ring shapes (#9005)Samuel Newman2025-09-091-4/+11
| | | | | * fix user avis being the wrong shape * fix the fab being the wrong shape
* Upgrade `@types/react` to 19 and run codemod (attempt 2) (#8918)Samuel Newman2025-09-091-2/+2
| | | | | | | | | | | | | * update dependencies * rm `import type React from 'react'` * run codemods * patch discord types * update types/react-dom * Update yarn.lock
* Leverage jsx transform to remove unnecessary react imports and update eslint ↵Paul Coroneos2024-11-191-1/+1
| | | | | | | | | config (#6516) * update eslint config with jsx runtime * leverage jsx transform to remove unnecessary react imports and update eslint config * run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
* One more haptic tweak (#5979)Samuel Newman2024-10-281-6/+2
| | | | | | | * remove 10ms delay and make light * make like haptic light * same for PostThreadComposePrompt
* Tweak haptics, add to post controls (#5977)Samuel Newman2024-10-281-6/+10
| | | | | | | * change timing to 10ms, make ios only * add haptics to post controls * rm from like button
* FAB - delay followup haptic (#5974)Samuel Newman2024-10-281-9/+8
|
* double haptic (#5886)Samuel Newman2024-10-211-6/+6
|
* use PressableScale for animation (#5541)Samuel Newman2024-09-301-43/+31
|
* Revert change in FAB animation (#5465)Hailey2024-09-241-23/+12
|
* invert the fab animation, play a haptic (#4309)Hailey2024-09-231-6/+30
|
* Add cursor pointer to 'New post' button (#5109)nicofercavv2024-09-061-0/+1
|
* Fix (#4430): Use separate hooks for shell mode animated styles (#4451)Francesco Lodovici2024-06-101-2/+2
| | | | | | | | | * Fix (#4430): Use separate hooks for shell mode animated styles * Consolidate in one file --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* match loadmore position to fab (#4280)Samuel Newman2024-05-301-4/+4
|
* scale down FAB on press (#4259)Samuel Newman2024-05-301-20/+30
|
* properly import linear gradient (#3423)Hailey2024-04-051-1/+1
|
* migrate to `expo-linear-gradient` (#3420)Hailey2024-04-041-6/+7
| | | | | | | | | * replace packages * rm useless alias from webpack config * fix accidental double commit * replace all usages
* New Web Layout (#2126)dan2024-01-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rip out virtualization on the web * Screw around with layout * onEndReached * scrollToOffset * Fix background * onScroll * Shell bars * More scroll * Fixes * position: sticky * Clean up 1 * Clean up 2 * Undo PagerWithHeader changes and fork it * Trim down both versions * Cleanup 3 * Memoize, lint * Don't scroll away modal or lightbox * Add content-visibility for rows * Fix composer * Fix types * Fix borked scroll animation * Fixes to layout * More FlatList parity * Layout fixes * Fix more layout * More layout * More layouts * Fix profile layout * Remove onScroll * Display: none inactive pages * Add an intermediate List component * Fix type * Add onScrolledDownChange * Port pager to use onScrolledDownChange * Fix on mobile * Don't pass down onScroll (replacement TBD) * Remove resetMainScroll * Replace onMainScroll with MainScrollProvider * Hook ScrollProvider to pager * Fix the remaining special case * Optimize a bit * Enforce that onScroll cannot be passed * Keep value updated even if no handler * Also memo it * Move the fork to List.web * Add scroll handler * Consolidate List props a bit * More stuff * Rm unused * Simplify * Make isScrolledDown work * Oops * Fixes * Hook up context scroll handlers * Scroll restore for tabs * Route scroll restoration POC * Fix some issues with restoration * Remove bad idea * Fix pager scroll restoration * Undo accidental locale changes * onContentSizeChange * Scroll to post * Better positioning * Layout fixes * Factor out navigation stuff * Cleanup * Oops * Cleanup * Fixes and types * Naming etc * Fix crash * Match FL semantics * Snap the header scroll on the web * Add body scroll lock * Scroll to top on search * Fix types * Typos * Fix Safari overflow * Fix search positioning * Add border * Patch react navigation * Revert "Patch react navigation" This reverts commit 62516ed9c20410d166e1582b43b656c819495ddc. * fixes * scroll * scrollbar * cleanup unrelated * undo unrel * flatter * Fix css * twk
* Remove deprecated models and mobx usage (react-query refactor) (#1934)Paul Frazee2023-11-161-7/+2
| | | | | | | | | | | | | | | | | | | | | * 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
* Performance optimization (#1676)Ansh2023-10-131-26/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upgrade sentry to support profiling monitoring * remove console logs in production builds * feeds tab bar and bottom bar animation centralized * refactor FeedPage out of Home * add script to start in production mode * move FAB inner to reanimated * move FABInner back to `Animated` RN animation * add perf commands * add testing with Maestro and perf with Flashlight * fix merge conflicts * fix resourceClass name in eas.json * fix onEndReachedThreshold in Feed * memoize styles * go back to old styling for LoadLatestBtn * remove reanimated code from useMinimalShellMode * move shell animations to hook/reanimated for perf * fix empty state issue * make shell animation feel smoother * make shell animation more smooth * run animation with autorun * specify keys for tab bar properly * remove comments * remove already imported dep * fix lint * add testing instructions * mock sentry-expo for jest * fix jest mocks * Fix the load-latest button on desktop and tablet * Fix: don't move the FAB in tablet mode * Fix type error * Fix tabs bar positioning on tablet * Fix types --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Don't re-render bars when showing/hiding them (#1691)dan2023-10-131-7/+10
| | | | | | | * Don't re-render bars when showing/hiding them * Fix more cases * Use autorun instead of reaction to fix first render
* Improve consistency of floating button positioning (#1501)Paul Frazee2023-09-201-19/+8
|
* Give explicit names to MobX observer components (#1413)dan2023-09-071-1/+5
| | | | | | | | | * Consider observer(...) as components * Add display names to MobX observers * Temporarily suppress nested components * Suppress new false positives for react/prop-types
* Updates to use dynamic/responsive styles on web (#1351)Paul Frazee2023-09-051-15/+33
| | | | | | | | | | | | | | | | | | | * Move most responsive queries to the hook * Fix invalid CSS value * Fixes to tablet render of post thread * Fix overflow issues on web * Fix search header on tablet * Fix QP margin in web composer * Fix: only apply double gutter once to flatlist (close #1368) * Fix styles on discover feeds header * Fix double discover links in multifeed
* Refactor the scroll-to-top UXPaul Frazee2023-05-241-1/+1
|
* React Native accessibility (#539)Ollie H2023-05-011-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * React Native accessibility * First round of changes * Latest update * Checkpoint * Wrap up * Lint * Remove unhelpful image hints * Fix navigation * Fix rebase and lint * Mitigate an known issue with the password entry in login * Fix composer dismiss * Remove focus on input elements for web * Remove i and npm * pls work * Remove stray declaration * Regenerate yarn.lock --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Mobile Web (#427)John Fawcett2023-04-121-0/+72
* WIP * WIP * Fix header offset on web * Remove debug * Fix web mobile feed and FAB layout * Fix modals on mobile web * Remove dead code * Remove ios config that shouldnt be committed now * Move bottom bar into its own folder * Fix web drawer navigation and state behaviors * Remove dark mode toggle from web drawer for now * Fix search on mobile web * Fix the logged out splash screen on mobile web * Fixes to detox simulator --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>