21 Commits

Author SHA1 Message Date
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
b6b6d6b6c7 refactor(@desktop/chat-messages): MessageContextMenuView component updated 2022-02-01 11:45:50 +01:00
Sale Djenic
7f40ae0f57 refactor(@desktop/chat-communities): unused component removed
- `NormalMessageView` component is removed since we work with `CompactMessageView`
and it's the only and default message component in the app.
- `useCompactMode` property removed from local settings since it's not in use as
well and corresponding code is updated accordingly
2022-02-01 11:41:38 +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
Sale Djenic
f138fecdd2 refactor(online-users): adding online users for chat/channel 2022-02-01 11:38:07 +01:00
Pascal Precht
868c675f6e refactor(@desktop/chat): use StatusQ components for chat user list
This replaces the self-built components for the user list with StatusQ's
list item component and also addresses some of the quirks that existed in the UI
related to that original component.

The user list is now responsive and properly aligned.

**This depends on StatusQ v0.18.0**
2021-12-02 11:27:43 +01:00
Alexandra Betouni
c0450f0580 refactoring (desktop/chat) Message component
Moved Message component & dependencies  to shared
for usage import shared.views.chat 1.0 and accordingly
import shared.controls/panels.chat 1.0

Closes #3927
2021-11-24 13:15:15 +01:00
Sale Djenic
cc5ccbc951 refactor(@desktop/general): qml updated according to the new userProfile instance 2021-11-24 13:15:15 +01:00
Sale Djenic
3f6bb66536 refactor(@desktop/general): globalSettings moved to Nim 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
056f84c301 refactor(desktop/chat) Cleaning up popups 2021-10-26 16:22:49 -04:00
Alexandra Betouni
22429689e3 refactor(desktop/chat) Cleaning up panels 2021-10-26 16:16:37 -04:00
Khushboo Mehta
be7a56cc27 refactor: replace all the StatusImageIdenticon with StatusQ's StatusSmartIdenticon
closes  #3848
2021-10-26 19:23:33 +02:00
Pascal Precht
2db77fa31c refactor: replace StatusIcon and StatusLoadingIndicator with StatusQ components 2021-10-26 10:47:47 -04:00
Pascal Precht
cbbbedcc79 cleanup: remove legacy StatusCheckbox 2021-10-26 10:47:16 -04:00
Khushboo Mehta
173943f1be refactor: replace StatusIdenticon with StatusSmartIdenticon
closes #3882
2021-10-26 09:30:18 -04:00
Pascal Precht
59109e1318 fix: make getLinkStyle work again
Probably slipped through in the refactor: `getLinkStyle` was defined
in to places, was probably meant to live only in `Utils`.

In addition, it expected a `wrapper` expression which wasn't defined.
This commit fixes it by removing the second declaration of that function
and passing a third parameter to the one defined in `Utils`.
2021-10-25 11:25:38 +02:00
Alexandra Betouni
9cc361c40a refactor(desktop/chat) Moving chat to new architecture
Closes #3710
2021-10-20 15:29:38 -04:00