about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix scrolling for labeler profiles (#4286)dan2024-05-302-10/+5
|
* Reduce Threadgate button size (#4287)dan2024-05-301-1/+1
|
* put dropdown in fullscreenoverlay on iOS (#4284)Samuel Newman2024-05-302-22/+33
|
* play haptics before closing modal (#4283)Samuel Newman2024-05-302-12/+8
|
* match loadmore position to fab (#4280)Samuel Newman2024-05-302-13/+22
|
* Composer - Use sheet presentation on iOS (#4278)Samuel Newman2024-05-302-10/+8
| | | | | | | * use sheet presentation + tweak spacing * line up elements + add hitslop to cancel * fixing spacing on replies
* don't maintain position whenever there are no parents (#4277)Hailey2024-05-301-1/+3
|
* Composer - fix divider when replying to someone (#4279)Samuel Newman2024-05-302-7/+13
| | | | | | | * move replyto border to beneath * use hairline width for consistency * fix border colors
* only show divider when scrolled (#4275)Samuel Newman2024-05-302-19/+54
|
* Post controls update followup (#4276)Samuel Newman2024-05-305-139/+9
| | | | | | | | | * rm legacy repost modal * make repost button transparent * reduce gap between post and ctrls * remove old repost modal on web
* Use `<Modal>` for Composer (#3588)Samuel Newman2024-05-302-27/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use <Modal> to display composer * trigger `onPressCancel` on modal cancel * remove android top padding * use light statusbar on ios * use KeyboardStickyView from r-n-keyboard-controller * make extra bottom padding ios-only * make cancelRef optional * scope legacy modals * don't change bg color on ios * use fullScreen instead of formSheet * adjust padding on keyboardaccessory to account for new buttons * Revert "use KeyboardStickyView from r-n-keyboard-controller" This reverts commit 426c812904f427bdd08107cffc32e4be1d9b83bc. * fix insets * tweaks and merge * revert 89f51c72 * nit * import keyboard provider --------- Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* scale down FAB on press (#4259)Samuel Newman2024-05-301-20/+30
|
* Interpret 'hide' setting as ALWAYS hiding from thread replies (#4263)Paul Frazee2024-05-302-3/+4
|
* Improve the visual clarity of labels on profiles and posts (#4262)Paul Frazee2024-05-302-2/+3
| | | | | * Update PostAlerts rendering to show the avi of the labeler rather than the display name; also add size variations * Update ProfileHeaderAlerts to match PostAlerts behavior
* Use a margin of -6 instead of -5 for PostCtrls 😵‍💫 (#4272)Hailey2024-05-302-2/+2
| | | | | * -6 instead of -5 😵‍💫 * same here
* Always show the header on post threads on native (#4254)Hailey2024-05-303-190/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * always show header on native * ALF ALF ALF * rm offset for top border * wrap in a `CenteredView` * use `CenteredView`'s side borders * account for loading state on web * move `isTabletOrMobile` * hide top border on first post in list * show border if parents are loading * don't show top border for deleted or blocked posts * hide top border for hidden replies * Rm root post top border --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add prop to ListImpl for disabling `content-visibility` style (#4236)Hailey2024-05-302-4/+18
| | | | | | | | | | | | | | | | | * add prop to `ListImpl` for `content-visibility` style * change to `disableContentVisibility` * lint * tweaks * Keep the fix more general * Clarify ambiguity --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Use ALF for post controls (#3400)Samuel Newman2024-05-306-283/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * alf the repost dropdown on web + import icons * alf like icon * convert other post controls * add missing padding to share button * refine buttons and use better icons * revert buttonicon changes * remove ButtonIcon and ButtonText from repost dialog * use 15px font size when not big * reduce size and use contrast_25 * add hover state to logged out view * add `userSelect: 'none'` to buttons * use width rather than height * fix quote close behaviour * prettier * Fix Esc on repost * Use new icons for placeholder * Fix placeholder --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* fix: don't round up count, truncate (#4261)Mary2024-05-291-0/+4
|
* match web version exports (#4257)Samuel Newman2024-05-291-10/+2
|
* Native translation expo module (#4098)Samuel Newman2024-05-282-8/+40
| | | | | | | | | | | | | | | | | | | | | | * translation expo module * add `onClose` and `onReplacementAction` * rm onReplacementAction * make all props published * make translation api available globally w/o wrapper (#4110) * conditionally import the translation module * only use native translation if language is probably supported * open native translation via dropdown menu --------- Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Alt text followups -- SLIGHTLY larger, and update gifs (#4252)Paul Frazee2024-05-293-8/+8
| | | | | * Bump up the alt text indicator's text size just a smidge * Update the GIF alt indicator to match images (right side, visually smaller on mobile)
* Bump `react-navigation` (#4216)Hailey2024-05-291-2/+3
| | | | | | | | | | | * bump and rm patch * fix types * use `Home` default --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Upgrade to Expo 51 and React Native 0.74 (#3980)Hailey2024-05-292-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upgrade packages * remove `expo-image-picker` patch * remove old expo-updates patch * rename rn patch * downgrade crop picker * bump `ExpoGifView` `SDWebImage` version * apply config changes * update build docs for apple silicon * update build docs for apple silicon * update expo-updates patch * add back patch readme * bump `expo-dev-client` * bump `babel-preset` * update `babel.config.js` * update `react-native-paste-input` patch * remove old ota updates hook * update types * update types * downgrade pager-view * update animated ref type * fix web-only type * update `react-native-bottom-sheet` `BottomSheetTextInput` * add `expo-application` to jest mocks * remove reanimated patch * update notifications patch * update reanimated path * fix import * update yarn.lock * use `ItemT` instead of `any` * expo bump * Revert logic change, fix types * Fix JSON file --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Remove old onboarding (#4224)dan2024-05-281-6/+0
| | | | | | | | | | | * Hardcode onboarding_v2 to true, rm dead code * Rm initialState, use initialStateReduced * Rm dead code * Drop *reduced prefix in code * Prettier
* Replace getAgent() with reading agent (#4243)dan2024-05-289-34/+33
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* set `onEndReachedThreshold` to `2` for notifications (#4235)Hailey2024-05-281-1/+1
|
* Move ALT indicator right and shrink it a bit (#4213)Paul Frazee2024-05-242-4/+4
|
* Include feedContext in DOM as data- (#4206)dan2024-05-242-1/+3
|
* Improve moderation behaviors: show alert/inform sources and improve UX ↵Paul Frazee2024-05-244-22/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | around threads (#3677) * Dont show account or profile alerts and informs on posts * Sort threads to put blurred items at bottom * Group blurred replies under a single 'show hidden replies' control * Distinguish between muted and hidden replies in the thread view * Fix types * Modify the label alerts with some minor aesthetic updates and to show the source of a label * Tune when an account-level alert is shown on a post * Revert: show account-level alerts on posts again * Rm unused import * Fix to showing hidden replies when viewing a blurred item * Go ahead and uncover replies when 'show hidden posts' is clicked --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Privileged app passwords (#4200)Samuel Newman2024-05-231-81/+98
| | | | | | | | | | | | | | | | | | | * add checkbox to create privileged app password * add indicator to privileged app pwds to list * bump api * oops missed the yarnlock * adjust modal padding * lowercase * one more lowercase --------- Co-authored-by: Hailey <me@haileyok.com>
* Remove `getProfile` calls when loading feed (#3881)Hailey2024-05-232-56/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove unnecessary `getProfile()` calls from feed load add comments ensure only if first simplify nit handle cases where the parent is removed add a comment remove unnecessary `getProfile()` calls from feed load limit only to the first post in the returned items move the logic out of the render and into the query add the grandparent properly update `FeedItem` bump package update `FeedItem` update `post-feed` query update `FeedSlice` * nit * simplify logic * always pass `parentAuthor` * oops! * update `DebugMod`
* disable alt text auto focus on Android (#4198)Hailey2024-05-231-1/+2
| | | | | * disable alt text auto focus on Android * revert timeout change
* Add padding to dialogs when keyboard is open on Android (#4182)Hailey2024-05-232-0/+4
| | | | | | | | | * add keyboard padding to android dialogs * missing `keyboardDismissMode` for `ScrollableInner` * add to `MutedWords` * add to `LabelsOnMe`
* implement a safari hack for ime (#4186)Hailey2024-05-231-2/+1
| | | | | | | | | remove debug logs use a better hack implement a safari hack extract `isSafari` and `isFirefox` to a global variable
* Cleanup gates (#4170)dan2024-05-221-10/+3
| | | | | | | | | * Unlaunch disable_poll_on_discover_v2 * Rm unused gates * Unlaunch autoexpand_suggestions_on_profile_follow_v2 * Launch disable_min_shell_on_foregrounding_v3
* don't use `contentVisibility` on Firefox (#4164)Hailey2024-05-221-1/+2
|
* Switch to a more visually obvious button for the threadgate (#4139)Paul Frazee2024-05-202-47/+35
| | | | | | | * Switch to a more visually obvious button for the threadgate * Move threadgate button into the keyboard-sticky area * Fix keyboard offset
* Release 1.83 (#4136)Paul Frazee2024-05-201-0/+6
| | | | | * Test fixes * Run intl:extract
* Fix laggy scrolling on mobile app's home screen, etc. (#4108)Pokai Chang2024-05-211-5/+12
| | | | | | | | | | | * Improve scrolling performance for List * Update List.tsx * Apply same fix to profile labels --------- Co-authored-by: dan <dan.abramov@gmail.com>
* [Statsig] Fix exposure logging for reduced onboarding (#4131)dan2024-05-211-2/+2
| | | | | | | * Add dangerouslyDisableExposureLogging option * Rename onboarding gate to v2 * Disable exposure logging for onboarding in PostFeed query
* Allow removal of feeds that fail to load (#4121)Eric Bailey2024-05-201-2/+2
|
* [🐴] DM button on profile (#4097)Samuel Newman2024-05-201-17/+17
| | | | | | | | | | | | | * add profile button * separate out button to component * normalise subscribe to labeller button size * infinite staletime * use Link rather than Button and change icon * adjust icon position
* [🐴] Fully implement keyboard controller (#4106)Hailey2024-05-191-162/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "[🐴] Ensure keyboard gets dismissed when leaving screen (#4104)" This reverts commit 3ca671d9aacb6137e10e2cf3cd9bc170af798389. * getting somewhere * remove some now nuneeded code * fully implement keyboard controller * onStartReached check * fix new messages pill alignment * scroll to end on press * simplify pill scroll logic * update comment * adjust logic on when to hide the pill * fix backgrounding jank * improve look of deleting messages * add double tap on messages * better onStartReached logic * nit * add hit slop to the gesture * better gestures for press and hold * nits
* [🐴] delete chat service account on account delete (#4056)Samuel Newman2024-05-171-0/+11
| | | | | | | | | * delete chat service account on account delete * Add proxy header --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] Copy tweaks (#4042)Hailey2024-05-161-3/+3
| | | | | | | | | * `notifications` -> `conversation` * `users` -> `people` * `other participants` -> `the other participant` * rename
* [🐴] Disable hover card when blocked or blocking (#4041)Hailey2024-05-161-2/+4
|
* 100vh settings screen (#4015)Samuel Newman2024-05-142-3/+13
|
* [🐴] Settings screen (#3830)Samuel Newman2024-05-142-4/+6
| | | | | | | | | * create settings screen + api * update api package * use putrecord API with validate false * create new RadioGroup component
* Add better onboard testing (#4007)Paul Frazee2024-05-131-1/+18
|