237 Commits

Author SHA1 Message Date
Jonathan Rainville
3e339ea094 refactor(community): add admin member request feature
Fixes #4442
2022-02-01 11:50:01 +01:00
Anthony Laibe
a2fd27057c fix(@communities): Disable create button on invalid form
fixes #4507
2022-02-01 11:49:55 +01:00
Boris Melnik
1cd83b4d17 refactor(groups): Move groups to new architecture
Closes: #4223
2022-02-01 11:49:52 +01:00
Alexandra Betouni
f861be5526 fix: create channel popup create button was enabled always
Fixed create button to be disabled when name and description
text fields are empty in create channel popup

Closes #4444
2022-02-01 11:49:47 +01:00
Alexandra Betouni
a0b40590ab fix:activity center view is empty
Updated all available message properties
from the new backend

Closes #4408
2022-02-01 11:49:47 +01:00
Jonathan Rainville
d073dd215a fix(chat): fix copy and download image
Fixes #4494
2022-02-01 11:49:47 +01:00
Jonathan Rainville
47b139ee1c fix(chat): fix starting 1-1 chat because of ContactList signal bug
Fixes #4421
2022-02-01 11:49:47 +01:00
Jonathan Rainville
a027ec98f8 refactor(community): add member list model and hook it + updates to comm 2022-02-01 11:49:34 +01:00
Anthony Laibe
56ffd6dbac fix(@communities): fix import communities modal 2022-02-01 11:49:20 +01:00
Patryk Osmaczko
c016d264b9 fix: restore community private key field content in dialog
Fixes: #4414
2022-02-01 11:49:14 +01:00
Jonathan Rainville
9fc9f698d9 refactor(community): hook invite user and fix community context menu 2022-02-01 11:48:43 +01:00
Sale Djenic
11fbab0c65 refactor(@desktop/contacts): accept contact request from the contact requests popup fixed 2022-02-01 11:48:35 +01:00
Jonathan Rainville
b7459b331b refactor(community): hook leave community 2022-02-01 11:48:25 +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
Jonathan Rainville
42bb0c842d refactor(Communities): refactor communities front-end 2022-02-01 11:48:13 +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
Jonathan Rainville
9016999ec2 refactor(chat): hook chat commands to qml and fix ens resolve 2022-02-01 11:46:40 +01:00
Alexandra Betouni
3d4f2e26d0 refactor: fixed profile popup not opening 2022-02-01 11:46:39 +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
179b0f5a36 refactor(@desktop/chat-messages): add/remove reactions 2022-02-01 11:46:11 +01:00
Jonathan Rainville
b2546fa709 refactor(ProfilePopup): hook ProfilePopup to backend properties 2022-02-01 11:45:50 +01:00
Sale Djenic
df5a5a627d refactor(@desktop/chat-messages): pin/unpin messages and pinned messages list updated 2022-02-01 11:45:50 +01:00
Sale Djenic
b6b6d6b6c7 refactor(@desktop/chat-messages): MessageContextMenuView component updated 2022-02-01 11:45:50 +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
Jonathan Rainville
45fddc55ba refactor(act-center): refactor activity center to the new arch 2022-02-01 11:42:55 +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
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
Alexandra Betouni
336f90a60f feat(desktop/wallet) Removed dynamic scoping from wallet
Removed all dynamic scoping parts in wallet section plus

- Renamed Config to Global and added more functions there
- Moved changeAppSectionBySectionType function to Global
  and updated all places where is used to call it from
  Global instead
- Moved openLink function to Global and updated all places
  where is used to call it from Global instead
- Moved errorSound to Global, introduced playErrorSound
  function  and updated all places where is used to call
  this function from Global instead

Closes #4245
2022-02-01 11:38:27 +01:00
Sale Djenic
c8b429388f refactor(user-profile): name, icon and isIdenticon properties added to global instance userProfile
Apart of all properties we have, now we have 3 new added props which will be used
almost always when we need the following details about logged in user:
- `name` - this will return an ens name in a pretty form or an alias if ens name
was not set (verified). Apart of this there are still `username` and `ensName`
properties for fetching them when it's needed.
- `icon` - this will return a thumbnail image if it's set, otherwise it will
return identicon. Apart of this there are still `identicon` and `thumbnailImage`
properties for fetching them when it's needed.
- `isIdenticon` - this will return `false` if a thumbnail image is set, otherwise
it will return `true`
2022-02-01 11:37:29 +01:00
Jonathan Rainville
eee096dda7 chore: remove old contacts code 2022-02-01 11:35:24 +01:00
Jonathan Rainville
e8eefd8f87 refactor: move all old usages of contacts to the new code 2022-02-01 11:35:24 +01:00
Sale Djenic
6e3b065d34 refactor(@desktop/general): app sections handled within main module 2022-02-01 11:32:28 +01:00
Sale Djenic
9e567b8fdc refactor(@desktop/general): qml updated according to the new userProfile instance 2022-02-01 11:27:25 +01:00
B.Melnik
8d27d784c1 feat(ProfilePopup): Add avatar change fucntionality
Closes: #3734
2022-01-25 10:25:03 +03:00
Noelia Santos
b5f4e3783c feat(Chat/BlockedContacts) Add a Blocked bar for blocked user profile
Use new UI StatusBanner with Danger variant.
Modify StatusQ external to new master commit.
2022-01-17 12:37:48 +01:00
Noelia
6d2d36650c fix(@desktop/chat): Group members list must show only 5
Enable ListView clip and modified ColumnLayout heigh to bound its painting to the needed content.
Adjust ListView spacing to allow the visualization of 5 members.

Closes #4386
2022-01-14 20:16:33 +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
5e88a9a91b refactor(desktop): Removed all timeline related code
Removed all timeline associated code from base_bc.
This feature is deprecated and shall be removed

Closes #4064
2021-12-03 19:55:45 +02:00
Anthony Laibe
0b1538c805 fix(@desktop/communities): Close popup when edit is successful
fixes #4126

When saving the communities all the popup are closed
2021-12-03 09:36:23 +01: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
Khushboo Mehta
0fbdbdbd15 fix(@desktop/Chat): Group chat popup member list doesn't have proper visuals
fixes #4176
2021-12-01 16:11:34 +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
Richard Ramos
a9a5469f72 fix
- missing account color and balance
- revoking permission on account change
- UI errors on message signing modal
2021-11-19 10:19:11 -04:00
B.Melnik
defefa1bfe fix: Fix missing setup url for new opeed tab
Closes: #4107
2021-11-17 15:40:50 +01:00