about summary refs log tree commit diff
path: root/src/state/queries/messages/conversation.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix: typo in filename list-converations (#7036)Renan Mav2024-12-101-2/+2
|
* Reduce `listConvos` requests (#6378)Eric Bailey2024-11-151-3/+36
| | | | | | | | | | | | | * Reduce page size for request * Remove refetch interval entirely * Add comment * Optimistically mark as read * Drop default active poll interval to 60s from 5min * Only optimistically update unread count if success
* Sort imports (#6009)dan2024-10-291-1/+1
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* Replace getAgent() with reading agent (#4243)dan2024-05-281-4/+4
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [🐴] infinite stale time (#4051)Hailey2024-05-161-0/+2
|
* [🐴] Swap in new package, update usages (#3992)Eric Bailey2024-05-141-15/+10
| | | | | | | * Swap in new package, update usages * Remove uneccessary patch * Override type in safe place
* [🐴] Mutate data instead of invalidating queries when muting or unmuting ↵Hailey2024-05-101-4/+9
| | | | | | | | | | | | | | | | | | | | | (#3946) * mutate for mutes * mutate data for mutes * add initial data, `useConvoQuery` in `ConvoMenu` * `useInitialData` * don't use `identifier` for notifications, use `dates` instead * better implementation * simplify * simplify * fix types
* actually optimistic mark as read (#3917)Samuel Newman2024-05-081-4/+9
|
* [🐴] Mark as read in convo menu (#3913)Samuel Newman2024-05-081-7/+5
| | | | | | | * add mark as read option * optimistic update + link up menu * rm messageid
* [🐴] Unread messages badge (#3901)Samuel Newman2024-05-071-1/+35
| | | | | | | | | | | | | | | | | | | | | * add badge * move stringify logic to hook * add mutation hooks * optimistic mark convo as read * don't count muted chats * Integrate new context * Integrate mark unread mutation * Remove unused edit --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [Clipclops] 2 Clipped 2 Clopped (#3796)Eric Bailey2024-05-011-0/+25
* Add new pkg * copy queries over to new file * useConvoQuery * useListConvos * Use useListConvos * extract useConvoQuery * useGetConvoForMembers * Delete unused * exract useListConvos * Replace imports * Messages/List/index.tsx * extract getconvoformembers * MessageItem * delete chatLog and rename query.ts * Update import * Clipclop service (#3794) * Add Chat service * Better handle deletions * Rollback unneeded changes * Better insertion order * Use clipclops * don't show FAB if error * clean up imports * Update Convo service * Remove temp files --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>