about summary refs log tree commit diff
path: root/src/screens/Profile/Header
Commit message (Collapse)AuthorAgeFilesLines
* [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
* refine plural marks (#7065)Minseo Lee2024-12-121-9/+14
|
* Reduce excessive empty space on profile with no bioDan Abramov2024-12-112-4/+4
|
* Prevent ProfileHeaderHandle from breaking out of its parent view (#6574)Horus Lugo2024-11-201-1/+1
|
* Leverage jsx transform to remove unnecessary react imports and update eslint ↵Paul Coroneos2024-11-194-4/+1
| | | | | | | | | 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
* Add useHandleRef as a lighter alternative for useAnimatedRef (#6500)dan2024-11-181-11/+7
|
* Use compiler-safe Reanimated get/set APIs (#6391)dan2024-11-172-8/+9
| | | | | | | | | | | | | | | | | | | | | * 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
* [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
* [Lightbox] Add border radius to avatars (#6136)dan2024-11-081-0/+1
| | | | | | | | | | | * Preserve shape in lightbox * Rename shapes to semantic meanings It looks like after all I do want to fork based on those. * Round avatars on the web * Oops
* Refactor lightbox prop drilling (#6073)dan2024-11-041-2/+12
| | | | | | | | | | | * Refactor lightbox footer to render prop * Unify lightbox types * Unindent * Refactor LightboxFooter props * Move LightboxFooter into the implementation file
* fix text clipping around external embed's domain (#6012)Ben Harris2024-11-011-1/+1
|
* Measure tapped image coordinates before opening lightbox (#6001)dan2024-10-311-0/+1
| | | | | * Measure image on press * Pass dimensions to the lightbox component
* Sort imports (#6009)dan2024-10-291-2/+2
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* Refactor lightbox model to plain object (#5999)dan2024-10-291-2/+5
| | | | | * Refactor lightbox model to plain object * Rename name to type
* temp revert to old modal (#6005)Samuel Newman2024-10-292-6/+26
|
* More e2e test fixes (#5982)Hailey2024-10-281-3/+8
| | | | | | | | | | | | | | | | | | | * fix feed reorder test * fix feed reorder test pt 2 * fix edit profile test * fix mod list test * fix fab * add assert * one more assertVisible * fix search test * tap now now if it shows up
* Remove double `an` from error message strings (#5782)surfdude292024-10-171-1/+1
| | | | | | | | | * Update ProfileHeaderLabeler.tsx * Update FeedErrorMessage.tsx * Update FeedShutdownMsg.tsx * Update ProfileFeed.tsx
* Edit profile dialog ALF refresh (#5633)Samuel Newman2024-10-153-39/+416
|
* Move the back-button in front of banner (#5748)gpp-02024-10-142-2/+2
|
* equal spacing on displayname/handle (#5636)Samuel Newman2024-10-072-2/+2
|
* Font tweaks (#5597)Eric Bailey2024-10-031-1/+1
| | | | | | | * Increase fontWeight on android * Use atoms for a couple stray fontWeights * Rm unused file
* Fix profile header buttons (#5558)Eric Bailey2024-10-033-15/+15
| | | | | | | | | | | * Fix profile header buttons * Adjust labeler buttons too * Fix load state jumps * Small tweak for web * Remove log
* Remove Segment (#5518)Hailey2024-09-272-20/+9
|
* constrain blur (#5485)Samuel Newman2024-09-251-2/+2
|
* Reduce display name size (#5482)Samuel Newman2024-09-251-2/+9
| | | | | * reduce displayname size * only apply to small screens
* subtle avatar grow animation (#5480)Samuel Newman2024-09-252-22/+88
|
* Header blurred banner on overscroll (take 2) (#5474)Samuel Newman2024-09-252-34/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * grow banner when overscrolling * add blurview * make backdrop blur as it scrolls * add activity indicator * use rotated spinner instead of arrow * persist position of back button * make back button prettier * make blur less jarring * Unify effects * Tweak impl * determine if should animate based on scroll amount * sign comment --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Allow profile header to overscroll (#5457)Samuel Newman2024-09-251-5/+9
| | | | | | | | | * add allowoverscroll prop * ensure spinner is visible * more generic prop for `<List>` * rename to allowHeaderOverScroll
* [Neue] Handle emoji within custom font (#5449)Eric Bailey2024-09-242-4/+8
| | | | | | | | | | | | | * Support emoji in text with custom font * Add emoji support to elements that need it * Remove unused file causing lint failure * Fix a few more emoji locations * Couple more * No throw
* [Neue] Font weights (#5442)Eric Bailey2024-09-201-3/+3
| | | | | | | * Align all font weights * Only load necessary fonts * Also comment out from hook
* Renaming the Follow button to "Follow back" when followed by user (#5281)Wesley2024-09-121-0/+2
| | | | | * Renaming the follow button to follow back when followed by user * Fixing conditions and reusing existing translation
* Set show_follow_suggestions_in_profile to true (#5205)dan2024-09-071-48/+2
|
* Ensure profile labels can be appealed separately from account labels (#5154)Eric Bailey2024-09-041-1/+1
|
* [Experiment] Suggest profiles in profile (#5030)dan2024-08-301-20/+24
| | | | | | | | | | | | | | | * Rename variable to disambiguate with parent scope * More variables where they are used * Inline variables * Add suggestions in profile * Gate it * rm space * Remove header suggestions under gate
* Localize dates, counts (#5027)Eric Bailey2024-08-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | * refactor: consistent localized formatting * refactor: localized date time * refactor: localize relative time with strings * chore: fix typo from copy-paste * Clean up useTimeAgo * Remove old ago * Const * Reuse * Prettier --------- Co-authored-by: Mary <git@mary.my.id>
* Fix overflow on posts (#4899)Samuel Newman2024-08-081-1/+1
| | | | | | | | | | | | | | | | | * overflow posts, via contentHider * margin->padding for a bit more leeway * overflow notifications * overflow on header * revert from contenthider, put on text in all places * fix zalgo text in handle in composer --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-232-3/+4
| | | | | | | | | | | | | * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Remove invalid labelers when subscribing/unsubscribing (#4771)Eric Bailey2024-07-121-24/+26
| | | | | | | * Remove invalid labelers when subscribing/unsubscribing * Let the async lock cook * Use link to associate, leave copy as is
* Fix RTL text rendering for display names (#4747)Hailey2024-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * header display name rtl support * highlighted post rtl * move `NON_BREAKING_SPACE` to an external constant * rtl support in search dropdown * profile card rtl * old profile card rtl * hover card * wizard list card * new chat * account card * chat header * clean up notifications * just force LTR on meta display name
* Clicky newsky androidy (#4627)Eric Bailey2024-06-241-2/+2
| | | | | | | | | * Clicky newsky androidy * tweak --------- Co-authored-by: Hailey <me@haileyok.com>
* Starter Packs (#4332)Hailey2024-06-211-3/+3
| | | | | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Fix avi placeholder layout (#4570)dan2024-06-191-10/+10
|
* Bump labeler limit to 20 (#4565)Paul Frazee2024-06-191-3/+3
| | | | | | | | | | | * Increase the labeler subscription limit to 20 * Bump @atproto/api@0.12.20 * Fix: correctly count labeler subscriptions --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Disable newskie dialog tap in hover card web (#4562)Eric Bailey2024-06-181-2/+4
|
* Is it "newskie" or "newsky" 🤔 (#4557)Eric Bailey2024-06-181-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add newskie icon (cherry picked from commit 152e074ee053e076bf644e368047e486a5ad127c) (cherry picked from commit 8d2326f115c9c9d32aa1c41259bb81936b3868aa) * add size prop (cherry picked from commit af09ae2d8f4fedf8a50993e94b76efc44a2ef4ea) (cherry picked from commit 38dd38451bcce8afcf302ad1180802640857722a) * add a dialog for newskies to profiles (cherry picked from commit fe16f55e9c5e8faef540b563662b0c0c9a1d2d77) (cherry picked from commit c5b9f1b16ace276f422832069db076a5360616fe) * move newskie to handle (cherry picked from commit 150f2635b278a92ed67dcec748333b428aacb670) (cherry picked from commit 1efaaf835380f4e76d2e4b7fe8b727a92731a794) * use "say hello" in newskie dialog (cherry picked from commit d9a286cfc823a9e697061de84dd317625741a862) (cherry picked from commit 018dd1739fee68906dec63e05519f5ca9ae73910) * tweaks (cherry picked from commit 070363c947600c48368b01c776ea34fbf422f81e) (cherry picked from commit c30855d4ff311e31fb6ae357a9d6cd1662b291d5) * Tweaks * Re-export newskie icon * Design tweaks * Tweaks * Add source icon * Remove unused file * Remove unneeded edits * Simplify logic * Update source * Moderate displayName, fix createdAt type --------- Co-authored-by: Hailey <me@haileyok.com>
* Feed source card (#4512)Eric Bailey2024-06-141-1/+1
| | | | | | | | | | | | | | | * Pass event through click handlers * Add FeedCard, use in Feeds screen * Tweak space * Don't contrain rt height * Tweak space * Fix type errors, don't pass event to fns that don't expect it * Show unresolved RT prior to facet resolution
* Hide bio and social proof for blocked users (#4504)dan2024-06-131-1/+6
|
* Add KnownFollowers component to standard profile header (#4420)Eric Bailey2024-06-112-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add KnownFollowers component to standard profile header * Prep for known followers screen * Add known followers screen * Tighten space * Add pressed state * Edit title * Vertically center * Don't show if no known followers * Bump sdk * Use actual followers.length to show * Updates to show logic, space * Prevent fresh data from applying to cached screens * Tighten space * Better label * Oxford comma * Fix count logic * Add bskyweb route * Useless ternary * Minor spacing tweak --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Don't show profile labels until loaded (#4357)dan2024-06-041-9/+11
|