Commit Graph

2751 Commits

Author SHA1 Message Date
Anthony Laibe b164b088f5 refactor(@activity_center): Add switch to section/chat
fixes #4474
2022-02-03 16:40:13 -05:00
Jonathan Rainville b688a5a305 feat(wallet): hook sendTransferTokens to the wallet Send
Fixes #4650
2022-02-03 15:12:32 -05:00
Jonathan Rainville 0f5a6d8599 feat(wallet): hook transferEth for wallet transfers 2022-02-03 15:12:32 -05:00
Jonathan Rainville 967fff839b feat(@desktop/settings): [re-add] Add developer mode toggle
Fixes #4700
2022-02-03 10:54:25 -05:00
Sale Djenic aeed9303cd fix(@desktop/communities): community import has some issues
Fixes #4206
2022-02-03 16:14:15 +01:00
Sale Djenic 0b3cafdbc4 fix(@desktop/settings-contacts): it is not possible to add new contacts after the first one is added
Fixes #4658
2022-02-03 15:40:54 +01:00
Anthony Laibe add8163f31 fix(@wallet): send tx with ens
fixes #4629
2022-02-03 13:52:55 +01:00
Noelia ba0e0b84c0 fix(@desktop/chat): [restore after rebase] Group members list must show only 5
It restores job done in PR #4461 - Task #4386 after base_bc rebase.
2022-02-03 09:27:03 +01:00
Jonathan Rainville b6c78396f8 chore(community): remove pinned messages button in
Fixes #4617
2022-02-02 09:40:21 -05:00
Richard Ramos ad7f48d6ac refactor: removing mailserver controller and model 2022-02-01 15:16:45 -04:00
Jonathan Rainville f36bee6337 fix(wallet-send): fix send modal estimate gas and other hooks 2022-02-01 14:09:56 -05:00
Jonathan Rainville 82fb325dac fix(browser-tx): fix estimate gas and send TX on the browser
Fixes #4557
2022-02-01 14:09:56 -05:00
Khushboo Mehta 6f5fcd8623 fix(@desktop/chat): context menu is gone for pictures
fixes #4609
2022-02-01 11:19:56 -05:00
Jonathan Rainville 08c01d2775 fix(community): hook edit community channel
Fixes #4539
2022-02-01 10:55:01 -05:00
Sale Djenic 4169854feb fix: multiple issues running the app
- `setAppWidth` issue - fixed
- `signal connection` issue - fixed
- `app-run-test.sh` script added
2022-02-01 11:52:37 +01:00
Noelia bed7ca20fb fix(@desktop/browser): [base_bc] renaming bookmark is not persistent
Edit existing bookmark name is now correctly updated in the view.

Fixes #4549
2022-02-01 11:51:31 +01:00
Jonathan Rainville 5ec9fe4ebd fix re-join on request community 2022-02-01 11:51:31 +01:00
Noelia 9673c399e5 fix(@desktop/wallet): [base_bc] can't copy wallet address
Store propagation in order to use the global copyToClipboard method.

It is also applied in WalletV2.

Fixes #4636
2022-02-01 11:51:31 +01:00
Boris Melnik f3485446c3 fix(groups): Add popup to view group ccontext menu action
Closes: #4616
2022-02-01 11:51:31 +01:00
Richard Ramos 192a0c4d19 refactor(communities): create channel in specific category 2022-02-01 11:51:22 +01:00
Anthony Laibe 1a255f5bcc fix(@wallet): Show token modal
fixes #4621

the crash seemed to be caused by signal of signal. Simplifying the flow
remove the need for this signal of signal
2022-02-01 11:51:15 +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
Richard Ramos ba863acd4e fix: code review 2022-02-01 11:51:00 +01:00
Sale Djenic a05a821f51 issues adding category fixed
- chats list maintained in the chat service gets updated form the right places now
- redundant mapping `Chat` to `ChatDto` is removed, since we already get all
necessary data for the chat, no need for additional mapping which may just
introduce new inconsistencies
- `findIndexById` proc updated so in case if there is no the chat we're searching
for in the list, we're returning `-1` instead of last index in the list
- `DelegateChoice` on the qml side updated to match new type value `Constants.chatType.category`
2022-02-01 11:51:00 +01:00
Richard Ramos b67e97a05c feat(communities): create categories 2022-02-01 11:51:00 +01:00
Richard Ramos 24fa56e3b8 refactor: add fake category type 2022-02-01 11:50:57 +01:00
Boris Melnik 0065f5cae5 refactor: create categories (WIP) 2022-02-01 11:50:51 +01:00
Noelia caa85a79b4 fix(@desktop/browser): [base_bc] permissions modal looks off in dark mode
Add Theme in ´StatusBaseText´ components used in ´BrowserConnectionModal´.

Fixes #4547
2022-02-01 11:50:51 +01:00
Noelia 2a1e7b3a2d fix(@desktop/browser): [base_bc] add a bookmark ui is broken
Browser header is now correctly placed when trying to add a bookmark.

Fixes #4548
2022-02-01 11:50:50 +01:00
Sale Djenic 0a9aad7b03 fix(@desktop/app-search): loading messages improvements 2022-02-01 11:50:50 +01:00
Sale Djenic 25f7544b41 fix(@desktop/app-search): [base_bc] can't jump to a message from search results
- broken "jump to a section/chat/message" feature fixed
- added loading indicator while searching is in progress
- animation when we point to the searched message is in place again

Fixes #4577
2022-02-01 11:50:50 +01:00
Boris Melnik 5099ca4b3e fix(groups): Hide invitation for admin
Closes: #4574
2022-02-01 11:50:50 +01:00
Noelia d8a7a3d812 fix(desktop/chat): [base_bc] selecting a channel does not auto-focus on the text input field
When new channel/chat is displayed, text input field focus is forced properly.

Fixes #4524
2022-02-01 11:50:50 +01:00
Anthony Laibe 16225a3af9 fix(@chat): display link urls 2022-02-01 11:50:40 +01:00
Anthony Laibe 95f8a545d9 fix(@settings): fix privacy settings toggle
fixes #4598
2022-02-01 11:50:33 +01:00
Jonathan Rainville 25ac0fbb68 fix(image-modal): fix having to click multiple times to close the image
Fixes #4586
2022-02-01 11:50:33 +01:00
Khushboo Mehta 7c06f9c362 fix(@desktop/chat): send message is not working from context menu
fixes #4531
2022-02-01 11:50:32 +01:00
Sale Djenic b07a0acad4 fix(@desktop/chat): [base_bc] Start new chat modal has text overlapped, also it is not possible to start new chat at all
Fixes #4530
2022-02-01 11:50:32 +01:00
Boris Melnik 15793b2a35 fix(groups): Update group info user list
Closes: #4533
2022-02-01 11:50:29 +01:00
Boris Melnik 900c6528ac fix(groups): Hide unchecked users in group creation popup
Closes: #4532
2022-02-01 11:50:18 +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 234af3283e fix(@wallet): receive modal
fixes #4534
2022-02-01 11:50:17 +01:00
Anthony Laibe a8f2a3cb08 fix(@chat): react to on left chat
fixes #4528
2022-02-01 11:50:17 +01:00
Jonathan Rainville ba49b2ec20 fix(community): fix community edit setting undefined color
Fixes #4443
2022-02-01 11:50:17 +01:00
Jonathan Rainville 311abcd23a fix(ChannelPicker): re-hook channel picker with new model and functions
Fixes #4550
2022-02-01 11:50:17 +01:00
Anthony Laibe c9e049e6d8 fix(@wallet): Fix text area for importing private key
fixes #4535
2022-02-01 11:50:17 +01:00
Sale Djenic 6a81b97012 fix(@desktop/chat-messages): [base_bc] emojis alignment is wrong
Fixes #4561
2022-02-01 11:50:17 +01:00
Jonathan Rainville c20554d987 refactor(community): use user model for the community member list
Fixes #4471
2022-02-01 11:50:17 +01:00
Richard Ramos fb35f89336 fix: loading indicator 2022-02-01 11:50:17 +01:00
Anthony Laibe f4ed7f09cd fix(@chat): fix anchors of empty chat 2022-02-01 11:50:17 +01:00
Anthony Laibe 5bf9b587da perf(@chat): Do not re-render messages when switching chat 2022-02-01 11:50:17 +01:00
Anthony Laibe c505564522 fix(@wallet): hide signing phrase accept
fixes #4517
2022-02-01 11:50:17 +01:00
Sale Djenic 69fc5bec5e refactor(@desktop/settings-ens-usernames): ens usernames module added and corresponding ui updated 2022-02-01 11:50:14 +01:00
Jonathan Rainville bd2bb8952a refactor(community): move community specific functions to chat_section
Fixes #4489
2022-02-01 11:50:02 +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
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
Khushboo Mehta 2ff5ce7fc2 fix(@desktop/community): added option to delete community channel
fixes #4415
2022-02-01 11:49:47 +01:00
Jonathan Rainville 3477e4c33e hotfix(act-center): fix wrong signal name 2022-02-01 11:49:47 +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
Noelia 35df41e669 fix(@communities/InviteFriends): [base_bc] invite friends button is misplaced
Closes #4416

Invite friends button placed to be consistant with other views like in GroupChat/Add members popup.
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 6f8f9b6f76 fix(community): fix qml errors when creating a community
Fixes #4440
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
Noelia ddfa3d3e4e fix(@desktop/ProfilePopup) [base_bc] share profile url in profile modal is incorrect
Closes #4419

profileStore property has been added based in MyProfileView.qml.

Share profile information has been updated using the new store.

It also fixes another issue related to Contact/ViewProfile/ShareProfileURL. It was also showing incorrect info.
2022-02-01 11:49:47 +01:00
Patryk Osmaczko 75abaabb5d fix(@desktop/chat): show popup when image is clicked 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
Anthony Laibe 191efa5829 fix(@onboarding): no autoclose on popup
fixes #4437
2022-02-01 11:49:47 +01:00
Khushboo Mehta f68d967544 fix(@desktop/chat): making edit work on base_bc
fixes #4410
2022-02-01 11:49:44 +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
Sale Djenic 9938ea672d refactor(@desktop/chat): username is misplaced when sending messages in the channel
A reason why this issue was happening is that prev and next message
were set in a wrong way. An important thing is that list of messages is set
in descending order in terms of `timestamp` of a message, that means a
message with the most recent time is added at index 0.

That further means that getting an index of the previous message from the
current one is defined as `currentIndex + 1` and getting an index of the next
one is defined as `currentIndex - 1`.

Fixes #4417
2022-02-01 11:49:14 +01:00
Jonathan Rainville 565211f38f fix(chat): fix sticker button not showing + stickers not showing in chat
Fixes #4407
2022-02-01 11:49:14 +01:00
Anthony Laibe 848308ed04 refactor(@desktop): gif section 2022-02-01 11:49:14 +01:00
Khushboo Mehta e717a515a4 fix(@desktop/chat): on right click no option to pin/unpin messages
fixes #4413
2022-02-01 11:49:14 +01:00
Khushboo Mehta e757c07c96 fix(@desktop/chat): delete message not working
fixes #4411
2022-02-01 11:49:11 +01:00
Sale Djenic f7e8b68715 refactor(@desktop/chat): mentioning a user in chat reveals his public key instead of user name
This fix also includes mention users name update according to their
local/ens names, in app runtime.

Fixes #4403
2022-02-01 11:49:04 +01:00
Boris Melnik 35568d1d6b fix(Replies): Fix reply button
Closes: #4396
2022-02-01 11:49:04 +01:00
Anthony Laibe b43b073f5f fix(@communities): copy to clipboard community
fixes #4441
2022-02-01 11:49:04 +01:00
Sale Djenic f0ca1a4cc3 refactor(@desktop/general): many errors from the log are fixed
- various issues on app start in console
- various issues when logging out in console
- `node_section` module delete method error
- SyntaxError: JSON.parse: Parse error from the MessageStore
2022-02-01 11:49:04 +01:00
Richard Ramos 4cb3126513 refactor: mailserver_cycle (base_bc) 2022-02-01 11:49:01 +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
B.Melnik 0e5fbfb567 refactor(Node): move node to new architecture
Closes: #3805
2022-02-01 11:48:33 +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 6fe9652b44 fix(chat): fix loading chats when joining them
Fixes #4367
2022-02-01 11:48:25 +01:00
Jonathan Rainville 3678b3af9b refactor(community): hook edit community feature 2022-02-01 11:48:22 +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
Alexandra Betouni 69517588cf refactor: move editChannelPopup to ChatContextMenuView 2022-02-01 11:47:46 +01:00
Sale Djenic 9b1e794e8f refactor(@desktop/settings-pivacy-security): privacy and security section updated 2022-02-01 11:47:43 +01:00
Sale Djenic 9a82370df0 refactor(@desktop/settings-profile): profile section updated 2022-02-01 11:47:24 +01:00
Sale Djenic 5bafb2bb5a refactor(@desktop/settings-appearance): appearance settings updated 2022-02-01 11:47:18 +01:00
Sale Djenic b4df87b7a6 refactor(@desktop/settings-language): language settings added 2022-02-01 11:47:18 +01:00
Sale Djenic 46869afa5f refactor(@desktop/settings-notifications): notifications settings added 2022-02-01 11:47:18 +01:00
Sale Djenic 0aa0d4fb8c refactor(@desktop/settings-sync): sync settings added 2022-02-01 11:47:14 +01:00
Sale Djenic 44ceb6730d refactor(@desktop/settings-devices): device settings added 2022-02-01 11:47:00 +01:00
Sale Djenic a6b8fbe4b3 refactor(@desktop/settings-advanced): hook to the toggled experimental features from the advanced tab added 2022-02-01 11:46:50 +01:00
Sale Djenic 7ea85097df refactor(@desktop/settings-about): fetching the latest version fixed
We're not fetching latest version for all but the `Mainnet` network, that
use case is taken from the old code.
2022-02-01 11:46:40 +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
Boris Melnik 390ad7bbd0 fix(ChangePasswordSuccessModal): Add Theme usage to modal
Closes: #4174
2022-02-01 11:46:39 +01:00
Sale Djenic 16a33f8fa7 refactor(@desktop/chat-messages): load more messages
- load more messages on scroll up for chat/channel added
- sending messages improved in terms of adding new messages to
appropriate position
- scroll to message added on the qml side
- qml connected to the sending message success/failed signals
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
Jonathan Rainville 710236f51a refactor(chat): refactor send messages to work 2022-02-01 11:46:36 +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
Alexandra Betouni b236bee5ca refactor: fix UI devices settings layout 2022-02-01 11:46:11 +01:00
Alexandra Betouni b5a591401e refactor: fix ui message preview is empty 2022-02-01 11:46:11 +01:00
Alexandra Betouni 001bc42942 refactor: fix setting user online/offline status 2022-02-01 11:46:11 +01:00
Sale Djenic 179b0f5a36 refactor(@desktop/chat-messages): add/remove reactions 2022-02-01 11:46:11 +01:00
Jonathan Rainville 13543ae14f refactor(about): refactor version fetch 2022-02-01 11:46:08 +01:00
Jonathan Rainville b2546fa709 refactor(ProfilePopup): hook ProfilePopup to backend properties 2022-02-01 11:45:50 +01:00
Jonathan Rainville 6b42380e45 fix(AppMain): fix version banner position and visibility 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 42504ad4eb fix(chat): fix contact banner showing wrongly 2022-02-01 11:45:50 +01:00
Sale Djenic 63b4397670 refactor(@desktop/profile-advance): adding custom networks 2022-02-01 11:45:47 +01:00
Sale Djenic c7d53a31e0 refactor(@desktop/profile-advance): profile advance module introduced
New advanced module added as submodule of the profile section module.
Advanced store introduced on the qml side and qml part updated accordingly.
2022-02-01 11:45:32 +01:00
Sale Djenic 6e1438d241 refactor(@desktop/general): `globalUtils` instance added (changed old `utilsModel`) 2022-02-01 11:44:56 +01:00
Khushboo Mehta f41ed8a522 fix(@desktop/browser): Clicking on add buttons adds the same button twice
fixes #4280
2022-02-01 11:44:42 +01:00
Jonathan Rainville 0388688e9e refactor(community): add join community functionnality 2022-02-01 11:44:38 +01:00
Anthony Laibe fdca0da77d feat: saved address view
Connect list and change
Provide view API
Create events
2022-02-01 11:43:44 +01:00
Jonathan Rainville 129266497d refactor(communities): add communities module to show comm list 2022-02-01 11:43:40 +01:00
Khushboo Mehta 1977420db2 refactor: remove dynamic scoping from profile module
closes #4247
2022-02-01 11:43:27 +01:00
Jonathan Rainville 45fddc55ba refactor(act-center): refactor activity center to the new arch 2022-02-01 11:42:55 +01:00
Pascal Precht 27f8c33dbd fix: ensure app sections work correctly
We've recently removed timeline related code from the application.
It seems that either a) new changes have been introduced related to timeline
despite it being removed from the application, or b) a few more changes
where left out as part of the new architecture.

This causes the app to misbehave when selecting sections in the application
nav bar.

This commit fixes this by removing leftover timeline related code.
2022-02-01 11:42:46 +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 bfaf1b5250 refactor(@desktop/chat-communities): `ChannelIdentifierView` component updated 2022-02-01 11:41:56 +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
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
Khushboo Mehta 83d4aaa0e8 refactor: remove dynamic scoping from browser module
closes #4246
2022-02-01 11:39:45 +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 f138fecdd2 refactor(online-users): adding online users for chat/channel 2022-02-01 11:38:07 +01:00
Sale Djenic afe6d34735 refactor: issues after rebase onto `master` fixed 2022-02-01 11:38:04 +01:00
Jonathan Rainville d8a90eda6c fix(stickers): fix stickers appearing as loading when on a new account 2022-02-01 11:37:32 +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 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
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
Alexandra Betouni c4bb7c7cf2 fix(contacts) fixed bug in add contacts function 2022-02-01 11:36:59 +01:00
Jonathan Rainville 22595f5032 refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:59 +01:00
Jonathan Rainville 3f12796b45 Revert "refactor(chat): move stickers to the new architecture"
This reverts commit 47aa079e0d.
2022-02-01 11:36:59 +01:00
Jonathan Rainville 792397987c refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:44 +01:00
Khushboo Mehta 63b6b01b68 fix(@desktop/profile): Users profile image/identicon not shown in application navbar
fixes #4170
2022-02-01 11:36:44 +01:00
Khushboo Mehta 1e30872a96 fix(@desktop/profile): Confirmation of contact added not shown on Add Contact Modal
fixes #4072
2022-02-01 11:35:24 +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
Jonathan Rainville cb7865bd9e refactor: move contact requests to new architecture
Fixes #4061

Most of the contact request code was already moved, but it wasn't hooked to the QML yet and also there were missing events and some code to improve.
2022-02-01 11:35:24 +01:00
Sale Djenic 3f50ab26b8 refactor(general): qml cleaning
- Selecting `currentIndex` based on the children placed in the `StackLayout`
component with id `appView` is sorted out since we were referring to the wrong
indexes there in case of walletv2, node and community sections.
- Places which call `Utils.getAppSectionIndex` are updated since we don't have
that method any more.
- Some parts which are not refactored yet are commented.
2022-02-01 11:33:06 +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
Sale Djenic d67278b23e refactor(app-search): app search module added 2022-02-01 11:32:42 +01:00
Sale Djenic 12f9282a59 refactor(@desktop/general): added modules `InputArea`, `Messages`, `Users`
Each `ChatSection` module contains as many `ChatContent` submodules as many chats
the section contains (a chat maybe either from the Chat section or Community section or
from the category of the Community section).

`ChatContent` consists of 3 submodules `InputArea`, `Messages`, `Users`, so far.
2022-02-01 11:32:32 +01:00
Sale Djenic 0fa88be513 refactor(@desktop/general): qml `ChatLayout` component added for the `Chat` section and for each community 2022-02-01 11:32:32 +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
Richard Ramos 81e122cb0c fix: registerEns parameter order 2022-01-31 17:57:52 -04:00
Richard Ramos d713c6fe9f fix: display loading indicator depending on mailserver request status 2022-01-25 13:59:41 -04:00
B.Melnik 8d27d784c1 feat(ProfilePopup): Add avatar change fucntionality
Closes: #3734
2022-01-25 10:25:03 +03:00
Patryk Osmaczko 7ca3766def fix(@desktop/settings): ensure new password is confirmed
The task status-im/StatusQ#393 should remove code duplication from here.

Fixes: #4375
Fixes: #4376
2022-01-17 13:09:15 +01: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
Boris Melnik f69db2c97b fix(PrivacyView): Fix relations between switches and line sensor and local settings. Add getter for profile images.
Closes: #4191
2022-01-16 22:15:05 +03: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
Alexandra Betouni 6eff051504 fix: The text entry box shouldn't highlight invalid @mentions
The text input in chat was highlighting whatever was starting
with @. Fixed to highlight only valid user mentions.

Closes #3542
2022-01-13 17:23:59 +02:00
Richard Ramos e88a936193 refactor: mailserver cycle 2022-01-12 16:04:12 +00:00
Khushboo Mehta 35388b0f6d fix(@desktop/wallet): Fix for - Recipient of the transaction message is not notified that transaction is completed
Also fixes broken UI when sending/receveing transactions from chat

fixes #2915
2022-01-11 20:59:17 +01:00
Anthony Laibe a911e4f512 fix(@onboarding): Add more height to the textarea
fixes #4364
2022-01-11 10:02:48 +01:00
Anthony Laibe 6c4fab1a20 fix(@wallet): delete account
fixes #4384
2022-01-10 15:58:57 +01:00
Anthony Laibe 8889bbdb08 fix(@wallet): tx history view
fixes #4385

Correctly display the date and if the node is an archival node
2022-01-10 15:58:36 +01:00
Anthony Laibe 5eb582b18c fix(@wallet): Collection without assets
fixes #3808

In some cases, the opensea API return collection for an owner without
assets, we handle this case in the UI
2022-01-06 15:16:32 +01:00
Khushboo Mehta 619d0e56ac fix(@desktop/wallet): browser tab, can't click send button
fixes #4351
2022-01-05 16:30:17 +01:00
Alexandra Betouni 6d0d00a50a fix: Cannot download uploaded or embed images in private chat
Download an image to a local folder was not working as
clickMessage function was called from root. and root has
no such function. Switched to use clickMessage via dynamic
scoping.

TODO: remove dynamic scoping

Closes #4143
2022-01-04 16:53:47 +02:00
Richard Ramos a85ee8581a feat: show real sync date in "Fetch more messages" button 2022-01-03 21:12:28 +00:00
Anthony Laibe 64edace12a feat: Use ens API 2022-01-03 10:35:22 +01:00
Richard Ramos f5d53f9112 refactor: move provider logic to status-go 2021-12-22 16:13:23 +00:00
Pascal Precht 18518607c7 fix: fix access to root store property for user online status
There seems to have been a confusion in how the store is named.
2021-12-15 11:01:29 +01:00
Khushboo Mehta a7753e27a7 fix(@desktop/chat): Messages do have wrong indentation (alignment) when being sent in a row
Providing temp fix as this compoentn  will be redesigned and moved to StatusQ

fixes #4211
2021-12-14 17:11:09 +01:00
Pascal Precht 35233a01e7 fix: add upper limit to initialized app window size
This is needed because on screens that are too big, the app becomes
huge.
2021-12-14 12:10:34 +01:00
Anthony Laibe 60a3158cae feat(@desktop/settings): Add developer mode toggle 2021-12-10 10:20:58 +01:00
Pascal Precht b57bb21e13 fix(StatusChatInput): ensure anchors of textfield are set correctly
This broke when we removed timeline support. Most likely because `profileImage`
is undefined, the entire expression fails, leaving `anchors.left` `undefined`,
causing the text area to be slammed to the right.
2021-12-07 10:45:16 +01:00
Pascal Precht b92ac455c9 fix: ensure last active community is reset when leaving community
There's a bug where the last active community will be set in local settings
and not removed when a user leaves a community.

This causes the app to start on an invalid screen/state as it still tries to
render the community view for a community that the user has just left.

This commit ensure we're resetting the last active community in the local settings
when a users leaves the community.

Fixes: #4094
2021-12-07 09:55:16 +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
Pascal Precht 23cd46e831 fix: ensure app tab buuttons match correct app section
Since the timeline was removed, this introduced a little hiccup in
the application section selection.

This commit ensures navigation tab buttons match the correct section.
2021-12-06 13:21:31 +01:00
Khushboo Mehta b1746d6d8e fix(@desktop/browser): Website URL overlaps with reload and add favourite buttons
fixes #4214
2021-12-06 11:29:15 +01:00
Khushboo Mehta 16be2fff7a fix(@desktop/chat): Search placeholder text is misaligned and shifts when clicked
fixes #4222
2021-12-06 11:28:59 +01: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
Khushboo Mehta 8621eb009b fix(@desktop/community): When selecting top communities channel, they all appear selected
Usage of HoverHandler instead of containsMouse property of MouseArea, solves the issue

fixes #4166
2021-12-03 13:49:30 +01: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 2039748072 fix(desktop/chat): stickers pack popup not opened
Fixed can't open a sticker pack when clicking a
sticker in a chat.

Closes #4203
2021-12-02 16:45:53 +02:00
Pascal Precht 7aa777f2e3 feat: preserve app window size after resize
This adds the functionality that the application window size is saved in the
app settings, so that it restores the same size the next time the application
is started.

Closes #4120
2021-12-02 15:45:24 +01:00
Anthony Laibe 690c978ea2 fix(@desktop/chat): unfurl multiple link
fixes #4192
2021-12-02 15:39:22 +01:00
Alexandra Betouni 23cb5136f1 fix(desktop/chat): Fixed finish editing msg when pressing enter
When in message editing mode was not possible to cofirm edit and
close edit mode when pressing enter key as the clicked signal
of the StatusButton is called without an argument, aparently that
signal has a var mouse parameter. Passed null as parameter to
get the signal emitted.

Closes #4213
2021-12-02 16:32:57 +02:00
Pascal Precht 5608414524 refactor(@desktop/startup): refactor modal to use StatusQ components
This needs https://github.com/status-im/StatusQ/pull/494
2021-12-02 11:49:50 +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 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 4cfc1de6a8 fix(chat): fix nickname not populated when clicking profile head in menu 2021-12-01 13:04:22 -05: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
Jonathan Rainville 33c3f2278b fix(notifs): fix linux notifications not appearing 2021-12-01 09:34:46 -05:00
Jonathan Rainville 8be841e0ac fix(notifications): fix missing task bar icon making notif not work
Fixes #4183 and #4205
2021-11-30 15:54:18 -05:00
Richard Ramos 94d67717c8 fix: appimage freezes on login
Fixes #4189
2021-11-30 08:23:40 -04:00
Jonathan Rainville 4d7d2261aa fix(reply): fix reply image displaying the current user
Fixes #4185
2021-11-29 09:32:08 -05:00
Anthony Laibe 2d49da7331 feat: Allow to enable auto message 2021-11-29 14:46:38 +01:00
Khushboo Mehta 30d1866ee6 fix(@desktop/chat): Blocking a user with big messages leaves an empty space in the chat
fixes #4123
2021-11-29 10:14:47 +01:00
Alexandra Betouni af887af4df fix(desktop/chat) fetch more messages not working
Fetch more messages is spinning indefinitely when
fetch more messages button is clicked and messages
are never displayed

Closes #4168
2021-11-25 10:10:09 -05:00
Jonathan Rainville 66840da455 fix(LinkMessages): fix various problems with link messages not showing
Fixes #4131
2021-11-25 11:38:08 +01:00
Pascal Precht bc7823fa0d fix(@desktop/chat): ensure emoji selection works
This broke in https://github.com/status-im/status-desktop/pull/4135 due to incorrect
initialization of `recentEmojis` property in `localAccountSensitiveSettings`.

Closes #4102
2021-11-25 08:59:21 +01:00
Sale Djenic 484748314f fix(general): online/offline selector updated
Fixes: #4049
2021-11-24 13:15:15 +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
Pascal Precht db45130a1e uiux: inform user early when there's no stickers installed
This makes sure we don't wait until all sticker packs are loaded
to show the user that now packs were installed (we know this much earlier).

Fixes #4127
2021-11-24 11:18:10 +01:00
Khushboo Mehta 5b9f5f5990 fix(@desktop/browser): Sign message to dapp is broken
fixes #4154
2021-11-24 10:45:08 +01:00
Khushboo Mehta f475e7edbd fix(@desktop/browser): Wallet permissions and enter password modals are stretched
fixes #4150
2021-11-24 10:44:59 +01:00
Khushboo Mehta de64254463 fix(@desktop): Fix for correcting position of profile button on NavBar
fixes #3521
2021-11-23 10:27:17 +01:00
Khushboo Mehta 5c57a401a0 fix(@desktop/startUpPage): Fix for footer shown when clicking - share your chat key
fixes #3462
2021-11-22 11:51:20 -05:00
Anthony Laibe ebaa150082 fix(@desktop/tx): Fix tx modal 2021-11-22 10:04:12 +01:00
Richard Ramos 29b1d30bed fix: connection modal 2021-11-19 10:19:11 -04: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
Richard Ramos f9b08abd72 fix: review 2021-11-19 10:19:11 -04:00
Richard Ramos 1989ad7971 refactor!: provider transactions 2021-11-19 10:19:11 -04:00
Richard Ramos c06c9dbc6d fix: missing expired/timeout attributes in Resend button 2021-11-19 09:37:59 -04:00
Jonathan Rainville 1b08e21691 fix(app): fix minimising the app on close for Windows and Linux
Fixes #4128
2021-11-18 09:44:19 -05:00
Pascal Precht 23b72a9e8d feat(ActivityCenter): allow users to mark notifications as unread
As raised in #3665, users aren't able to mark activity center notifications as unread.
The APIs for that didn't exist yet so they have been added in:

- status-go (https://github.com/status-im/status-go/pull/2383)
- status-lib (https://github.com/status-im/status-lib/pull/53)

respectively.

Closes #3665
2021-11-18 11:04:49 +01:00
Khushboo Mehta da28629ffc fix(@desktop/browser): Fix for Favorites bar is not shown without disabling and enabling toggle
Also fixed issue of overlap after a switch between disbaled to enabled state

fixes #4105
2021-11-17 15:43:52 +01:00
B.Melnik defefa1bfe fix: Fix missing setup url for new opeed tab
Closes: #4107
2021-11-17 15:40:50 +01:00
Alexandra Betouni a57fb330bd fix(dekstop/wallet) wrong account color displayed
In receive modal the account color was not corresponding to
the actual account color

* Updated StatusAccountSelector to use accounts from
  new backend
* Updated WalletHeader to use currentAccount from new
  backend

Closes #4071
2021-11-17 16:24:12 +02:00
B.Melnik 663fea0272 fix: Fix missing setup url for new opeed tab
Closes: #4107
2021-11-16 20:43:18 +03:00
Richard Ramos 44e91df428 feat: add toggle for switching status-go DEBUG log level 2021-11-16 09:42:28 -04:00
Richard Ramos c9a0488e89 fix: waku2 lightmode selector 2021-11-16 09:26:03 -04:00
Anthony Laibe df670bfcbb fix(desktop/wallet): new account with error 2021-11-16 10:07:15 +01:00
Anthony Laibe da4d895131 fix(desktop/browser): Fix add bookmark button
This button needs special case when it is not a real bookmark
2021-11-15 19:54:02 +01:00
Pascal Precht ecbdc6fda0 fix(TransferOwnershipPopup): ensure community key is exported properly
There was a bug in our store where an API wouldn't return a value.
This commit fixes this and also replaces the legacy `Input` component
with StatusInput

Fixes: #4082
2021-11-15 12:32:56 +01:00
Jonathan Rainville 2d0c95feb3 fix: fix adding custom tokens
Fixes #4040 for real this time
2021-11-11 09:58:05 -05:00
Khushboo Mehta 0c1dc30e5a fix(@desktop/onboarding): backup seed phrase flow is shown for recovered account
fixes #3954
2021-11-11 09:33:02 -05:00
Khushboo Mehta 1f636e1198 fix(@desktop/browser): Fix for custom homepage not launched in dapp browser
fixes #4036
2021-11-11 09:29:00 -05:00
Khushboo Mehta 26b577824a fix(@desktop/communities): Fix for can't import community
fixes #4073
2021-11-10 14:37:27 -05:00
Pascal Precht 9b9fc74140 refactor: replace `Select` with `StatusSelect` 2021-11-10 13:54:56 -05:00
Khushboo Mehta edb103ee01 fix(@desktop/chat): Modal on the Pinned Messages Popup isnt seen
fixes #4002
2021-11-10 13:39:59 -05:00
Alexandra Betouni b9fcbcf5d3 fix(desktop/chatInput) sticker was not shown in reply area
Closes #4023
2021-11-10 12:25:25 -05:00
Anthony Laibe f913dce44a feat: allow to enable/disable telemetry 2021-11-10 10:14:40 -05:00
Alexandra Betouni d78211972e fix(desktop/chat) online/offline selector not changing color/state
Closes #4049
2021-11-05 17:14:06 -04:00
Richard Ramos 46f9e1fc93 fix: provider chainid format 2021-11-05 15:55:35 -04:00
Jonathan Rainville 499d99a185 fix(settings): fix whitelist setting that starts null 2021-11-05 15:38:36 -04:00
Khushboo Mehta 0d7d09e351 fix(@desktop/browser): Add new bookmark Modal doesnt display url and name of website.
Also fixed behaviour of add/removing a bookmark.

fixes #4037
2021-11-05 15:35:05 -04:00