* 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
* Revert "[🐴] Ensure keyboard gets dismissed when leaving screen (#4104)"
This reverts commit 3ca671d9aa.
* 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
* handle keyboard scroll more elegantly
simplify
missing `runOnUI`
better naming to avoid confusion
nit
remove unused function
use `dispatchCommand` in `onContentSizeChanged` as well
use `dispatchCommand` so we don't need to know the content height
remove `isMomentumScrolling`
* better timing
* nit
* another nit
* handle message input resizes better too
* account for other size changes like emoji keyboard opening
* one last nit
* just adding comments
* account for dragging
* make it easier to read
* add a comment
* 🤦♀️
* remove a little bit of that padding at the top
* disable badge increments for dms
* revert decrementing in js for dms
* reset badge on read notifications
* remove some other code
* prevent duplicate notification events
* Checkpoint, header styled, empty
* Checkpoint, styles
* Show recent follows in initial state, finesse some styles
* Add skeleton
* Add some limits
* Fix autofocus on web, use bottom sheet input on native
* Ignore type
* Clean up edits
* Format
* Tweak icon placement
* Fix type
* use prop for dismissing keyboard
---------
Co-authored-by: Hailey <me@haileyok.com>
* get the damn thing in there 😮💨
* more cleanup and little fixes
another nit
nit
small annoyance
add a comment
only use `scrollTo` when necessary
remove now unnecessary styles
* move padding out
* add unblock function
* rm need for moderationpts
* ?
* ??
* extract leaveconvoprompt
* move `setHasScrolled` to `onContentSizeChanged`
* account for block footer
* wrap up
nit
make sure recipient is loaded before showing
refactor to hide chat input
typo squigglie
add report dialog
finalize delete
implement custom animation
add configurable replace animation
add leave convo to block options
* correct functionality for report
* moev component to another file
* maybe...
* fix chat item
* improve
* remove unused gtmobile
* nit
* more cleanup
* more cleanup
* fix merge
* fix header
* few more changes
* nit
* remove old
* don't include blocked convos in unread count
* Use moderateProfile
* Handle blocked state in chat list
* Fix logic formatting, add todo
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* remove type assertion
* DMs NUX
* delete button for testing
* tweak styles and copy
* rm log
* style tweaks
* reduce amount of words
* Fix not showing on first load
* Spacing tweaks
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* more cleanup and little fixes
another nit
nit
small annoyance
add a comment
only use `scrollTo` when necessary
remove now unnecessary styles
* move `setHasScrolled` to `onContentSizeChanged`
* account for block footer
* use `scrollTo`
* let the animated reaction handle keyboard scroll
* no need for `requestAnimationFrame` now
* 'worklet'
* nit
* fixes
* more nits
* bool check
* Handle block state when sending messages
* Handle different pending failures
* Use existing profile data to handle blocks
* Better cleanup, leave room for more
* Attempt recover upon next send
* Reset pending failure
* Capture unexpected error
* Gracefully handle network errors and recovery
* Re-align error components and types
* Include history fetching in recoverable states
* maintain position after foreground
* one possibility
* don't overscroll when content size changes.
* ignore the rule on 1 item
* fix
* [🐴] Pill for additional unreads when coming from background (#4043)
* create a pill with some animatons
* add some basic styles to the pill
* make the animations reusable
* bit better styling
* rm logs
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* import
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* remove library
* implement using just reanimated
* always return false for `keyboardIsOpening` on web
* undo comment
* handle input focus scroll more elegantly
* add back minimal shell toggle on mobile web
* adjust initialnumtorender
* oops
* nit