| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* basic bumps
* more tweaking
* fix rn patch
* fix crop picker patch
* fix media library patch
* rm unnecessary patch
* fix notifications patch
* update bottomsheet
* Update withAppDelegateReferrer.js
* Delete withNoBundleCompression.js
* rm withNoBundleCompression plugin
* rm findLast shim
* metro package exports is enabled by default
* update react/react-dom/react-compiler
* fix reanimated issue
* vendor expo-ized emoji popup
* fix types
* hackfix view full thread
* Update EmojiPickerModule.podspec
* more upgrades
* fix multiformats package version
* add baseurl
* bump mmkv
* bumps
* update react-keyed-flatten-children
* bump locale packages
* fix emoji picker dark mode
* rn upgrades
* Revert "bump locale packages"
This reverts commit fc82f0f173032127dd7c18ed0316ae26f53db51d.
* upgrade testing-library
* rm test renderer
* update patch name minors
* rm findNodeHandle from tabbar
* only do scrollview tag thing on ios
* disable package exports
* update expo notifications handler
* memoize emoji picker styles
* fix tests, mock multiformats
* bump some dev deps with RC versions
* completely rearchitect toasts
* rm logs
* layout animation config for composer footer
* disable autolinking for patched libs
* undo lingui changes
* version bump from release candidate to 0.1
* update atproto deps
* rm @did-plc/server
* fix key issue (maybe)
* move URL polyfill to the polyfill file
* fix yarn lock
* upgrade to 53.0.3
* reanimated layout anim bug patch
* workletize a function that wasn't getting autoworkletized anymore (#8309)
* bump to expo 53.0.4
* bump RN to 0.79.2
* fix yarn lock ci
* Revert "completely rearchitect toasts"
This reverts commit 2e2fcaeeed527580a6c485718544b85e8b4f52b9.
* final upgrades
* chore: cleanup yarn lock
* prettier
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unlock orientation when lightbox is open
* rm outer safe area view, make sure alt text is safe
* restore safe area view for android 14 and below
* lock orientation on launch for android
* set system ui background to black when lightbox is open
* reset state on relayout
* catch async functions with noops
* rm superfluous catches
* Delay unlock until after animation
* Simplify how key is determined
* Make landscape backdrop opaque
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
* Show unknown aspect as "contain" for autosize
* Fix a flash of wrong position when opening in lightbox
* Fix last frame flash on Android
|
|
|
|
|
|
|
| |
* Fix lightbox getting stuck by fixing rAF order
If you spam opening lightbox too fast, the effect that calls rAF will clean up and set up again midflight. Unfortunately, due to rAF order being unreliable, it may fire in reverse order, causing "open, open, close" instead of "open, close, open", so it would get stuck closed. This fixes the rAF order.
* Don't allow opening another lightbox while it's open
|
|
|
|
|
|
|
| |
* lightbox status bar
* add hideTransitionAnimation="slide"
* move navigation bar logic to util
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactor imageitem useanimatedreaction logic
* revert copy/paste fix
* revert last commit
* Fix conditions
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert lightbox to get/set
* Work around software-mansion/react-native-reanimated#6613
* Use get/set in more places
* Port MainScrollProvider to get/set
* Port more to get/set
* Port composer to get/set
* Remove unnecessary thread hops in composer
* Port more things to get/set
* Convert more to get/set, remove redundant runOnJS
* Convert remaining cases to get/set
|
|
|
|
|
| |
* [Lightbox] Make the animation faster
* Make it faster on Android too
|
| |
|
|
|
|
|
|
|
|
|
| |
* Tweak lightbox springs
* Speed up dismiss speed
* Don't scroll to top while active lightbox
* Make Android a bit faster
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Inline useImageAspectRatio
* Switch AutoSizedImage to read dimensions from Expo Image cache
* Include thumbnail dimensions in image data
* Use dims from Expo Image cache in lightbox
* Fix wiring so all thumbnails get dimensions
* Fix type
* Oops
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Measure all rects for embeds
* Measure avi rects too
* Animate lightbox in and out
* Account for safe area in the animation
* Tune spring times
* Remove null checks for measurements
* Remove superfluous view
* Block swipe while opening
* Interpolate width/height on native side for Android
* Make it fast by animating only affine transforms
* Fix tall image final state
The initial animation frame is still off on both platforms.
* Try to squeeze perf
* Avoid blank images during animation on iOS
* Fix bad rebase
* Fix a huge memory issue due to expo/expo#24894
* Fix last frame flash
* Fix thum dim calculation for tall images
|
|
|
|
|
|
|
| |
* Add early exit guards once the gesture is over
* Work around the Reanimated bug
* Move derived reaction upwards to avoid duplicating it
|
|
|
|
|
|
|
|
|
|
|
| |
* Preserve shape in lightbox
* Rename shapes to semantic meanings
It looks like after all I do want to fork based on those.
* Round avatars on the web
* Oops
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make iOS scrollview bounded to the image
I've had to remove the dismiss handling because the scroll view no longer scrolls at rest.
* Fix double-tap not working right after a vertical swipe
It seems like for some reason the vertical swipe is still being handled by the scroll view, so double tap gets eaten while it's "coming back". But you don't really see it moving. Weird.
* Add an intermediate LightboxImage component
* Hoist useImageDimensions up
* Implement xplat dismiss gesture
This is now shared between platforms, letting us animate the backdrop and add a consistent "fly away" behavior.
* Optimize Android compositing perf
* Fix supertall images
For example, https://bsky.app/profile/schlagteslinks.bsky.social/post/3l7y4l6yur72e
* Fix oopsie
|
|
|
|
|
| |
* [Lightbox] Set 2 as minimal allowed zoom level on iOS
* Fix both Android and iOS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Assign an ID to lightbox and use it as a key
* Consolidate lightbox props into an object
* Remove unused prop
* Move SafeAreaView declaration
* Keep SafeAreaView always mounted
When exploring Android animation, I noticed its content jumps on the first frame. I think this should help prevent that.
* Pass safe area down for measurement
* Remove dependency on SCREEN in Android event handlers
* Remove dependency on SCREEN in iOS event handlers
* Remove dependency on SCREEN on iOS
* Remove dependency on SCREEN on Android
* Remove dependency on JS calc in controls
* Use flex for iOS layout
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor lightbox footer to render prop
* Unify lightbox types
* Unindent
* Refactor LightboxFooter props
* Move LightboxFooter into the implementation file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove useless memo
* Use explicit values when useImageAspectRatio doesn't know
It's not very good that you can't distingiush when we haven't loaded vs when we're certain. This shifts the burden of dealing with missing values to the caller.
* Check cache early
* Handle src change
* Rewrite image-sizes.fetch to avoid mixing async styles
* Make image-sizes LRU
Code is copy paste from useImageDimensions.ts
* Rm unused fields
* Derive aspect on the fly
* Factor useImageDimensions out of useImageAspectRatio
* Move useImageDimensions into image-sizes
* Make lightbox use the same cache
* Wire up known dimensions to the lightbox
* Handle division by zero in the hook
* Use safe aspect for lightbox calculations
|
| |
|
|
|
|
|
| |
* Measure image on press
* Pass dimensions to the lightbox component
|
|
|
|
|
| |
* Mark import sort/order/style rules as error
* npm run lint -- --fix
|
|
|
|
|
|
|
|
|
|
|
| |
* Plumb thumbUri down to the lightbox
* Remove onLoad tracking from lightbox
* Hook up placeholder URI to the image
* Fix NaN causing crash on double tap while offline
* Protect against NaNs in the future
|
| |
|
| |
|
|\
| |
| |
| | |
https://github.com/alexkuz/social-app into alexkuz-web-fix-fonts-and-image-box
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Ansh <anshnanda10@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* install and setup lingui
* setup dynamic locale activation and async loading
* first pass of automated replacement of text messages
* add some more documentaton
* fix nits
* add `es` and `hi`locales for testing purposes
* make accessibilityLabel localized
* compile and extract new messages
* fix merge conflicts
* fix eslint warning
* change instructions from sending email to opening PR
* fix comments
|
|
|
|
|
|
|
| |
* Make the lightbox controls animation smoother
* Toggle controls on tap
* Disable pointer events when hidden
|
|
|
|
|
| |
* Port remaining lightbox code to Reanimated
* Fix memoization
|
|
|
|
|
| |
* Fix MobX crash for Android lightbox
* Reorder props to match between forks
|
|
|
|
|
|
|
|
|
| |
* Change lightbox to use Pager
* Fix crash issue on ios
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
* Remove dead code from lightbox
* Rename imageIndex prop to initialImageIndex
* Rename currentImageIndex to imageIndex
|
|
|
|
|
| |
* Remove unnecessary transform logic
* Switch iOS swipe-to-dimiss to Reanimated
|
| |
|