about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* [Perf] Drawer gesture perf fix + related cleanup (#8953)Samuel Newman2025-09-053-79/+101
| | | | | | | * split drawer layout into own component * don't put props in dep array * memoize pager view
* Restore quick language select (#8981)Samuel Newman2025-09-053-88/+152
| | | | | | | | | | | | | * restore quick language select * rm showCancel * rm margin from thread button * alf composer icons * stop hiding keyboard * use trans
* Revert "use comment instead of context (#8987)" (#8990)Samuel Newman2025-09-052-2/+2
| | | This reverts commit c7f8da8f9768515be7d3c79e9128c0411390c48e.
* use comment instead of context (#8987)Samuel Newman2025-09-052-2/+2
|
* add translation context for "saved" (#8982)Samuel Newman2025-09-052-2/+7
|
* E2E fixes (#8980)Samuel Newman2025-09-051-2/+2
| | | | | | | * update dev-env * hide nux after onboarding * use getter/setter for proxy header
* 📓 Bookmarks (#8976)Eric Bailey2025-09-043-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add button to controls, respace * Hook up shadow and mutation * Add Bookmarks screen * Build out Bookmarks screen * Handle removals via shadow * Use truncateAndInvalidate strategy * Add empty state * Add toasts * Add undo buttons to toasts * Stage NUX, needs image * Finesse post controls * New reply icon * Use curvier variant of repost icon * Prevent layout shift with align_start * Update api pkg * Swap in new image * Limit spacing on desktop * Rm decimals over 10k * Better optimistic adding/removing * Add metrics * Comment * Remove unused code block * Remove debug limit * Fork shadow for web/native * Tweak alt * add preventExpansion: true * Refine hitslop * Add count to anchor * Reduce space in compact mode --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Provide geo-gated users optional GPS fallback for precise location data (#8973)Eric Bailey2025-09-042-4/+4
|
* Welcome modal on logged-out homepage (#8944)Alex Benzer2025-09-041-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds welcome modal to logged-out homepage * Adds metrics and feature gate for welcome modal * Slightly smaller text for mobile screens to avoid wrapping * Remove unused SVG * Adds text gradient and "X" close button * Fix color on "Already have an account?" text * tweak hooks, react import * rm stylesheet * use hardcoded colors * add focus guards and scope * no such thing as /home * reduce spacign * use css animations * use session storage * fix animation fill mode * add a11y props * Fix link/button color mismatch, reduce gap between buttons, show modal until user dismisses it * Fix "Already have an account?" line left-aligning in small window sizes * Adds "dismissed" and "presented" metric events --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Improve e2e tests (#8927)Samuel Newman2025-08-291-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * get e2e image picker working * verify create account actually reaches onboarding * wait for image to actually be attached before posting * wait until login finishes before moving on * sign out before switch accounts then wait until logged in * disable onboarding experiments in e2e * add testId to handle availability checkmark * fix too long username * update thread muting test to reflect current behaviour * hackfix for the british english translation * unflake the onboarding tests * fix curate list flow * admit defeat on the most list one
* Close web mention suggestions popup on `Escape` (#8605)Samuel Newman2025-08-285-273/+253
| | | | | | | | | | | | | * alf web typeahead * fix type error * fix escape behaviour * change selection on hover * rm React. * undo random change
* Update dev env (#8921)Eric Bailey2025-08-281-2/+16
| | | | | | | | | * Update dev-env * Integrate appviewDid value from dev-env * Use correct env value to disable policy update overlay * Remove log
* Merge pull request #8885 from ↵jim2025-08-271-4/+11
|\ | | | | | | | | internet-development/caidanw/app-1409-add-data-nosnippet-to-discover-feed feat: prevent search engines from using Discover feed content as page descriptions
| * refactor(feed): simplify isDiscoverFeed logic in FeedPageCaidan Williams2025-08-271-4/+1
| |
| * refactor(feed): remove NoSnippetWrapper from FeedPage in favor of dataSet ↵Caidan Williams2025-08-272-74/+46
| | | | | | | | | | | | | | | | | | attribute Replaces NoSnippetWrapper with a dataSet prop on the root View to control the nosnippet attribute for discover feeds. This simplifies the component structure and improves maintainability by reducing unnecessary wrappers.
| * feat: prevent search engines from indexing Discover feed content as page ↵Caidan Williams2025-08-262-38/+72
| | | | | | | | descriptions
| * feat: add data-nosnippet attribute to Discover feed for SEO controlCaidan Williams2025-08-261-2/+6
| |
* | Language select final tweaks (#8914)Samuel Newman2025-08-278-730/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [APP-1303] Redesign/refactor post language select (#8884) * Nightly source-language update * Nightly source-language update * [APP-1303] Redesign/refactor post language select * update: stylesheets.create to use the latest structure * update styles to modern structure * update: dialog breakpoints on web and delete depricated language modals * remove unused post languages settings dialog * restructure Post languages dialog * place the Dialog.Close inside the Dialog.ScrollableInner * add: language search * update search and language variables for clarity * fix: memoize language state lists * chore: add comments * update proper colors to the background * add back older error boundary * add: tweaks to the mobile and web responsiveness * add tweaks to center the container * update labels * update button and border * added translation updates * Update: text input to reuse search input * remove unused file * update: web breakpoints * run eslint and prettier --------- Co-authored-by: Elijah Seed-Arita <elijaharita@gmail.com> Co-authored-by: Anastasiya Uraleva <anastasiya@Anastasiyas-MacBook-Pro.local> Co-authored-by: Anastasiya Uraleva <anastasiya@Mac.localdomain> * rm old file * sort out styles, add FlatListFooter component * rm cancel button in favor of search input X * get dialog height working on iOS * delete `DropdownButton` * hide scroll indicators on android * ios scroll indicator insets * get footer sorta working on android * change button color on press * rm empty file --------- Co-authored-by: Anastasiya Uraleva <anastasiyauraleva@gmail.com> Co-authored-by: Elijah Seed-Arita <elijaharita@gmail.com> Co-authored-by: Anastasiya Uraleva <anastasiya@Anastasiyas-MacBook-Pro.local> Co-authored-by: Anastasiya Uraleva <anastasiya@Mac.localdomain>
* | use an env var for configurable proxy header (#8863)hailey2025-08-262-2/+2
| |
* | 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
|