about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix: visually indicate when quoted content is labeled (#4369)Paul Frazee2024-06-051-2/+4
|
* Fix a few border nits (#4349)Hailey2024-06-041-1/+6
| | | | | | | | | | | | | | | * replace w/ hairline width * no border for placeholder * few notifications screen fixes tablet * still show the border on desktop * Simp --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix forwarded ref (#4348)dan2024-06-041-9/+12
|
* Fix missing top borders (#4346)dan2024-06-043-13/+5
|
* allow nested quotes in DMs (#4345)Samuel Newman2024-06-042-28/+26
|
* Composer - unbork web (#4344)Samuel Newman2024-06-041-11/+2
| | | | | | | * reduce side gap + add overflow hidden also remove the animations since they don't appear in prod, and are kinda broken * removed fixed height to fix alt text
* Composer - make bottom border more consistent when typing (#4343)Samuel Newman2024-06-041-10/+10
| | | | | | | | | | | * floor values * fix last line being obscured * Rm unnecessary runOnUI --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [🙅] Disambiguation of the deactivation (#4267)Eric Bailey2024-06-041-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disambiguation of the deactivation * Snapshot crackle pop * Change log context * [🙅] Add status to session state (#4269) * Add status to session state * [🙅] Add new deactivated screen (#4270) * Add new deactivated screen * Update copy, handle logout * Remove icons, adjust padding * [🙅] Add deactivate account dialog (#4290) * Deactivate dialog (cherry picked from commit 33940e2dfe0d710c0665a7f68b198b46f54db4a2) * Factor out dialog, add to delete modal too (cherry picked from commit 47d70f6b74e7d2ea7330fd172499fe91ba41062d) * Update copy, icon (cherry picked from commit e6efabbe78c3f3d9f0f8fb0a06a6a1c4fbfb70a9) * Update copy (cherry picked from commit abb0ce26f6747ab0548f6f12df0dee3c64464852) * Sizing tweaks (cherry picked from commit fc716d5716873f0fddef56496fc48af0614b2e55) * Add a11y label
* Native `formSheet` for GIF select on iOS (#4328)Samuel Newman2024-06-042-9/+7
| | | | | | | | | * native formsheet for gif select * trigger confirm discard if have gif * give modal a background color * fix web top bar - unrelated but I cba to make a separate PR
* Composer - add animated bottom border (#4325)Samuel Newman2024-06-042-26/+128
| | | | | | | | | | | | | | | | | | | * start adding bottom border (wip) * add content change listener * add layout listener and move to hook * remove logs * use square-er image icon * visually align bottom bar icons * reduce keyboard vertical offset slightly * only add border to top/bottom * run worklet function on UI thread
* Avi follow experiment tweaks (#4341)dan2024-06-043-14/+13
| | | | | | | * Move avi button to visually align content * Fix wrong prop warning * Remove avi follow from post thread
* fix top border width for user list updates (#4340)Hailey2024-06-031-25/+30
| | | | | | | | | | | | | | | | | * fix nits in add/remove users from list screen invert check use `ViewHeader` simplify replace with hairline width fix top border width for user list updates * dont use `ViewHeader` * update one more hairline
* Unify profile tabs and lists screens placeholders (#4315)Bartosz Kaszubowski2024-06-035-40/+32
|
* use the new icon in reposted by (#4307)Hailey2024-06-031-8/+7
| | | | | * use the new icon in reposted by * tweak
* hide top border for mentions and replies (#4330)Hailey2024-06-032-2/+12
|
* fix accessibility label in notifications (#4305)Hailey2024-05-313-49/+93
| | | | | | | | | | | | | | | | | | | * fix accessibility label in notifications * add accessibility options to expand post * inherit from outside, but always include `activate` * include option to disable label/hint on previewable avatar * fix hidden elements still being read on voiceover * make it work for followers too * extract variable * fix hint * update wording elsewhere
* Tweak avi follow button styles (#4304)Eric Bailey2024-05-311-5/+18
| | | | | | | | | | | * Tighten up * Tweak colors * Tweak for night mode * Add missing file * Contrast plus
* [🐴] Option to share via chat in post dropdown (#4231)Samuel Newman2024-05-313-8/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add send via chat button to post dropdown (cherry picked from commit d8458c0bc344f993266f7bc7e325d47e40619648) * let usePostQuery take uris with DIDs (cherry picked from commit 16b577ce749fd07e1d5f8461e8ca71c5b874a936) * add embed preview in composer (cherry picked from commit 795ceb98d55b6a3ab5b83187a582f9656d71db69) * rm log (cherry picked from commit 374d6b8869459f08d8442a3a47d67149e8d9ddd4) * remove params properly, or at least as close to (cherry picked from commit c20e0062c2ca4d9c2b28324eee5e713a1a3ab251) * show images in preview (cherry picked from commit 5bb617a3ce00f67bfc79784b2f81ef8dcb5bfc25) * Register embed immediately (cherry picked from commit ee120d5438a2c91c8980288665576d6a29b4c7e7) * Add hover to match embeds (cherry picked from commit 5297a5b06e499f46a9f6da510124610005db2448) * Update post dropdown copy (cherry picked from commit bc7e9f6a4303926a53c5c889f1f1b136faf20491) * Embed preview style tweaks (cherry picked from commit 9e3ccb0f25ac2f3ce6af538bb29112a3e96e01b1) * use hydrated posts from API and just use postembed component (cherry picked from commit cc0b84db87ca812d76cc69f46170ae84cfdde4ef) * fix type error (cherry picked from commit 9c49b940e1248e8a7c3b64190c5cb20750043619) * undo needless export (cherry picked from commit 1186701c997c50c0b29a809637cb9bc061b8c0a0) * fix overflow (cherry picked from commit 8868d5075062d0199c8ef6946fabde27e46ea378) --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] Record message (#4230)Samuel Newman2024-05-312-9/+27
| | | | | | | | | | | | | | | | | | | | | | | * send record via link in text * re-trim text after removing link * record message * only show copy text if message + add translate * reduce padding * adjust padding * Tweak spacing * Stop clickthrough for hidden content * Update bg to show labels --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] send record via link in text (Record DMs - base PR) (#4227)Samuel Newman2024-05-311-17/+3
| | | | | * send record via link in text * re-trim text after removing link
* Use new icons on notifications screen (#4299)Samuel Newman2024-05-313-55/+46
| | | | | | | * use new icons on notif screen * replace placeholder icon too * cull unused legacy icons
* Composer - fix modals, and other tweaks (#4298)Samuel Newman2024-05-317-163/+175
| | | | | | | | | | | | | | | | | | | * fix depreciated import * add animations to old dropdown * wrap modals in fullwindowoverlay * move errors inside header * add background to bottom bar and stop overlap * nest dialogs on android * fix android (wrap in gesturehandlerrootview) * make borders all the same color * revert threadgate button back to solid
* Shadows (#4265)Eric Bailey2024-05-311-6/+2
|
* Change many border widths from `1` to `hairlineWidth` (#4294)Hailey2024-05-3124-91/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feed items * update some more * moar * profile card * composer and notifications * settings screen * remove border from first item in feeds * remove border from first item in feeds * more removal of top border * fix flatlist rendering * oops * scroll to top fab * a.border * centeredview/list * placeholder * web sidebar * search posts * feeds list * user lists * list header * account list width 1 * hide top border feedgens * same for lists * fix tab bar web desktop * wait... * show the border on desktop web * fix lists * fix lists * round
* Add follow button to feed item avatar (#3560)Samuel Newman2024-05-316-22/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add follow button to feed item avatar * remove confirmation * add confirmation (just system alert) * Shrink the avi follow indicator a smidge * gate the follow button * remove from your own posts * add to post thread item * hide the follow button locally to component * Use native dropdown * Add follow btn to notifications and search * UI tweaks * Hide on PWI * Add toast for confirmation * Check gate last * compiler * Rm unused * Use names --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Statsig] Sample noisy events (#4288)dan2024-05-304-10/+13
| | | | | | | * Sample state:background and state:foreground * Sample feed events * Add DEV protection against forgetting to add events to the list
* 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>