about summary refs log tree commit diff
path: root/src/screens
Commit message (Collapse)AuthorAgeFilesLines
* Add some helper text for custom domains (#7103)Eric Bailey2024-12-131-10/+28
| | | | | | | * Add some helper text for custom domains * endsWith * ope
* Tweak ProfileList design (#7100)dan2024-12-131-0/+1
| | | | | | | | | * Remove "No description" * Move Lists about into header * Remove pager with one tab * Layout tweaks
* Better alignment on web (#7098)Eric Bailey2024-12-131-2/+3
|
* Remove the environment indirections (#7089)dan2024-12-131-2/+1
| | | | | * Use raw underlying globals for environment * Set dev EXPO_PUBLIC_ENV by exclusion
* Uppercase the auth factor token in input value to match the email casing. ↵Brad Estey2024-12-131-0/+10
| | | | (#7094)
* mark string for localization (#7083)surfdude292024-12-121-1/+1
|
* New profile feed header (#7056)Eric Bailey2024-12-122-0/+761
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Init hacking * Lil baby button checkpoint * Playing around * Revert "Playing around" This reverts commit f58a7fafa12269035d440cfa2d8cb1dbd562305f. * Mostly there * Cleanups * Cleanup * Fix report dialog nesting * Remove transform on native * Rename header * Fix layout, overflowing FAB buttons * Remove hack * Couple of fixes * Keep Pin primary CTA (#7061) * Update src/screens/Profile/components/ProfileFeedHeader.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Simplify, use old string * Wrap Trans better --------- Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* [Layout] Bleed profile banner into safe area (#6967)Samuel Newman2024-12-125-22/+202
| | | | | | | | | | | | | | | | | | | | | | | * bleed profile banner into safe area (cherry picked from commit 50b3a4d0c6fd94b583ffe4efa65de35c81ae7f4e) * pointer events none when hidden (cherry picked from commit bae2c7b2dd6d7f858a98812196628308c0877755) * fix web (cherry picked from commit e3f9597170375f2903b6e567b963f008ec95aed1) * add status bar shadow * rm log * rm mini header * speed up animation * pass bool rather than int in light status bar
* [Notifications] Add a Mentions tab (#7044)dan2024-12-121-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split out NotificationsTab * Remove unused route parameter * Refine the split between components * Hoist some logic out of NotificationFeed * Remove unused option * Add all|conversations to query, hardcode "all" * Add a Conversations tab * Rename to Mentions * Bump packages * Rename fields * Fix oopsie * Simplify header * Track active tab * Fix types * Separate logic for tabs * Better border for first unread * Highlight unread for all only * Fix spinner races * Fix fetchPage races * Fix bottom bar border being obscured by glimmer * Remember last tab within the session * One tab at a time * Fix TS * Handle all RQKEY usages * Nit
* followersCount -> followsCount (#7080)Samuel Newman2024-12-121-1/+1
|
* Make the pager take full width (#7066)dan2024-12-121-1/+1
| | | | | | | | | | | * Wide tabs for web * Wide tabs on mobile * Tweak min for profile * Driveby border fix * Fix single tab indicator
* refine plural marks (#7065)Minseo Lee2024-12-121-9/+14
|
* Update PostRepostedBy.tsx (#7064)Frudrax Cheng2024-12-121-1/+1
|
* Nicer app icon screen (#6972)Samuel Newman2024-12-1110-270/+478
| | | | | | | | | | | | | | | | | | | | | | | | * wip exploration * list format instead of grid * fix normalising default name * adjust margins * Rework the app icon link * Decrease app icon size * Adjust some spacing * Move some things around to fix web errors * Fix pathname --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol>
* More exact counts (#7059)Samuel Newman2024-12-115-31/+84
| | | | | | | | | * post liked by * rm unnecessary layout.center * do post quotes/reposts * set height of header to prevent layout shifts
* Followers/following exact count (#7057)Samuel Newman2024-12-112-0/+112
| | | | | | | | | * followers exact count in heading * exact count for following * move files to new dir * use <Plural>
* Reduce excessive empty space on profile with no bioDan Abramov2024-12-112-4/+4
|
* LoginForm: enable autocomplete on 2FA code field (#7019)rcombs2024-12-101-1/+1
| | | This should (fingers crossed) work in Safari, at least.
* fix: typo in filename list-converations (#7036)Renan Mav2024-12-101-1/+1
|
* Disambiguate feed component naming (#7040)dan2024-12-101-2/+2
| | | | | * Rename posts/Feed* -> posts/PostFeed* * Rename notifications/Feed* -> notifications/NotificationFeed*
* Fix drawer swipe (#7007)dan2024-12-101-4/+2
| | | | | | | | | | | | | | | | | | | * Fix drawer swipe * Remove existing setDrawerSwipeDisabled management This is already pretty error-prone. And with tracking whether we're idle it's going to get more complicated. Let's pause and think. * Move setDrawerSwipeDisabled logic into Pager * Remove win/2 threshold It feels super arbitrary and breaks muscle memory. If the gesture is reliable, we shouldn't need it. * Maybe work around iOS freeze * Tweak gestures, add comments * Tune gestures
* Remove icon (#6994)dan2024-12-061-6/+0
| | | Co-authored-by: Eric Bailey <git@esb.lol>
* [Layout] Base (#6907)Eric Bailey2024-12-0528-305/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add common gutter styles as hook * Add computed scrollbar gutter CSS vars * Add new layout components * Replace layout components in settings screens * Remove old back button * Invert web border logic for easier migration * Clean up Slot API * Port over FF handling of scrollbar offset * Trade boilerplate for ease of use * Limit to one line * Allow two lines, fix wrapping * Fix alignment * sticky headers * set max with on header and center * [Layout] Notifications Header (#6910) * Replace notifications screen header * fix cropped indicator --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * Replace Hashtag header (#6928) * [Layout] ChatList header (#6929) * Replace ChatList header * update chat settings as well --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * Add web borders to Chat settings * Remove unused var * Move ChatList header outside center * Replace empty chat layout * fix breakpoints * [Layout] Scrollbar gutters (#6908) * Fix sidebar alignment * Make sure scrollbars don't hide * Gift left nav more space * Use stable one-edge, update logic in RightNav * Ope * Increase width * Reset * Add transform to sidebars * Remove bg in sidebars * Handle shifts in layout components * Replace scroll-removal handling * Make react-remove-scroll an explicit dep * Remove unused script * use correct scroll insets (#6950) * [Layout] Feeds headers (#6913) * Replace ViewHeader internals, duplicate old ViewHeader * Replace Feeds header * Replace SavedFeeds header * Visual alignment * Uglier but clear * Use old ViewHeader for SavedFeeds * use Layout.Center instead of Layout.Content * use left-aligned header for feed edit * delete unused old view header --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * [Layout] Every other screen (#6953) * attempt to fix double borders on every other screen * delete ListHeaderDesktop * delete `SimpleViewHeader` and fix screens (#6956) * Make Layout.Center not full height * Refactor List to use Layout.Center, remove built-in borders * Fix Home screen * Refactor PagerWithHeader to use Layout components * Replace components in ProfileFeed and ProfileList * Borders on Profile * Search screen replacements * use new header for profile subpage header (#6958) * Search AutocompleteResults * use new header for starter pack wizard (#6957) * Fix post thread * Enable borders by default * Moderation muted and blocked accounts * Fix scrollbar offset on Labeler * Remove ScrollView from Moderation * Remove ScrollView from Deactivated * Remove ScrollView from onboarding * Remove ScrollView from SignupQueued * Mark deprecations * fix lint * Fix double borders on profile load * Remove unneeded CenteredView from noty Feed * Remove double Center layout on Notifications screen * Remove double Center layout on ChatList screen * Handle scrollbar offset in chat * Use new atom for other scrollbar offsets * Remove borders from old views * Better doc * Remove temp migration prop * Fix new atom usage on native * Clean up Hashtag screen * Layout docs * Clarify usage in Pager * Handle nested offset contexts * Clean up Layout * fix feeds page * asymmetric header on native (#6969) * Reusable header const * Fix up home header * Add back button to convo * Add hitslop to header buttons * Comment * Better handling on native for new atom * Format * Fix nested flatlist on mod screens * Use react-remove-scroll-bar directly * Fix notification count overflow on web * Clarify doc --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* fix iOS language picker style in dark mode (#6804)Foster2024-11-281-0/+2
| | | Co-authored-by: skipness <ckhf@proton.me>
* Fix web build by removing app icon settings (#6784)dan2024-11-272-1/+5
|
* [Subs] Custom app icons (#6758)Samuel Newman2024-11-272-1/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * custom icons * rm default * clouds.jpg * use cross-platform fork * minor fixes for android * update dynamic icon lib * gate app icon settings behind discover debug dids * rename clouds * Bop it * Update default ios icon as well * Remove old icon * Update logo placement * update to latest expo-dynamic-app-icon * fix android icon sizes --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix Android keyboard bug when opening a sheet (#6739)Samuel Newman2024-11-261-10/+14
| | | | | * reimplement KeyboardStickyView * fix missing arg
* Fix `<List>` types (#6756)Samuel Newman2024-11-262-4/+5
| | | | | | | * fix List and ScrollView types * add comment * rm omitting ref
* Revert "Pass referrer on native (with an opt out) (#6648)" (#6732)dan2024-11-251-45/+11
| | | This reverts commit ac5b2cf31f2bb45f1bf8a180705249d3cce8017d.
* Ensure react-native-keyboard-controller enabled state doesn't get ↵Samuel Newman2024-11-252-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | overwritten (#6727) * revert to prev state instead of false * add dep array * use ref counting approach * patch keyboard controller to allow changing the enabled prop * remove state from patch * change patched prop name * remove Math.max check, log if < 0 * use noop provider * rm patch, use `useRef` * Style nits * Rm on web --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Dismiss keyboard on drag in starter pack screens (#6537)Adam Rowe2024-11-252-0/+2
|
* fix: keyboard handler memoization (#6719)Kirill Zyusko2024-11-251-22/+25
| | | | | * fix: keyboard handler memoization * fix: return missing dependency
* Fix media query used to prevent enter sending DM on mobile web (#6669)Bas van den Wollenberg2024-11-231-2/+2
|
* Add a hotness thread sort (#6649)dan2024-11-231-0/+6
| | | | | * Add a hotness thread sort * Bump @atproto/api
* Pass referrer on native (with an opt out) (#6648)dan2024-11-221-11/+45
| | | | | | | | | | | | | | | | | * Pass referer on native * Add ChainLink3 * Add an opt out for sending utm * Remove noreferrer on links We do have <meta name="referrer" content="origin-when-cross-origin"> in HTML, should be sufficient. * Narrow down the condition slightly --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix Fast Refresh in <Text> files (#6609)dan2024-11-211-1/+2
| | | | | | | | | | | * Separate non-components from components * Mark old Text as deprecated * Move emoji utilities to non-React file * Fix type * Fix import
* Prevent ProfileHeaderHandle from breaking out of its parent view (#6574)Horus Lugo2024-11-201-1/+1
|
* fix change handle dialog on android (#6563)Samuel Newman2024-11-201-1/+0
|
* Leverage jsx transform to remove unnecessary react imports and update eslint ↵Paul Coroneos2024-11-1932-32/+17
| | | | | | | | | config (#6516) * update eslint config with jsx runtime * leverage jsx transform to remove unnecessary react imports and update eslint config * run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
* Use native modal for signup queue screen (#6392)Samuel Newman2024-11-191-20/+33
| | | | | | | | | * fix top inset for signup queue * use native modal for queue screen * spacing for if text is super large * don't allow scroll bounce
* Add useHandleRef as a lighter alternative for useAnimatedRef (#6500)dan2024-11-181-11/+7
|
* Use compiler-safe Reanimated get/set APIs (#6391)dan2024-11-174-31/+32
| | | | | | | | | | | | | | | | | | | | | * Convert lightbox to get/set * Work around software-mansion/react-native-reanimated#6613 * Use get/set in more places * Port MainScrollProvider to get/set * Port more to get/set * Port composer to get/set * Remove unnecessary thread hops in composer * Port more things to get/set * Convert more to get/set, remove redundant runOnJS * Convert remaining cases to get/set
* Remove typography NUX and consistently call upsertProfile (#6424)dan2024-11-161-18/+23
| | | | | | | | | * Make profile upsert unconditional * Remove Typography NUX * Early exit NUXes on unknown creation date * Clarify via comment
* Add email verification prompts throughout the app (#6174)Hailey2024-11-122-3/+34
|
* deleted account (#6224)Minseo Lee2024-11-111-1/+1
|
* Increase copied animation lingering time for reduced motion (#6220)Khuddite2024-11-111-3/+11
| | | | | | | | | * increase copied animation lingering time for reduced motion * flip the condition --------- Co-authored-by: dan <dan.abramov@gmail.com>
* [Lightbox] Always rely on Expo Image cache (#6189)dan2024-11-091-0/+1
| | | | | | | | | | | | | | | * Inline useImageAspectRatio * Switch AutoSizedImage to read dimensions from Expo Image cache * Include thumbnail dimensions in image data * Use dims from Expo Image cache in lightbox * Fix wiring so all thumbnails get dimensions * Fix type * Oops
* [Lightbox] Open animation (#6159)dan2024-11-091-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Measure all rects for embeds * Measure avi rects too * Animate lightbox in and out * Account for safe area in the animation * Tune spring times * Remove null checks for measurements * Remove superfluous view * Block swipe while opening * Interpolate width/height on native side for Android * Make it fast by animating only affine transforms * Fix tall image final state The initial animation frame is still off on both platforms. * Try to squeeze perf * Avoid blank images during animation on iOS * Fix bad rebase * Fix a huge memory issue due to expo/expo#24894 * Fix last frame flash * Fix thum dim calculation for tall images
* Tiny tweak to Thread Preferences string (#6177)surfdude292024-11-081-1/+1
|
* [Settings] Ungate, and remove old settings (#6144)Samuel Newman2024-11-085-133/+313
| | | | | | | | | | | | | | | | | | | * move export car dialog * move disableemail2fadialog * delete old settings screens * fix type error * Update Navigation.tsx * Delete AccountDropdownBtn.tsx * remove old change handle modal * delete add app paswords * forgot to actually delete the change handle modal