status-desktop/ui/app/AppLayouts/Chat
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
..
controls feat(Community/Airdrop): MembersDropdown 2023-04-21 11:53:11 +02:00
helpers fix(CommunityPermissions): clean warnings by preventing assigning when some roles doesn't exist 2023-02-22 14:43:40 +01:00
layouts feat(MintToken): Created Preview collectible page 2023-03-07 13:24:45 +01:00
panels chore(StatusItemDelegate): api extended, internals improved 2023-04-21 10:26:00 +02:00
popups fix(StatusQ): StatusQ is QML module (#10207) 2023-04-14 11:18:56 +03:00
stores fix(chat): use proper section details data 2023-04-19 11:13:01 +02:00
views fix(chat-model): use setData to set the chat model 2023-04-24 11:06:17 -04:00
ChatLayout.qml fix(MembershipRequests): Remove MembershipRequestsPopup and set-up the navigation to CommunityMembersSettingsPanel 2023-04-07 11:21:34 +03:00
qmldir