about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
...
* Profile screen performance tweak - Adjust initial num to render based on ↵Hailey2024-08-291-2/+3
| | | | header height (#5005)
* [Video] Make compress/upload cancelable (#4996)Samuel Newman2024-08-293-17/+10
| | | | | | | * add abort controller to video upload system * rm log * rm log 2
* [Video] Add uploaded video to post (#4884)Samuel Newman2024-08-292-2/+3
| | | | | | | | | | | | | | | | | | | | | * 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-297-82/+169
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Hide quote counts for quotegated posts (#5011)Eric Bailey2024-08-281-1/+3
|
* [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
|
* Release 1.90 prep (#4988)Paul Frazee2024-08-231-0/+2
| | | | | | | | | * Stop creating a mod-authority in e2e due to upstream conflict * Dont require 3 interests when none come back * Fix e2e login * intl extract
* 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-234-76/+39
|
* 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.
* Fetch it (#4974)Eric Bailey2024-08-221-4/+2
|
* Prep threadgate shadow hack (#4970)Eric Bailey2024-08-213-21/+22
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Detached QPs and hidden replies (#4878)Eric Bailey2024-08-2113-80/+564
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Show quote posts (#4865)Samuel Newman2024-08-216-9/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-204-239/+32
| | | | | Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Fix orphaned feed slices, handle blocks (#4944)Eric Bailey2024-08-192-3/+20
| | | | | | | | | | | * Fix orphaned feed slices, handle blocks * Revert to filerting out orphan threads * Support NotFoundPost views too * Just kidding, use ReplyRef.root as source of grandparent data * Fixes
* Move global "Sign out" out of the current account row (#4941)dan2024-08-152-23/+39
| | | | | | | | | | | | | | | | | | | | | | | * Rename logout to logoutEveryAccount * Add logoutCurrentAccount() * Make all "Log out" buttons refer to current account Each of these usages is completely contextual and refers to a specific account. * Add Sign out of all accounts to Settings * Move single account Sign Out below as well * Prompt on account removal * Add Other Accounts header to reduce ambiguity * Spacing fix --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* swap control files (#4936)Samuel Newman2024-08-144-592/+579
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] set audio category to ambient every time a new player is made (#4934)Samuel Newman2024-08-143-1/+11
| | | | | | | | | | | | * set auto category to ambient every time a new player is made * mute on foregrounding * remember previous state --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* [Video] Try/catch video play/pause (#4930)Samuel Newman2024-08-132-7/+21
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] Fix crash when switching tabs (#4925)Hailey2024-08-121-19/+4
|
* [Video] Invert usage of `setAudioActive` (#4924)Hailey2024-08-121-2/+2
|
* Fix Android composer cursor bug by removing `setTimeout` from native ↵Hailey2024-08-121-57/+45
| | | | composer `onChangeText` (#4922)
* Improve styles (#4916)Minseo Lee2024-08-115-13/+4
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Mark string for localization (#4920)surfdude292024-08-111-1/+4
|
* [Video] Resume background audio whenever muting video audio (#4915)Hailey2024-08-091-3/+3
|
* [Videos] Add error boundary to native (#4914)Samuel Newman2024-08-103-64/+116
| | | | | | | | | * move error fallback to own component * use error boundary on native --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Videos] handle app backgrounding (#4912)Samuel Newman2024-08-091-7/+36
| | | | | | | | | | | | | * play when returning from background * play when unfullscreening * play when entering fullscreen, just to be sure * state -> ref --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* animate controls + fade out time after a while (#4913)Samuel Newman2024-08-091-28/+40
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] More tweaks to `AVAudioSession` options (#4910)Hailey2024-08-091-6/+15
|
* [Video] Prevent pausing of background audio with `expo-video` on iOS (#4908)Hailey2024-08-091-2/+14
| | | | | | | | | | | | | | | | | * audio mixing pref * lint * patch expo video to add enter/exit fullscreen events * rm logs * fix audio problems * toggle mute when enter/exiting fullscreen --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] more minor tweaks (#4906)Samuel Newman2024-08-091-9/+67
| | | | | | | | | | | | | * update expo-video * pause when on a different screen * rm collapsable * add mute/unmute button --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] Bundle of minor tweaks (#4904)Samuel Newman2024-08-093-31/+45
| | | | | | | | | | | | | * fix bg color * unique video urls for debug * improve controls slightly * mute until fullscreen --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Show just-posted replies above OP replies (#4901)dan2024-08-083-7/+32
| | | | | | | | | * Unify onPostReply handler * Show just-posted replies above OP replies * Only do this for the highlighted post or thread mode It's confusing to have your post displace OP thread or other people's leaf posts.
* Remove show_avi_follow_button (#4900)Eric Bailey2024-08-081-3/+1
|
* Remove native_pwi_disabled (#4896)Eric Bailey2024-08-081-48/+2
| | | | | * Remove native_pwi_disabled * Remove search button
* Fix overflow on posts (#4899)Samuel Newman2024-08-085-11/+12
| | | | | | | | | | | | | | | | | * overflow posts, via contentHider * margin->padding for a bit more leeway * overflow notifications * overflow on header * revert from contenthider, put on text in all places * fix zalgo text in handle in composer --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Move onPressReply into child component (#4898)dan2024-08-082-11/+29
| | | | | * Move ComposePrompt to post-thread/ * Move onPressReply into child component
* Remove ungroup_follow_backs gate (#4893)Eric Bailey2024-08-081-3/+1
|
* Remove unnecessary state update for reply gate (#4897)dan2024-08-081-12/+36
| | | | | | | * Move mobile compose prompt to inner component * Make canReply computed * Use same clamp we use elsewhere
* Cleanup flags (#4891)dan2024-08-082-12/+3
| | | | | * Remove launched gates * Remove disabled gates
* ALF suggested follows in profile header (#4828)Eric Bailey2024-08-081-229/+150
| | | | | | | | | * Refactor ProfileHeaderSuggestedFollows * Load fresh data every time * Oops, missed a file * Update ProfileCard.Link usage, tweak copy
* Keep interstitial fresh on refresh (#4888)dan2024-08-081-3/+5
|
* [Video] Visibility detection view (#4741)Hailey2024-08-0713-176/+151
| | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Videos] Video player - PR #2 - better web support (#4732)Samuel Newman2024-08-0711-82/+973
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * attempt some sort of "usurping" system * polling-based active video approach * split into inner component again * click to steal active video * disable findAndActivateVideo on native * new intersectionobserver approach - wip * fix types * disable perf optimisation to allow overflow * make active player indicator subtler, clean up video utils * partially fix double-playing * start working on controls * fullscreen API * get buttons working somewhat * rm source from where it shouldn't be * use video elem as source of truth * fix keyboard nav + mute state * new icons, add fullscreen + time + fix play * unmount when far offscreen + round 2dp * listen globally to clicks rather than blur event * move controls to new file * reduce quality when not active * add hover state to buttons * stop propagation of videoplayer click * move around autoplay effects * increase background contrast * add subtitles button * add stopPropagation to root of video player * clean up VideoWebControls * fix chrome * change quality based on focused state * use autoLevelCapping instead of nextLevel * get subtitle track from stream * always use hlsjs * rework hls into a ref * render player earlier, allowing preload * add error boundary * clean up component structure and organisation * rework fullscreen API * disable fullscreen on iPhone * don't play when ready on pause * debounce buffering * simplify giant list of event listeners * update pref * reduce prop drilling * minimise rerenders in `ActiveViewContext` * restore prop drilling --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>