about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
* Fix toast type (#8909)Eric Bailey2025-08-261-4/+5
| | | | | | | | | * Fix confusing toast API * Provide all exports to e2e file * Fix first usage in Composer * Loosen type, add Trans tag
* Enable show less / more buttons for third party feeds (#8672)kindgracekind2025-08-262-5/+5
| | | | | Co-authored-by: hailey <hailey@blueskyweb.xyz> Co-authored-by: Hailey <me@haileyok.com>
* Modernise change password dialog (#8269)Samuel Newman2025-08-263-357/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * alf change password dialog * rm old modal * move dialog * fix buttons on native * lowercase * fix dupe import * Apply suggestions from code review Thanks @surfdude29 :) Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * use primary_subtle, change web layout * move to into non-network err, warn -> error * error -> safeMessage * better message than token is invalid * cancel button native only * move close to end of focus priority --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Yeah toast (#8878)Eric Bailey2025-08-261-9/+30
| | | | | | | | | | | | | | | * Split out into macro component * Add Action component * Add fallback * add button to view post after sending * Dismiss toast when clicking action button --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Threads v2 cleanup (#8902)Eric Bailey2025-08-266-2307/+0
| | | | | | | | | | | | | | | | | | | | | * Delete root PostThread component * Remove PostThreadItem, migrate DebugMod to use new components * Remove other unused components * Move PostThreadFollowBtn to new home * Move PostThreadComposePrompt to new home * Remove gate * Keep naming in DebugMod * rm v1 prefs --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Tweak `SelectMediaButton` error string, `accessibilityHint`, and comments ↵surfdude292025-08-261-27/+10
| | | | | | | | | | | (#8870) * remove isNative check from accessibilityHint * tweak grammar in error string * prettier * tweak comment
* Merge pull request #8806 from ↵jim2025-08-251-0/+17
|\ | | | | | | | | internet-development/binaryfiddler/starter-pack-part2 Starter pack dialog implementations
| * loading stateChenyu Huang2025-08-191-7/+4
| |
| * starter pack dialog flow from profileMenuChenyu Huang2025-08-161-0/+20
| |
* | remove root sibling parent(s??) from composer (#8897)Samuel Newman2025-08-251-81/+76
| |
* | refactor: all uses of "Follow Back" to "Follow back"Caidan Williams2025-08-212-7/+7
| |
* | [Lightbox] prevent browser-default escape key behavior (#8859)Ridley Combs2025-08-191-0/+1
| | | | | | Some browsers exit fullscreen when the escape key is pressed without `preventDefault()` being called; we don't want that when we're handling the press ourselves.
* | [APP-1318] `SelectMediaButton` (#8828)Eric Bailey2025-08-186-253/+723
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* don't override backspace if alt or meta key (#8855)Samuel Newman2025-08-151-1/+5
|
* feat: use OP's language as recommendation when replying (#8832)Elijah Seed-Arita2025-08-156-4/+25
| | | | | * feat: use OP's language as recommendation when replying * fix: address nits
* Integrate Sonner for toasts (#8839)Eric Bailey2025-08-141-6/+2
| | | | | | | | | * Integrate Sonner for toasts * Fix animation on iOS * Refactor API * Update e2e file
* Improve "replied to a post" component (#8602)Samuel Newman2025-08-143-158/+39
| | | | | * unify component * change bottom padding from 2px to 4px
* Add displayName to contexts (#8814)Samuel Newman2025-08-141-1/+2
|
* fix: don't open user profile when clicking edit button in user list (#8831)Elijah Seed-Arita2025-08-131-3/+10
|
* Fix deletion of composed emojis in web composer (#8829)Arturo Fonseca2025-08-131-1/+20
|
* remove imports from @atproto/api internals (#8403)Samuel Newman2025-08-121-2/+1
|
* Fix translations on Android using PROCESS_TEXT intent (#8486)Samuel Newman2025-08-111-12/+10
| | | | | | | | | | | | | | | * 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
* Fix e2e (#8794)Eric Bailey2025-08-072-9/+17
| | | | | | | | | | | | | | | | | | | * 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 * Fix shared prefs test * Fix login flows by optionally closing 'Remember password' system dialog * Return missing testID * Bump dev-env
* add profile hover card to notif items (#8666)Samuel Newman2025-08-071-27/+29
|
* Don't animate images that will be posted as JPGs (#8760)Samuel Newman2025-07-311-0/+5
| | | | | | | | | | | * don't play gifs that'll be png'd * add media inset border * fix unnecessary typecast * Revert "fix unnecessary typecast" This reverts commit 3a8bcc92774d83f6ece0577f919f527cd920761b.
* Some toasts cleanup and reorg (#8748)Eric Bailey2025-07-314-606/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Mark old components as deprecated (#8747)Samuel Newman2025-07-308-27/+85
| | | | | | | * mark a bunch of stuff as deprecated * mark s as deprecated (serverence reference????) * rm type import
* Convert old toast types to new ones, mark as deprecated (#8746)Samuel Newman2025-07-303-16/+62
| | | | | | | * convert old types to new types * add depreciation warning for old warnings * rm as consts
* Fix dataSet for noFeedback links (#8745)Samuel Newman2025-07-301-14/+8
| | | | | | | * fix dataSet for noFeedback links * rm memo * rm useless spread
* Merge pull request #8744 from internet-development/@APiligrim/update-toastjim2025-07-303-18/+31
|\ | | | | hot fix: imports for toast and alignment
| * update type errorsAna2025-07-303-5/+16
| |
| * update: lint fixes for toast.tsxAna2025-07-301-9/+10
| |
| * update: toast style after lintAna2025-07-301-1/+1
| |
| * update sortingAna2025-07-303-15/+16
| |
| * update: imports for toastAna2025-07-302-3/+3
| |
* | Merge pull request #8743 from internet-development/@APiligrim/update-toastjim2025-07-291-0/+167
|\| | | | | [APP-1345] Hot fix: add toast.style file
| * add: Toast.styleAna2025-07-291-0/+167
| |
* | Merge pull request #8734 from internet-development/@APiligrim/update-toastjim2025-07-292-84/+154
|\| | | | | [APP-1345] Update Toast UI on the web and add to storybook
| * update: toast styles that reuse consistent styleAna2025-07-292-199/+131
| |
| * update: web toastAna2025-07-282-20/+158
| |
* | fix some auto complete issuesChenyu Huang2025-07-241-4/+5
| |
* | fix: general profile component layout fixes, and ability to disable the ↵Elijah Seed-Arita2025-07-241-2/+4
| | | | | | | | inset border for UserAvatar (#8711)
* | add margin between messages in the composer thread (#8691)Chenyu2025-07-211-0/+5
|/
* Nicer error message for backend video too large error (#8596)Samuel Newman2025-07-211-6/+12
| | | | | * nicer error message for backend video too large * use same string for same error
* Age assurance fast-follows (#8656)Eric Bailey2025-07-171-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add feed banner * Comment * Update nux name * Handle did error * Hide mod settings if underage or age restricted * Add metrics * Remove DEV override * Copy suggestion * Small copy edits * useState * Fix bug * Update src/components/ageAssurance/useAgeAssuranceCopy.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Get rid of debug button --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* fix whitespace collapse (#8659)Samuel Newman2025-07-171-1/+3
|
* Fix navigation (#8648)Samuel Newman2025-07-151-0/+1
|
* Fix perf issue on web - restore pop behaviour to tabs (#8620)Samuel Newman2025-07-151-2/+3
|
* fix mention tab flicker (#8640)Samuel Newman2025-07-122-1/+8
|
* Fix quote+list card padding (#8623)Samuel Newman2025-07-094-308/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix quote padding not being pressable * fix list padding not being pressable * Fix unnecessary loading of feeds (#8578) * stop layout shifts in feed loading * don't load feed data if we already have it * adjust styles, alf stuff * remove unused button, massively simplify * fix layout shifting in notifs * use feedcard for feed post embeds * use bold text to match other style * use Link component rather than jank Pressable * prevent nested anchors in notifs * match following text size * add space between content hider * Better dead feed handling (#8579) * add space between content hider * add handling for feeds that fail to load * cleanError, in case of network funkiness * handle deleted lists * split out missingfeed