about summary refs log tree commit diff
path: root/src/screens/Messages/List/ChatListItem.tsx
Commit message (Collapse)AuthorAgeFilesLines
* [🐴] Add labels to chats (#4293)Eric Bailey2024-05-311-0/+7
| | | | | | | | | | | * Add labels to chat list * Add to convo header * Prevent click through on PostAlert buttons * Fix space * Fix alignment
* [🐴] update convo list from message bus (#4189)Samuel Newman2024-05-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* stop line breaks for timeelapsed (#4191)Samuel Newman2024-05-231-0/+2
|
* [🐴] Fix convo menu overlap (web) (#4153)Samuel Newman2024-05-211-26/+19
| | | | | * add right padding to chatlistitem to avoid overlap * reduce padding amount
* [🐴] Empty chat prompt (#4132)Eric Bailey2024-05-201-2/+5
| | | | | | | | | | | | | | | | | | | * Add empty chat pill * Tweak padding * move to `components`, place inside `KeyboardStickyView` * cleanup unused vars * add a new animation type * (unrelated) add haptic to long press * adjust shrink and pop --------- Co-authored-by: Hailey <me@haileyok.com>
* [🐴] Add new chat metrics (#4130)Hailey2024-05-201-11/+17
| | | | | | | | | | | | | | | * remove a comment * add types for event, add log to profile button * add `chat:open` * add to chat list items * fix types * oops * oops 2.0
* [🐴] Handle deleted accounts, restructure ChatListItem (#4114)Eric Bailey2024-05-201-99/+120
| | | | | | | | | | | | | * Handle deleted accounts, restructure ChatListItem * Remove triggerOpacity option * account for handle change in screen reader * simplify the check --------- Co-authored-by: Hailey <me@haileyok.com>
* [🐴] Screenreader accessibility actions for individual chat items (#4116)Hailey2024-05-201-2/+16
| | | | | | | | | | | | | * add accessibility tap to messages * add a label for the accessibility action * improve accessibility actions on chat list items * adjust types * more consistent wording * make the strings localizable
* [🐴] Minor nits (#4102)Hailey2024-05-181-2/+9
| | | | | | | | | * set a better size for `initialNumToRender` * memo list items * scroll to end on both platforms * rev
* [🐴] Block Info (#4068)Hailey2024-05-171-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 (#4082)Samuel Newman2024-05-171-5/+7
| | | | | | | | | | | | | * 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>
* [🐴] Show if user can be messaged in new chat search (#4021)Samuel Newman2024-05-151-9/+9
| | | | | | | | | | | | | * 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>
* [🐴] Block states, read only (#4022)Eric Bailey2024-05-141-17/+53
| | | | | | | | | | | * 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)
* [🐴] show deleted account for `missing.invalid` (#4014)Hailey2024-05-141-10/+15
| | | | | * show deleted account for `missing.invalid` * sigh
* Fix dep (#4011)Eric Bailey2024-05-141-1/+1
|
* [🐴] Chat muted state (#3988)Samuel Newman2024-05-141-0/+209
* separate out chatlistitem and add muted icon * move bell icon to the right of the timeelapsed