* 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>
* 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
* 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 `content-visibility` style
* change to `disableContentVisibility`
* lint
* tweaks
* Keep the fix more general
* Clarify ambiguity
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* 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>
* Add build config plugin to set .MainActivity launchMode
* Change android:launchMode to standard
* Revert "Change android:launchMode to standard"
This reverts commit fddbc4e1b512ff9a55009e227f1f44e99ddabaf3.
* adjust
---------
Co-authored-by: Hailey <me@haileyok.com>
* 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>
* bump and rm patch
* use the better settings
* fix types
* remove animation duration
* try it with full screen
* thanks mozz - use `ios` only on android
* maybe a little duration
* slightly faster duration
* Revert "fix types"
This reverts commit d15d4b7a9b59da6d45211bfc4b526c5701db83c6.
* Revert "bump and rm patch"
This reverts commit 571f85f9e5b7e1381ac9477db6e551dff65e80ce.
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* use custom github action for fingerprinting
* update pr workflow
* update names of workflows
* make a native change (testing)
* adjust the action
* Revert "make a native change (testing)"
This reverts commit 8db98357330c24b4ac89b795dc73e3d84a29d9af.
* update bundle-deploy script
* test a prod build
* crazy depth
* manually set
* use prod default
* force prod
* revert test changes
* save cache after deploy
* revert testing
* Updated Japanese translation
* Updated Japanese translation to resolve conflicts and updated msg
* Updated Japanese translation
ref. #4145
* changed the "Clip clop" translation
* Updated Japanese translation
* Updated Japanese translation
* Updated Japanese translation
* update convo list from message bus
* don't increase unread count if you're the sender
* add refetch interval back
* Fix deleted message state copy
* only enable if `hasSession`
* Fix logged out handling
* increase refetch interval to 60s
* request 10s interval when message screen active
* use useAppState hook for convo resume/background
* Combine forces
* fix useFocusEffect logic
---------
Co-authored-by: Eric Bailey <git@esb.lol>
move this to the `onKeyDown` prop
Revert "do the same for tablets"
This reverts commit 47c709e2734f2acf34f89dd5aca42a75a2b56270.
do the same for tablets
don't submit message if the device is a phone on web
move `onTouchStart` to `browser.ts` globals