You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a function getChatNotifications(chatId:UUID) and merge the result with get_chat_history result (sorted by datetime) with a function: mergeChatHistoryAndNotifications(chatHistory: List[ChatHistory], notifications:List[Notification]) -> List[ChatItem]
Where ChatItem is:
{
type:enum(Notification or Message),
body: ChatHistory | Notification
}
Update the frontend
a. In chat repo, update getHistory return type
b. Temp: add a function with returns from getHistory result, ChatHistory[]
On delete chat endpoint, before deleting the chat entity, remove related notifications
Schema
Tech
[] To-do
Tests
[] it ...
Validation Checks
Go to chat page
Feed your brain
Refresh the page to reload chat history
In network, check that /GET history result contains notifications with relevant statuses and messages
The text was updated successfully, but these errors were encountered:
Epic
#849
Functional
get_chat_history
result (sorted bydatetime
) with a function: mergeChatHistoryAndNotifications(chatHistory: List[ChatHistory], notifications:List[Notification]) -> List[ChatItem]Where ChatItem is:
Update the frontend
a. In chat repo, update
getHistory
return typeb. Temp: add a function with returns from getHistory result, ChatHistory[]
On delete chat endpoint, before deleting the chat entity, remove related notifications
Schema
Tech
Tests
Validation Checks
/GET history
result contains notifications with relevant statuses and messagesThe text was updated successfully, but these errors were encountered: