about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* Set show_follow_suggestions_in_profile to true (#5205)dan2024-09-071-7/+1
|
* [Statsig] Add more events to downsample, increase downsample rate (#5198)Hailey2024-09-072-4/+4
| | | | | | | | | * add some events for sampling * include downsample rate in metadata * fix metadata logic * uncomment debug
* Fix starter packs scroll (#5190)Igor Adrov2024-09-061-1/+1
|
* Redesign play button (#5192)Eric Bailey2024-09-061-6/+29
|
* Constrain image heights in feeds and threads (#5129)Eric Bailey2024-09-052-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] require email to post videos (#5152)Samuel Newman2024-09-051-2/+5
| | | | Co-authored-by: Hailey <me@haileyok.com>
* [Video] Add loading state to player (#5149)Hailey2024-09-041-0/+1
|
* Ensure profile labels can be appealed separately from account labels (#5154)Eric Bailey2024-09-042-21/+11
|
* [Video] Use same play button for gifs and videos (#5144)Hailey2024-09-042-3/+31
|
* Replace `ImageHorzList` 🤮 with `MediaPreview` ✨ (#5143)Samuel Newman2024-09-041-0/+169
|
* [Experiment] Suggest profiles in profile (#5030)dan2024-08-301-4/+56
| | | | | | | | | | | | | | | * Rename variable to disambiguate with parent scope * More variables where they are used * Inline variables * Add suggestions in profile * Gate it * rm space * Remove header suggestions under gate
* Improve localization (#5008)Minseo Lee2024-08-301-14/+18
| | | | | * Update QrCode.tsx * Update generate-starterpack.ts
* Localize dates, counts (#5027)Eric Bailey2024-08-295-24/+15
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix hashtag screen side borders (#4983)Hailey2024-08-291-1/+1
|
* [Video] add scrubber to the web player (#4943)Samuel Newman2024-08-261-2/+2
|
* Submit fix (#4978)dan2024-08-221-1/+1
| | | | | | | | | | | | | | | * Fix submit logic * Fix type * Align submit task creation 1:1 with callsites * blegh. `useThrottledValue` * make `useThrottledValue`'s time required --------- Co-authored-by: Hailey <me@haileyok.com>
* Change size (#4957)Hailey2024-08-213-12/+27
|
* Detached QPs and hidden replies (#4878)Eric Bailey2024-08-217-390/+707
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Fix hidden list for author (#4968)Eric Bailey2024-08-211-1/+1
|
* Add `list hidden` screen (#4958)Hailey2024-08-204-36/+137
| | | | | Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Expose more methods, support disabled items (#4954)Eric Bailey2024-08-194-25/+71
|
* Expose more props from button (#4953)Eric Bailey2024-08-191-25/+55
|
* Revert "[Video] Download videos" (#4945)Hailey2024-08-152-219/+0
|
* [Video] Download videos (#4886)Hailey2024-08-152-0/+219
| | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Embed] Starter pack embed embed (#4935)Samuel Newman2024-08-141-7/+14
| | | | | | | | | | | | | | | | | * update @atproto/api * add starter pack embed * update depreciated BskyAgent to AtpAgent * unrelated, but avoid direct import of type * nits * rm commented out code --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Remove .withProxy() calls (#4929)dan2024-08-132-53/+25
|
* Improve styles (#4916)Minseo Lee2024-08-113-22/+7
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Fix `occurred` typo (#4919)Shubh Porwal2024-08-111-1/+1
| | | | Co-authored-by: Hailey <hailey@blueskyweb.xyz>
* Fix overflow on posts (#4899)Samuel Newman2024-08-081-20/+2
| | | | | | | | | | | | | | | | | * 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>
* Include follow-based suggestions in interstitial (#4889)dan2024-08-081-2/+12
|
* Include popcluster in suggestion ranking (#4887)dan2024-08-081-4/+6
|
* [Videos] Video player - PR #2 - better web support (#4732)Samuel Newman2024-08-074-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* tweak list header (#4870)Samuel Newman2024-08-031-2/+10
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Respect labels on feeds and lists (#4818)Eric Bailey2024-08-021-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prep * Pass in optional moderation to FeedCard * Compute moderation decision, filter contentList contexts, pass into card * Let's go a different route * Filter from within search queries * Use same search query for starter packs * Filter lists from profile tabs * Cleanup * Filter from profile feeds * Moderate post embeds * Memoize * Use ScreenHider on lists * Hide both list types * Fix crash on iOS in screen hider, fix lineheight * Memoize renderItem * Reuse objects to prevent re-renders
* Move theme controls to its own screen (#4866)Samuel Newman2024-08-013-1/+11
|
* Update muted words dialog with `expiresAt` and `actorTarget` (#4801)Eric Bailey2024-08-014-122/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP not working dropdown * Update MutedWords dialog * Add i18n formatDistance * Comments * Handle text wrapping * Update label copy Co-authored-by: Hailey <me@haileyok.com> * Fix alignment * Improve translation output * Revert toggle changes * Better types for useFormatDistance * Tweaks * Integrate new sdk version into TagMenu * Use ampersand Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Bump SDK --------- Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Make label required in link components (#4844)Eric Bailey2024-07-252-9/+7
|
* Boolean filter improvement alternative: TS upgrade (#4840)Dmitrii Kartashev2024-07-261-1/+3
| | | | | * upgrade typescript and use new feature * fix: typing error
* Add label to profile card (#4843)Eric Bailey2024-07-252-7/+21
|
* Add labels in feed card (#4836)Eric Bailey2024-07-251-3/+7
|
* Add labels to mod details dialog (#4839)Eric Bailey2024-07-251-3/+10
|
* Add labels to a few missing places (#4838)Eric Bailey2024-07-254-6/+18
|
* Add labels in list card (#4837)Eric Bailey2024-07-251-3/+3
|
* [Videos] Video player - PR #1 - basic player (#4731)Samuel Newman2024-07-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add ffmpeg-kit-react-native * get select video button + compression working * up res to 1080p * add progress component * move logic out of compressVideo * (WIP) add lonestar compression * rework web compression a bit * mess around with adding a thumbnail * 3mbps * replace * use 3mbps * add expo-video * remove unnecessary try/catch * rm ToastAndroid * fix web * wrap lazy component in suspense * gate video select button * rm web compression * flip sign * remove expo-video from web * review nits * add video picker permissions + rm temp buttons * add ffmpeg-kit-react-native * replace * hls-capable player * start trying to hoist up video player instance * hoist video player and move things around * always show native controls * fix controls on expo video android * gate temp video player in feed * rm IS_DEV, doesn't do what I thought it did * use __DEV__ instead --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Priority notifications (#4798)Samuel Newman2024-07-243-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * new settings screen * bring back the spinner * add experimental language * fix typo, change leading * integrate priority notifications API * update package * use refetch instead of invalidateQueries * fix read-after-write issue by polling for update * add spinner for initial load * rm onmutate, it's overcomplicated * set error state eagerly * Change language in description Co-authored-by: Hailey <me@haileyok.com> * prettier * add `Toggle.Platform` * extract out mutation hook + error state * rm useless cache mutation * disambiguate isError and isPending * rm unused isError --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* swap flex-start/end (#4815)Samuel Newman2024-07-231-2/+2
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Fix switch style and animate (#4814)Samuel Newman2024-07-231-14/+17
| | | | | | | | | | | | | | * set height to 20+(2*hairline) * animate switch * Try to align on line height across platforms * Use border 1px --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-2313-20/+32
| | | | | | | | | | | | | * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Create shared preferences API (#4654)Hailey2024-07-111-9/+5
|
* [ALF] Theme & palette cleanup (#4769)Eric Bailey2024-07-118-72/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Invert primary scale * Invert negative palette * Replace theme specific styles in Toggle * Remove theme specific colors from Button, improves secondary solid on dark mode * TextField * Remove from MessageItem * Threadgate editor * IconCircle * Muted words * Generate themes from hues * Cleanup * Deprecate more values, fix circular import * Invert positive too, hardly use * Button tweaks, some theme diffs * Match disabled state for negative button * Fix unread noty bg