* 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
* show if user can be messaged
* allow 2 lines in handle field due to new text
* cannot -> can't
* rework canBeMessaged logic and move to new file
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* Refactor ChatListItem for mod state
* Refactor Conversation Header for mod state
* Invalidate query for list when blocking/unblocking
* Remove unused prop, restore border
* Add mutations, hook up profile shadow to list query, use shadow-aware query for convo (#4024)