about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix Gif Select dialog search bar scrolling away (#8874)Samuel Newman2025-08-254-16/+24
| | | | | | | | | | * fix flatlist dialogs on web * tweak gif select dialog, add style prop to textfield
* | add content hider padding (#8843)Samuel Newman2025-08-251-3/+9
| |
* | Update DM header to match new Layout style (#8846)Samuel Newman2025-08-253-125/+88
| |
* | Fix alt text in media preview (#8854)Samuel Newman2025-08-241-5/+3
| |
* | [LEG-246] Geo overlay (#8881)Eric Bailey2025-08-223-1/+233
| | | | | | | | | | | | | | | | | | | | | | * Add AgeBlockedGeo * Add MaxMind usage text * Add geo overlay --------- Co-authored-by: rafael <rafael@blueskyweb.xyz>
* | rearrange translation logic (#8880)surfdude292025-08-221-6/+13
| |
* | Merge pull request #8875 from ↵jim2025-08-211-1/+1
|\ \ | | | | | | | | | | | | internet-development/caidan/app-1406-follow-suggestions-card-to-show-follow-back [APP-1406] follow suggestions card to show follow back
| * | refactor: all uses of "Follow Back" to "Follow back"Caidan Williams2025-08-211-1/+1
| | |
| * | fix: capitalization of "Follow back" to "Follow Back"Caidan Williams2025-08-211-1/+1
| | |
| * | fix: show 'Follow back' label if user is followed by profileCaidan Williams2025-08-211-1/+1
| | | | | | | | | | | | | | | Updated ProfileCard.FollowButton label to display 'Follow back' when the current user is followed by the profile being viewed.
* | | refactor: replace View with Button in ViewMoreCard for consistent colors ↵Caidan Williams2025-08-211-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | across themes Updated ViewMoreCard to use a Button component instead of a styled View for the 'View more' action. This improves accessibility and consistency with other interactive elements in TrendingVideos.
* | | refactor: extract ViewMoreCard from VideoCards componentCaidan Williams2025-08-211-47/+55
|/ / | | | | | | | | | | | | | | Moved the 'View more' card logic into a separate ViewMoreCard component for better separation of concerns and readability. Updated imports to use named React hooks instead of React namespace. To modernise this old component per the new guidelines.
* | [APP-1357] profile header follow recommendations (#8784)Caidan2025-08-212-148/+156
| |
* | [APP-1318] `SelectMediaButton` (#8828)Eric Bailey2025-08-182-7/+11
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Integrate Sonner for toasts * Fix animation on iOS * Refactor API * Update e2e file * [APP-1318] Post composer: combine image & video buttons (#8710) * add: select media btn * udpate: compose post with combined image and video support * add: video combine button with edge cases * add select media btn * test: select media btn * add: media button update * remove unused files and update toast on android * update: make strings shorter * add: ValidatedVideoAsset type * update link comments and add toast support for native and web * rebase latest toast and update toast structure * remove unused prop * fix types * undo changes to yarn.lock * remove: support for mkv files * update: eslint and prettier (cherry picked from commit f69779ee130f07e1c49219b53117e3bdd1a9f81b) * Add missing props to launchImageLibraryAsync (cherry picked from commit 2e80ae561fd66850f787cac0aae0fa5a6980f8f5) * Rough out new approach (cherry picked from commit 9add225160e7e407befc73e9cdd9743a30cdf1cd) * Comments and cleanup (cherry picked from commit e69bd186e7335372f440c446ae6643ed0fb15db9) * Handle native case (cherry picked from commit 74e38acdfd9181d0557426691fcbcbf0800481ca) * Refactor (cherry picked from commit 68aea496db8df54dba5f58da267ad962c28ef995) * Rename (cherry picked from commit 8609e59ad14219e7378ee6cb9514d633ce7efc27) * Cleanup, comments (cherry picked from commit 6c9c98648e37257285a9c8caeb1eadcc56c81402) * Rename (cherry picked from commit 66e3db539d5baa41436c9e49af06e87a78e9e7e1) * Handle selectionLimit on Android (cherry picked from commit 251f06dd5e65a7083b810bad3d81114b2fe9ab39) * create composer images in parallel (cherry picked from commit 70ea79d9d76d99e9c99a7d2296caed84c718650e) * Update toast API usage (cherry picked from commit e370018b8ed8cdfd7675c9634058c72cb59d39de) * Ensure once one type of media is selected, you can only select more of that type (cherry picked from commit 1a9e6e0cdb5234667f08e3dd9107ae598941fc23) * Remove TODO and debug code * Add more descriptive a11y label to button Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Add back post success toast * Include mimeType in toast error * Remove unneeded toast * Clarify hint * Typo Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * allow gifs on native, just treat as images * disable haptic toast * allow gifs on native, treat as videos * only do keyboard dismiss on native * tweak pasting logic * hide web scrubber in certain situations * Update MaxImages translation Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Add plural formatting to a11y hint translation Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * fix suggestion * Protect against no valid assets selected * Handle conversion of too-big assets on web * Reorder * Bump expo-image-picker to include bug/perf improvements See https://github.com/expo/expo/blob/main/packages/expo-image-picker/CHANGELOG.md#1700--2025-08-13 * Handle edge case validations * Ok actually bump expo-image-picker * Comment * HEIC support Android * Fix handling for new picker version, improve size validation * Remove getVideoMetadata handling, no longer needed * Handle web video duration * Update src/view/com/composer/SelectMediaButton.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: Anastasiya Uraleva <anastasiyauraleva@gmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Use medium font weight in a few places (#8848)Samuel Newman2025-08-152-2/+2
| | | | | | | * medium font toasts * medium font tabs * medium font trending pill
* Integrate Sonner for toasts (#8839)Eric Bailey2025-08-146-327/+120
| | | | | | | | | * Integrate Sonner for toasts * Fix animation on iOS * Refactor API * Update e2e file
* Improve "replied to a post" component (#8602)Samuel Newman2025-08-142-0/+70
| | | | | * unify component * change bottom padding from 2px to 4px
* [Perf - part 1] Hoist service config query (#8812)Samuel Newman2025-08-141-1/+5
|
* Add displayName to contexts (#8814)Samuel Newman2025-08-1427-7/+42
|
* Fix chat button placeholder size on profile (#8827)Samuel Newman2025-08-131-1/+2
|
* remove imports from @atproto/api internals (#8403)Samuel Newman2025-08-123-20/+30
|
* Update dates (#8822)Eric Bailey2025-08-111-6/+6
|
* set maxwidth on feed context string (#8817)Samuel Newman2025-08-111-2/+2
|
* filter out muted/blocked convos from share menu (#8802)Samuel Newman2025-08-111-2/+14
|
* Tweak small buttons (#8818)Samuel Newman2025-08-112-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * set size=small buttons to `text_sm` * change to `leading_snug` * add gap to repost buttons * Add medium-weight font, use for buttons (#8819) * add medium weight inter * add medium font to buttons * Adjust bold weights * Fix ref --------- Co-authored-by: Eric Bailey <git@esb.lol> * Align with designs --------- Co-authored-by: Eric Bailey <git@esb.lol>
* make sure admonition text doesn't touch button (#8816)Samuel Newman2025-08-111-1/+1
|
* Add context and comments to button text, label and title in email ↵surfdude292025-08-111-3/+15
| | | | | | | | | | | | | verification dialog (#8810) * add context and comment for translators to button text in email verification dialog * shorten comment * add comment for other string * tweak comment * tweak again
* Fix translations on Android using PROCESS_TEXT intent (#8486)Samuel Newman2025-08-112-17/+8
| | | | | | | | | | | | | | | * use intents to translate text on android * clean up config plugins * restore day night plugin just to be safe * leave a comment for why we can't open translate directly * add todo * fix lockfile lint
* Update links (#8800)Eric Bailey2025-08-071-5/+5
|
* Check handle as you type (#8601)Samuel Newman2025-08-072-9/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check handle as you type * metrics * add metric types * fix overflow * only check reserved handles for bsky.social, fix test * change validation check name * tweak input * move ghosttext component to textfield * tweak styles to try and match latest * add suggestions * improvements, metrics * share logic between typeahead and next button * Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * update checks, disable button if unavailable * convert to lowercase * fix bug with checkHandleAvailability * add gate * move files around to make clearer * fix bad import * Fix flashing next button * Enable for TF --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Add cursor pointer to web select trigger (#8787)Bartosz Kaszubowski2025-08-071-1/+2
|
* Fix disabled primary button text color (#8796)Eric Bailey2025-08-071-1/+7
|
* Fix policy overlay logic (#8793)Eric Bailey2025-08-073-13/+76
| | | | | | | | | | | * Only enable policy update overlay once the actual Overlay mounts (after onboarding and all that) * Disable policy overlay in e2e * Add comments * Add extra insurance * Rm log
* add border curve in neater way (#8792)Samuel Newman2025-08-071-5/+2
|
* Fix web scrollable select unwanted overflow (#8786)Bartosz Kaszubowski2025-08-071-0/+1
|
* add profile hover card to notif items (#8666)Samuel Newman2025-08-073-3/+6
|
* [APP-1310] Button refresh (#8758)Eric Bailey2025-08-072-61/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rm gradient buttons from Storybook * TEMP move storybook button section * Remove gradient_sky * Remove actual defs for gradient_sky and gradient_primary * Remove other gradient defs * Remove gradient support entirely * Deprecate 'variant' in favor of 'color' * Fork base styles codepath to make variant deprecation more obvious * Remove text styles for when no color is set, never been used * Fork text styles codepath to make variant deprecation more obvious * Revert temp storybook commit, remove deprecated values * Replace remaining gradient button usage * Update Buttons storybook section * Update tiny styles * Update small styles * Update large sizes * Ensure proper alignment of buttons in storybook * Update button colors * Rename negative_secondary to negative_subtle * Remove unnecessary select() * Update icon size and gap * Update negative_subtle styles * Custom button colors * Add borderCurve
* Toast tweaks (#8791)Eric Bailey2025-08-072-14/+54
| | | | | | | | | * Tweak colors * Fix e2e * Color tweaks * Fix alignment
* [APP-1365]: Ensure toast text meets a11y guidelines (#8779)Anastasiya Uraleva2025-08-061-98/+22
| | | | | | | | | * update: toast colors for accessibility * update: toast color codes from figma * condense the colors to remove select calls that are unecessary * remove unused select
* [APP-1356] Policy update dialog (#8782)Eric Bailey2025-08-0616-0/+980
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add blocking announcement dialog feature * WIP custom dialog * Rework dialog and add native FocusScope * Lock scroll on web, fix backdrop * Add web FocusScope * Create custom Outlet for these announcements * Clean up FocusScope native impl * Comments * Some styling fixes * Handle screen reader specifically * Clean up state, remove Portal edits * Reorg, rename * Add syncing, tests * Revert dialog updates * Revert formatting * Delete unused file * Format * Add FullWindowOverlay * remove mmkv storage in debug btn * Add debug code * fix taps passing through on iOS * Reorg * Reorg, rename everything * Complete policy update after signup * Add logger * Move context around, unmount portals on native * Move a11y prop into FocusScope * Remove useMemo * Update dates * Move debug to dev settings * Unmount web portals until policy update completed * UPdate dates --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Fix quality of first seconds of videos on web (#8761) (#8778)Arturo Fonseca2025-08-051-1/+5
|
* Fix web video ViewportObserver component (#8776)Samuel Newman2025-08-041-55/+51
| | | | | | | * Revert "[APP-1083] bug fix: videos not accurately autoplaying on web (#8692)" This reverts commit 9aa35e9fbb6136a88a66388ff5e4644ad25c9e4b. * fix overflow hidden breaking the video viewport observer
* Fix video thumbnails on native (#8774)Samuel Newman2025-08-042-94/+88
|
* [APP-1083] bug fix: videos not accurately autoplaying on web (#8692)Anastasiya Uraleva2025-08-041-7/+38
| | | | | | | | | | | | * update: auto play video on web with intersection position * place back the threshold: 0.5 * update: optimize the intersection observer with a throttled scroll listener --------- Co-authored-by: Anastasiya <anastasiya@Mac.localdomain> Co-authored-by: Anastasiya <anastasiya@Anastasiyas-MacBook-Pro.local>
* Tweak accessibility label (#8767)surfdude292025-08-041-1/+6
| | | | | | | * tweak accessibility label * change `alert` to `message` and add comment instead of context * tweak comment
* fix(ui): small bug where on small web views the final card was not full heightCaidan Williams2025-07-311-0/+1
|
* fix(ui): adjust padding for ProfileGrid layout consistencyCaidan Williams2025-07-311-6/+5
| | | | | Fixes the issue of the shadow being cutoff by the overflow, now will give proper spacing to the cards to display the shadow.
* [APP-1310] Button cleanup (#8754)Eric Bailey2025-07-312-296/+259
| | | | | | | | | | | | | | | | | | | | | | | | | * Rm gradient buttons from Storybook * TEMP move storybook button section * Remove gradient_sky * Remove actual defs for gradient_sky and gradient_primary * Remove other gradient defs * Remove gradient support entirely * Deprecate 'variant' in favor of 'color' * Fork base styles codepath to make variant deprecation more obvious * Remove text styles for when no color is set, never been used * Fork text styles codepath to make variant deprecation more obvious * Revert temp storybook commit, remove deprecated values * Replace remaining gradient button usage
* Some toasts cleanup and reorg (#8748)Eric Bailey2025-07-316-0/+539
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reorg * Move animation into css file * Update style comment * Extract core component, use platform-specific wrappers * Pull out platform specific styles * Just move styles into Toast component itself * Rename cleanup * Update API * Add duration optional prop * Add some type docs * add exp eased slide aniamtions * Make toasts full width on mobile web --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Make proper extension of `Button` more clearly defined (#8753)Eric Bailey2025-07-311-0/+12
| | | | | * Remove unecessary color prop from SettingsList LinkItem * Add UninheritableButtonProps to avoid misuse