status-desktop/ui/app/AppLayouts/Chat/views
Jonathan Rainville db6af0554a fix(chat-model): use setData to set the chat model
Fixes #10384

The problem was that doing the sort inside the insertRows messed up the model.
I removed it and it fixed the issues. However, it created an other issue with ordering.

The problem this time is that when populating the model at the start, we do not get the chats in order, so calculating the right position to insert a chat is difficult.

Instead, I use a setData function to just put all the chats in the items list, sort it and call it done, using the resetModel function.

I also did some clean ups.
2023-04-24 11:06:17 -04:00
..
communities fix(Wallet) network selection and unify network implementations 2023-04-20 19:34:24 +02:00
private
ChatColumnView.qml refactor(ChatContentView): only get contact details when 1-1 chat 2023-04-24 09:31:00 -04:00
ChatContentView.qml refactor(ChatContentView): only get contact details when 1-1 chat 2023-04-24 09:31:00 -04:00
ChatContextMenuView.qml fix(StatusPopupMenu): Refactoring 2022-12-02 10:30:50 +03:00
ChatHeaderContentView.qml fix(Chat): Fix pin popup and actions for communities and group chats 2023-03-28 11:05:07 -04:00
ChatMessagesView.qml fix(chat-model): use setData to set the chat model 2023-04-24 11:06:17 -04:00
ChatView.qml fix(StatusStickerPackClickPopup): fix crash 2023-04-18 13:45:38 +02:00
CommunityColumnView.qml feat(StatusChatList): adding drag n drop functionality 2023-04-19 12:26:15 -04:00
CommunitySettingsView.qml fix: do not display ENS name when not ENS verified 2023-04-21 00:24:32 +02:00
ContactsColumnView.qml refactor(chats): separate calls to getChats for each section 2023-03-24 13:05:19 -04:00
CreateChatView.qml feat(ActivityCenter): Add indication for visited/unvisited AC state 2023-02-17 16:13:43 +04:00
MembersEditSelectorView.qml fix(MembersListSelectro): tag item should be removed only when x is clicked 2023-04-05 15:30:04 +03:00
MembersSelectorView.qml fix(MembersListSelectro): tag item should be removed only when x is clicked 2023-04-05 15:30:04 +03:00
MessagesLoadingView.qml feat:(@desktop/channels): loading state when switching channels/chats 2023-03-28 13:12:58 -04:00
qmldir