| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* further increase target area of scrubber
* make scrubber bigger if touch device
---------
Co-authored-by: Antonio Sarcevic <sarcevicantonio@gmail.com>
|
|
|
| |
This reverts commit 94e7bfbe40ba6766361caaba99feff74a187613a.
|
|
|
|
|
| |
* fix labels and make more detailed
* move overall label to parent
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* remove layout animations from video
* only show button/spinner when necessary
* use native activityindicator rather than loader
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Add subtle web hover to interactive rows
* Adjust numbers
* Ignore touch devices
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Refactor lightbox model to plain object
* Rename name to type
|
|
|
|
|
| |
* remove auto level capping
* flush first fragment on loop
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Display non-post embeds in composer preview
* Remove starter pack special case from ExternalLinkEmbed
This should not be needed because starter pack composer preview now goes through the record preview codepath, just like in the feed/post view.
* Hide record ext links if quote is present
* Align remove buttons
Remove the implicit top padding in record embeds and make it conditional, which is similar to how we treat external link embeds. This makes the X button appear in the same place for record embeds as with links.
|
|
|
|
|
|
|
| |
* Include hydrated responses for other records
* Rename meta -> view
This is actually all it is now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New link card styles
* Cleanup of consituent parts, add hover state
* Fix gif alt text view
* Fix alt text view more
* Remove dupe
* Update remove button
* Remove added margin on gif
|
|
|
|
|
| |
Co-authored-by: Mary <git@mary.my.id>
Co-authored-by: Hailey <me@haileyok.com>
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Support emoji in text with custom font
* Add emoji support to elements that need it
* Remove unused file causing lint failure
* Add web only link variant
* Refactor PostMeta
* Reduce avi size in feeds
* Fix alignment, emoji, in PostMeta
* Smaller avis in notifications
* Shrink post placeholder avi
* Handle the handle again
* Link cleanup
* Cleanup unused props
* Fix text wrapping in timestamp
* Fix underline color
* Tighten up spacing
* Web only whiteSpace
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Extract HLS interop into useHLS
* Rename variable
* Move flushing outside an effect
* use continue instead of return
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Update VideoEmbedInnerWeb.tsx
* keep proper track and flush properly
* consistent current
* use current in listener
* manually loop
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Support emoji in text with custom font
* Add emoji support to elements that need it
* Remove unused file causing lint failure
* Fix a few more emoji locations
* Couple more
* No throw
|
|
|
|
|
|
|
| |
* use pressable for video controls
* add `as any` to preexisiting bad type
* stop mutating prop
|
|
|
|
|
|
|
| |
* Align all font weights
* Only load necessary fonts
* Also comment out from hook
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tweak image styles
* fix reply image preview and covert to atoms
* increase rounding on media inset border
* decrease gap on desktop
* fix inset styles
* increase rounding on embeds to `md`
* Couple edge cases
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
|
|
|
|
| |
* Re-align button sizing
(cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec)
* Use large, small, tiny
(cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0)
* Tweaks
|
|
|
|
|
| |
* fix ext embeds in DMs
* undo acciental rounding change
|
|
|
|
|
|
|
| |
* rm unused code
* bump lib
* invert bool
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* split up VideoWebControls
* add basic slider
* logarithmic volume
* integrate mute state
* fix typo
* shared video volume
* rm log
* animate in/out
* disable for touch devices
* remove flicker on touch devices
* more detailed comment
* move into correct context provider
* add minHeight
* hack
* bettern umber
---------
Co-authored-by: Hailey <me@haileyok.com>
|
|
|
|
|
| |
* put padding on correct element
* clear timeout on down
|
|
|
|
|
|
|
|
|
| |
* Remove overflow hidden
* Borders when no thumb
* Fix overflow, add bg to no-thumb state
* Cleanup
|
|
|
|
| |
Co-authored-by: Hailey <me@haileyok.com>
|
| |
|
|
|
|
| |
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Image/video border (#5253)
* Update AutoSizedImage.tsx
* Update AutoSizedImage.tsx
* Update Gallery.tsx
* Update ExternalLinkEmbed.tsx
* Update MediaPreview.tsx
* Update UserAvatar.tsx
* Update ExternalLinkEmbed.tsx
* Update ExternalPlayerEmbed.tsx
* Update ExternalGifEmbed.tsx
* Update GifEmbed.tsx
* Update ExternalGifEmbed.tsx
* Update GifEmbed.tsx
* Update UserAvatar.tsx
* Update ExternalPlayerEmbed.tsx
* Update ExternalPlayerEmbed.tsx
* video
* Update QuoteEmbed.tsx
* Tweaks, abstract components
---------
Co-authored-by: Minseo Lee <itoupluk427@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|