Commit Graph

46 Commits

Author SHA1 Message Date
Richard Ramos ed8c0815e2 feat: correct storenode query behavior and remove useless menu item 2022-10-05 10:21:53 -04:00
Lukáš Tinkl 54c73b0be7 chore: cleanup, fix warning, remove dead code 2022-09-26 22:38:02 +02:00
Michal Iskierko 55cb3cbf33 test(group chat): Testing changing group chat's name, color and image.
Fixes #7065
2022-09-14 12:49:43 +02:00
Patryk Osmaczko 655af35958 chore(@desktop/chat): remove legacy GroupInfoPopup 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 2d5c69bc6c feat(@desktop/group-chat): adjust members permissions
closes: #7154
closes: #7155
2022-09-13 12:33:34 +02:00
Michal Iskierko d6a061a517 feat(@desktop/chat): Add setting image in group chat
Image and cropping information are sent to status-go.

Issue #6466
2022-09-01 12:25:53 +02:00
Boris Melnik 7b77973b86 test(chat): Can clean chat history
Closes: #6876
2022-08-25 15:17:52 +03:00
Stefan 5fb4c7f110 test(community): delete community channel
Also adds  verify_equal helper function

Fixes #6751
2022-08-16 11:51:20 +02:00
Michal Iskierko 8b09eec506 feat(@desktop/chat): Handle group chat colors changes
Use new status-go function to update group chat details.
Changes in RenameGroupPopup to handle choosing colors and images.
Changes in EditCroppedImagePanel to handle background component.

Issue #5982
2022-08-08 11:10:54 +02:00
PavelS 0e7e541a62 fix(@desktop/community) add delete button to edit channel popup
- update labels in edit channel popup

Fixes #6732
2022-08-05 15:10:59 +03:00
Jonathan Rainville b43d773a57 test(chat): add test to mark as read
Fixes #6671
2022-08-02 10:34:02 -04:00
Jonathan Rainville 16aa4a57f8 test(community): add test that edits the community channel name
Fixes #6534
2022-07-25 13:20:10 -04:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Patryk Osmaczko 6743bee1aa fix(@desktop/chat): extract chat menu items
It removes duplication and unifies menu items across the app.

fixes: #5985
2022-06-15 12:56:32 -04:00
Noelia 7c92d39359 feat(GroupChat/Add-Remove-Contacts): Implement "Add / remove from group" button for group chats
Added new option add / remove contacts in dropdown and created navigation to modify the loaded component in the toolbar.

Enabled addition of new members into a group chat by the admin.

Enabled removal of members of a group chat by the admin.

Added into `ChatContentView` components related to chat toolbar:
- `StatusTagSelector` and its corresponding logic
-  Moved `StatusChatInfoButton` from toolbar to content view.

Added `esc` key event to leave the group chat add / remove panel.

Updated `StatusQ` link.

Closes #5522
2022-06-01 08:47:21 +02:00
Jonathan Rainville c58a656a52 fix(group-chats): fix context menu and pinned messages popup 2022-05-12 14:13:13 -04:00
Jonathan Rainville a20686324e fix(emoji-icon): fix emoji icon position and saving on edit
Fixes #5045
2022-03-24 15:38:01 -04:00
Jonathan Rainville aef8d0c4ab feat(community): enable choosing and changing community channel color
Fixes #4953
2022-03-11 16:01:22 -05:00
Richard Ramos 8183d4e317 chore: add status.prod fleet 2022-03-11 15:52:47 -05:00
Alexandra Betouni 8cab96fd24 feat(desktop/chat): Updated create new chat/group flow
As per new designs

Closes #4781
2022-03-11 14:31:51 -05:00
Jonathan Rainville be9d2f94e2 feat: enable emojis as channel icons
Fixes #4809
2022-03-08 15:15:25 -05:00
Richard Ramos d4f8b63292 feat: add status.test fleet 2022-02-23 15:48:06 -05:00
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
Jonathan Rainville b6c78396f8 chore(community): remove pinned messages button in
Fixes #4617
2022-02-02 09:40:21 -05:00
Jonathan Rainville 08c01d2775 fix(community): hook edit community channel
Fixes #4539
2022-02-01 10:55:01 -05:00
Anthony Laibe a8f2a3cb08 fix(@chat): react to on left chat
fixes #4528
2022-02-01 11:50:17 +01:00
Jonathan Rainville 349cf4f0ef fix(chat): fix 1-1 chat delete and profile top bar click
Fixes #4483 and #4484
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 da6fe00528 refactor(@desktop/settings-contacts): contacts section updated 2022-02-01 11:47:46 +01:00
Alexandra Betouni 69517588cf refactor: move editChannelPopup to ChatContextMenuView 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
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 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 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
Jonathan Rainville ffac03aa26 fix: fix undefined error while deleting community channel 2021-11-05 11:02:45 -04:00
Jonathan Rainville 816f737d55 fix: fix edit community channel missing store
Fixes #4000
2021-11-05 11:02:45 -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
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
Pascal Precht 7037df9da0 fix(ChatContextMenu): ensure popup types exist
Fixes #3906
2021-10-26 14:35:38 +02:00
Alexandra Betouni 9cc361c40a refactor(desktop/chat) Moving chat to new architecture
Closes #3710
2021-10-20 15:29:38 -04:00