about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Support for Flickr album and group pool embeds (#3936)Thomas Dickerson2024-06-032-0/+77
| | | | | | | | | | | | | | | * Support for Flickr album and group pool embeds * Oops, forgot to add flickr to the persisted externalEmbeds schema * Need a bigint since our id can have more than 52 bits... * Remove unexpected trailing / from test data to match the expected behavior * nits --------- Co-authored-by: Hailey <me@haileyok.com>
* Composer - add animated bottom border (#4325)Samuel Newman2024-06-043-27/+129
| | | | | | | | | | | | | | | | | | | * 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-036-46/+38
|
* remove resolution from post thread (#4297)Hailey2024-06-036-64/+111
| | | | | | | | | | | | | | | | | | | | | * remove resolution from post thread nit completely remove did cache lookup move cache check for did to `usePostThreadQuery` remove resolution from post thread * helper function * simplify * simplify search too * fix missing check for root or parent quoted post 🤯 * fix thread traversal
* Fix filtering uris of fetchSubjects (#4324)Yoshihiro Sugi2024-06-031-1/+1
|
* use the new icon in reposted by (#4307)Hailey2024-06-031-8/+7
| | | | | * use the new icon in reposted by * tweak
* truncate if extending one line acct switcher (#4310)Hailey2024-06-031-3/+3
|
* don't use flexBasis on web for message post embeds (#4303)Hailey2024-06-031-2/+2
| | | | | * don't use flexBasis on web * rm unnecessary style
* Revert "[🐴] Embed backwards compat (#4302)" (#4338)Eric Bailey2024-06-032-4/+45
| | | This reverts commit f868821cfcc87b62a320e5a1e11375fdb973adc1.
* 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
* [🐴] add emoji multiplier prop to RichText and bump it up for DMs (#4229)Samuel Newman2024-05-312-28/+36
| | | | | | | | | | | | | | | | | | | * add emoji multiplier prop to RichText and bump it up for DMs * remove background if only emoji * Handle more emoji * Adjust emoji regex and length * Fix bad merge conflict res * Fix logic * Revert to emoji specific regex --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Tweak avi follow button styles (#4304)Eric Bailey2024-05-314-13/+42
| | | | | | | | | | | * Tighten up * Tweak colors * Tweak for night mode * Add missing file * Contrast plus
* [🐴] Embed backwards compat (#4302)Eric Bailey2024-05-312-45/+4
|
* [🐴] Add labels to chats (#4293)Eric Bailey2024-05-313-44/+74
| | | | | | | | | | | * Add labels to chat list * Add to convo header * Prevent click through on PostAlert buttons * Fix space * Fix alignment
* [🐴] Option to share via chat in post dropdown (#4231)Samuel Newman2024-05-3119-400/+706
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-316-58/+225
| | | | | | | | | | | | | | | | | | | | | | | * 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-317-51/+99
| | | | | * send record via link in text * re-trim text after removing link
* Use new icons on notifications screen (#4299)Samuel Newman2024-05-316-690/+51
| | | | | | | * use new icons on notif screen * replace placeholder icon too * cull unused legacy icons
* Composer - fix modals, and other tweaks (#4298)Samuel Newman2024-05-3111-220/+268
| | | | | | | | | | | | | | | | | | | * 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-316-11/+149
|
* Change many border widths from `1` to `hairlineWidth` (#4294)Hailey2024-05-3133-143/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-3113-36/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Don't log downsample warning when unnecessary (#4291)Hailey2024-05-311-7/+10
| | | | | | | | | | | * fix log use process.env ensure the log happens regardless of `isDownsampledSession` fix log * oops, revert test
* [Statsig] Sample noisy events (#4288)dan2024-05-307-21/+41
| | | | | | | * 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-302-2/+6
|
* put dropdown in fullscreenoverlay on iOS (#4284)Samuel Newman2024-05-303-25/+37
|
* 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-304-25/+51
| | | | | | | * 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-308-148/+17
| | | | | | | | | * 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-304-96/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-303-4/+8
|
* Improve the visual clarity of labels on profiles and posts (#4262)Paul Frazee2024-05-305-23/+66
| | | | | * 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-303-4/+21
| | | | | | | | | | | | | | | | | * 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>
* adjust notifications experiment by removing `canAskAgain` (#4271)Hailey2024-05-304-48/+47
| | | | | * adjust notifications experiment by removing `canAskAgain` * move to `StepFinished` for after onboarding
* Use ALF for post controls (#3400)Samuel Newman2024-05-3010-285/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-293-10/+8
|
* Add statusBarTranslucent prop (= true) to KeyboardProvider in App.native.tsx ↵Eiichi Yoshikawa2024-05-291-1/+1
| | | | (#4208)
* Native translation expo module (#4098)Samuel Newman2024-05-283-8/+42
| | | | | | | | | | | | | | | | | | | | | | * 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>