about summary refs log tree commit diff
path: root/src/view/com/util
Commit message (Collapse)AuthorAgeFilesLines
...
* [Video] Handle push/pop on Android for autoplay (#5194)Hailey2024-09-063-3/+18
|
* [Video] Add disable autoplay for native, more tweaking (#5178)Hailey2024-09-064-48/+66
|
* Go full width on native and mobile web (#5184)Eric Bailey2024-09-061-3/+8
|
* Remove record-with-media side-by-side layout (#5182)Eric Bailey2024-09-061-42/+11
|
* [Video] More adjustments for loading state jank (#5171)Hailey2024-09-051-43/+47
|
* Constrain image heights in feeds and threads (#5129)Eric Bailey2024-09-056-198/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Limit height of images within posts * Add some future-proofness * Comments, improve a11y * Adjust ALT, add crop icon * Fix disableCrop in record-with-media posts * Clean up aspect ratios, handle very tall images * Handle record-with-media separately, clarify intent using enums * Adjust spacing * Adjust rwm embed image size on mobile * Only do reduced layout if images embed * Adjust gap in small embed variant * Clean up grid layout * Hide badge on small variant with one image * Remove crop icon from image grid, leave on single image * Fix sizing in Firefox * Fix fullBleed variant
* [Video] Use `expo-video` from fork (#5159)Hailey2024-09-051-2/+2
|
* Add quick access to quote action on long press (#5123)Marco Buono2024-09-051-0/+3
|
* [Video] throw HLS errors to be caught by error boundary (#5166)Samuel Newman2024-09-053-19/+55
| | | | | | | | | * throw HLS errors to be caught by error boundary * wording tweak * do the same on native * fix type error
* [Video] Disable autoplay option (preview + web player) (#5167)Samuel Newman2024-09-051-5/+10
| | | | | | | | | * rename setting * preview (web) * preview (native) * improve autoplay disabled behaviour on web
* [Video] Add loading state to player (#5149)Hailey2024-09-042-86/+155
|
* Tweak animation to not roll 0 -> 1, overflow hidden (#5148)Hailey2024-09-041-0/+1
|
* Use new player icon for external video embeds (#5147)Hailey2024-09-041-2/+2
|
* [Video] content fit cover on native (#5140)Samuel Newman2024-09-042-2/+2
|
* [Video] Use same play button for gifs and videos (#5144)Hailey2024-09-042-25/+5
|
* Replace `ImageHorzList` 🤮 with `MediaPreview` ✨ (#5143)Samuel Newman2024-09-041-61/+0
|
* [Video] Throw error when playback fails (#5132)Hailey2024-09-041-0/+9
|
* [Video] Only allow one `VideoView` to be active at a time, regardless of ↵Hailey2024-09-042-9/+25
| | | | source (#5131)
* [Video] Tweak playback handling (#5127)Hailey2024-09-042-10/+26
|
* reset playback rate on exit fullscreen (#5116)Samuel Newman2024-09-031-0/+1
|
* [Video] Toggle controls when entering fullscreen (#5113)Hailey2024-09-031-1/+4
|
* Only animate the like icon when from an actual toggle (#5096)Hailey2024-09-031-5/+8
|
* show video in quote (#5093)Samuel Newman2024-09-032-2/+11
|
* [Video] Manage foreground/background playback on the native side (#5104)Hailey2024-09-031-25/+4
|
* [Video] Hide mouse when inactive (#5094)Samuel Newman2024-09-031-11/+33
|
* Improve animations for like button (#5074)Hailey2024-09-021-247/+7
|
* [Video] Misc player style tweaks (#5064)Samuel Newman2024-09-024-20/+22
| | | | | * use actual black rather than theme black * adjust time/mute indicators
* [Video] Remove hack from scrubber (#5063)Samuel Newman2024-09-021-15/+3
| | | | | * remove mouseleave, add pointer cancel * don't show time indicator if duration is 0
* Animate the like button (#5033)dan2024-08-301-23/+248
| | | | | | | | | | | | | | | | | * Animate the like button * Respect reduced motion * Move like count into animated component * Animate text * Fix layout on Android * Animate text backwards too * Fix bad copypasta * Reflect nonlocal updates to animated values
* [Video] Split 'videos' gate in two (#5037)Samuel Newman2024-08-302-2/+2
|
* [Video] Minor player tweaks (#5044)Samuel Newman2024-08-301-3/+1
|
* [Video] Captions and alt text (#5009)Samuel Newman2024-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * video settings modal in composer * show done button on web * rm download options * fix logic for showing settings button * add language picker (wip) * subtitle list with language select * send captions & alt text with video when posting * style "ensure you have selected a language" text * include aspect ratio with video * filter out captions where the lang is not set * rm log * fix label and add hint * minor scrubber fix
* Composer blocks (#5040)Eric Bailey2024-08-301-0/+35
| | | | | | | * Move i18n provider up the stack * Protect composer opening for a blocked post * Protect ctrls from interacting with blocked user
* Tweak rendering of top headers so they always appear even during load (#4982)Hailey2024-08-301-1/+1
| | | | Co-authored-by: Eric Bailey <git@esb.lol>
* Localize dates, counts (#5027)Eric Bailey2024-08-297-40/+37
| | | | | | | | | | | | | | | | | | | | | | | * refactor: consistent localized formatting * refactor: localized date time * refactor: localize relative time with strings * chore: fix typo from copy-paste * Clean up useTimeAgo * Remove old ago * Const * Reuse * Prettier --------- Co-authored-by: Mary <git@mary.my.id>
* [Video] Add uploaded video to post (#4884)Samuel Newman2024-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | * video uploads! * use video upload lexicons * add missing postgate * remove references to prerelease package * fix scrubber showing a "0" * Delete types.ts * rm logs * rm upload header --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] Add `timeRemainingChange` event to `player` in `expo-video` (#5013)Hailey2024-08-291-48/+38
|
* [Video] Lexicon implementation (#4881)Samuel Newman2024-08-295-64/+146
| | | | | | | | | | | | | | | | | | | | | | | | | * implement AppBskyEmbedVideo lexicon in player * add alt to native player * add prerelease package * update prerelease * add video embed view manually from record * fix type error on example video * black bg + use aspect ratio on web * add video to feeds * fix video overflowing aspect ratio * remove prerelease package --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] 🫧 Move logic around by platform (#5003)Hailey2024-08-287-93/+75
|
* add indicator of time remaining (#5000)Samuel Newman2024-08-273-35/+58
|
* [Video] add scrubber to the web player (#4943)Samuel Newman2024-08-261-112/+380
|
* Use moderatePost_wrapped for post embeds (#4981)Eric Bailey2024-08-231-2/+2
| | | | | * Use moderatePost_wrapped * Add lint rule
* Revert "Make settings account buttons a little nicer" (#4987)Hailey2024-08-231-42/+36
|
* Optimistic hidden replies (#4977)Eric Bailey2024-08-231-7/+5
|
* Make settings account buttons a little nicer (#4980)Eric Bailey2024-08-221-36/+42
| | | | | | | | | | | * Replace account dropdown with Menu * Replace card row and add interaction state * Remove testID copy pasta * Sanitize handle * Remove hover from row
* Fix fixed footer experiment (#4969)dan2024-08-221-12/+41
| | | | | | | | | | | | | | | | | * Split minimal shell mode into headerMode and footerMode For now, we'll always write them in sync. When we read them, we'll use headerMode as source of truth. This will let us keep footerMode independent in a future commit. * Remove fixed_bottom_bar special cases during calculation This isn't the right time to determine special behavior. Instead we'll adjust footerMode itself conditionally on the gate. * Copy-paste setMode into MainScrollProvider This lets us fork the implementation later just for this case. * Gate footer adjustment in MainScrollProvider This is the final piece. Normal calls to setMode() keep setting both header and footer, but MainScrollProvider adjusts the footer conditionally.
* Prep threadgate shadow hack (#4970)Eric Bailey2024-08-211-1/+1
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Detached QPs and hidden replies (#4878)Eric Bailey2024-08-215-25/+304
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Show quote posts (#4865)Samuel Newman2024-08-211-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * show quote posts * fix filter * fix keyExtractor * move likedby and repostedby to new file structure * use modern list component * remove relative imports * update quotes count after quoting * call `onPost` after updating quote count * Revert "update quotes count after quoting" This reverts commit 1f1887730a210c57c1e5a0eb0f47c42c42cf1b4b. * implement * update like count in quotes list * only add `onPostReply` where needed * Filter quotes with detached embeds * Bump SDK * Don't show error for no results --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Add `list hidden` screen (#4958)Hailey2024-08-202-35/+13
| | | | | Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>