about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* Fix toast type (#8909)Eric Bailey2025-08-262-40/+49
| | | | | | | | | * Fix confusing toast API * Provide all exports to e2e file * Fix first usage in Composer * Loosen type, add Trans tag
* Fix RightNav elements focus outline on web (#8788)Bartosz Kaszubowski2025-08-263-4/+22
|
* 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-262-26/+102
| | | | | | | | | | | | | | | * 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>
* Add profile link to switcher menu (#8867)Inbestigator2025-08-261-0/+52
| | | | | * feat(leftnav): add profile link to switcher menu * fix: close menu on navigate
* Threads v2 cleanup (#8902)Eric Bailey2025-08-268-2338/+31
| | | | | | | | | | | | | | | | | | | | | * 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
| |
* | ALF log screen (#8845)Samuel Newman2025-08-251-116/+0
| |
* | [LEG-246] Geo overlay (#8881)Eric Bailey2025-08-222-19/+26
| | | | | | | | | | | | | | | | | | | | | | * Add AgeBlockedGeo * Add MaxMind usage text * Add geo overlay --------- Co-authored-by: rafael <rafael@blueskyweb.xyz>
* | 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-142-57/+28
| | | | | | | | | * 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
|
* [Perf - part 3] Stop every dialog control in the entire app rerendering when ↵Samuel Newman2025-08-141-2/+2
| | | | opening a dialog (#8815)
* 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
|
* Tweak small buttons (#8818)Samuel Newman2025-08-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* 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-073-12/+19
| | | | | | | | | | | | | | | | | | | * 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
* Fix policy overlay logic (#8793)Eric Bailey2025-08-072-4/+4
| | | | | | | | | | | * 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 profile hover card to notif items (#8666)Samuel Newman2025-08-071-27/+29
|
* [APP-1310] Button refresh (#8758)Eric Bailey2025-08-072-145/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [APP-1356] Policy update dialog (#8782)Eric Bailey2025-08-063-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* 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.
* [APP-1310] Button cleanup (#8754)Eric Bailey2025-07-313-177/+46
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-694/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-304-26/+41
|\ | | | | hot fix: imports for toast and alignment
| * update type errorsAna2025-07-304-7/+19
| |
| * add: prettier formatingAna2025-07-301-3/+4
| |
| * update: lint fixes for toast.tsxAna2025-07-301-9/+10
| |
| * update: toast style after lintAna2025-07-301-1/+1
| |
| * update sortingAna2025-07-304-22/+23
| |
| * 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-294-84/+256
|\| | | | | [APP-1345] Update Toast UI on the web and add to storybook
| * update: toast styles that reuse consistent styleAna2025-07-293-253/+216
| |