36 Commits

Author SHA1 Message Date
Sale Djenic
aeed9303cd fix(@desktop/communities): community import has some issues
Fixes #4206
2022-02-03 16:14:15 +01:00
Jonathan Rainville
b6c78396f8 chore(community): remove pinned messages button in
Fixes #4617
2022-02-02 09:40:21 -05:00
Boris Melnik
f3485446c3 fix(groups): Add popup to view group ccontext menu action
Closes: #4616
2022-02-01 11:51:31 +01:00
Noelia
50fb0dc45f fix(@desktop/CopyToClipboard): [base_bc] can't copy from Invite friends as well as App Version and Node Version
Root store propagation in order to use the global copyToClipboard method.

Modify InviteFriendsPopup to use StatusQ components.

Fixes #4529
2022-02-01 11:51:00 +01:00
Jonathan Rainville
47fa644703 fix(communities): fix icon, members and color + set observed and active
Fixes #4569
Fixes #4567
2022-02-01 11:50:18 +01:00
Anthony Laibe
a8f2a3cb08 fix(@chat): react to on left chat
fixes #4528
2022-02-01 11:50:17 +01:00
Jonathan Rainville
e1deafa76b refactor(community): move membership functions to chat_section
Fixes #4473 and #4485
2022-02-01 11:50:01 +01:00
Boris Melnik
1cd83b4d17 refactor(groups): Move groups to new architecture
Closes: #4223
2022-02-01 11:49:52 +01:00
Jonathan Rainville
d073dd215a fix(chat): fix copy and download image
Fixes #4494
2022-02-01 11:49:47 +01:00
Sale Djenic
96e50a97ac refactor(@desktop/chat-community): ChatContextMenuView and MessageContextMenuView updated
Within this commit apart of `ChatContextMenuView` and `MessageContextMenuView`
some other things are fixed:
- pinned messages model (`asyncFetchChatMessagesTask`), which was corrupted most
likely by resolving conflicts
- `pinned by` part of the pinned messages
- set/remove local nickname for a contact
- contacts in a message list and pinned by name, contact in a pinned message list
and pinned by name, one to one chat details and chat tool bar are updated in a way
that they are responsive to the contact's updates
- pinned messages updated received from remote (from the `status-go`) is handled

Fixes #4366
2022-02-01 11:48:25 +01:00
Sale Djenic
e220599612 refactor(@desktop/general): necessary changes applied due to refactored Contacts sub-section of the Settings section 2022-02-01 11:47:46 +01:00
Sale Djenic
da6fe00528 refactor(@desktop/settings-contacts): contacts section updated 2022-02-01 11:47:46 +01:00
Alexandra Betouni
0eb40287fa refactor: removed dynamic scoping from shared module
Properties and functions moved to Global:
- toastMessage
- openProfilePopup()
- getProfileImage()
- popupOpened

Closes #4248
2022-02-01 11:46:39 +01:00
Sale Djenic
807039ad61 refactor(@desktop/chat-community): ChatContextMenuView component updated
- admin flag exposed to qml for chat/channel
- `CreateChannelPopup` updated
- `createPopup` function added to the `Global` singleton
- `PinnedMessagesPopup` component moved to `AppMain` and shared
among components beneath
2022-02-01 11:46:24 +01:00
Jonathan Rainville
0388688e9e refactor(community): add join community functionnality 2022-02-01 11:44:38 +01:00
Jonathan Rainville
129266497d refactor(communities): add communities module to show comm list 2022-02-01 11:43:40 +01:00
Sale Djenic
b3f8af8e06 refactor(@desktop/general): qml code referring to the old code base commented out
Qml code referring to the old code base commented out, but not deleted,
due to easier refactoring the rest of the app.
2022-02-01 11:42:42 +01:00
Anthony Laibe
6c76974985 refactor(@chat): clear chat history 2022-02-01 11:41:26 +01:00
Anthony Laibe
8ddda242d8 refactor(@chat): mark messages as read 2022-02-01 11:41:26 +01:00
Sale Djenic
e5a414a927 refactor(@desktop/chat-communities): qml part handles messages from refactored backend
- `chatType` added to `Constants` to group chat type related values
- `messageContentType` added to `Constants` to group message content type related
values
- `MessageStore` maintained per message list now
- added new `ChatContentView` component used to display chat/channel content
- components updated to display messages from the new backend
- `StatusChatToolBar` appropriately updated
- mute/unmute feature added to chat/channel list as well as to `StatusChatToolBar`
2022-02-01 11:41:22 +01:00
Jonathan Rainville
a9c968b984 refactor(chat): refactor 1-1 chat to new architecture
Fixes #4225
2022-02-01 11:39:08 +01:00
Alexandra Betouni
f0b39ce4f6 Refactor: Moved openPopup function to Global
The openPopup function was declared in AppMain
and used via dynamic scoping in many places in the
application. Moved function to Global component
and updated all places to call it via Global instead.

Closes #4267
2022-02-01 11:38:46 +01:00
Sale Djenic
80fcb95245 refactor(chat-section): new chat/community model applied on the qml side
Changes done on the backend side related to the new chat/channel/categories model
are applied here. Necessary changes done on the `statusq` may be seen in PR-486.

Parts of the code which are not refactored yet are commented out.

Displayed chats/categories/channels since now are using refactored backend.
2022-02-01 11:37:32 +01:00
Sale Djenic
45d93649b6 refactor(chat-section): new chat/community model applied on the qml side
Changes done on the backend side related to the new chat/channel/categories model
are applied here. Necessary changes done on the `statusq` may be seen in PR-486.

Parts of the code which are not refactored yet are commented out.

Displayed chats/categories/channels since now are using refactored backend.
2022-02-01 11:37:15 +01:00
Sale Djenic
ed09f82305 refactor(app-search): app search moved to a new component on the qml side 2022-02-01 11:32:46 +01:00
Richard Ramos
cae7184d3f fix: RPC method invocation as soon as Import Community popup was opened 2021-12-06 13:18:08 -05:00
Alexandra Betouni
b4b28d2f98 feat(desktop/contacts) Improvements in contacts
Contacts updates currently in base_bc

Closes #4100
2021-12-01 20:51:06 +02:00
Jonathan Rainville
894e57fbdb fix: context menu losing data and group info being empty sometimes 2021-11-05 14:42:44 -04:00
Sale Djenic
f0b2ed6cca refactor(@desktop/general): appSettings moved to Nim 2021-11-05 11:02:45 -04:00
Alexandra Betouni
426c116bac refactor(desktop) Made shared a QML module
Use it as import shared 1.0, import shared.controls 1.0
etc instead of import "../../../shared"

Closes #3934
2021-10-27 18:05:45 -04:00
Pascal Precht
ac365ce139 fix(GroupChatPopup): supply popup with missing store 2021-10-27 11:50:35 -04:00
Alexandra Betouni
056f84c301 refactor(desktop/chat) Cleaning up popups 2021-10-26 16:22:49 -04:00
Alexandra Betouni
23811dc7e4 refactor(desktop/chat) Cleaning up views 2021-10-26 16:20:31 -04:00
Alexandra Betouni
22429689e3 refactor(desktop/chat) Cleaning up panels 2021-10-26 16:16:37 -04:00
Khushboo Mehta
7114240e72 refactor: Replace and remove StatusRoundButton under ui/shared/status
closes #3898
2021-10-26 18:58:16 +02:00
Alexandra Betouni
9cc361c40a refactor(desktop/chat) Moving chat to new architecture
Closes #3710
2021-10-20 15:29:38 -04:00