Commit Graph

2809 Commits

Author SHA1 Message Date
PavelS eaed074957 fix(@desktop/settings): adjust contacts settings
Fixed #7296
2022-09-13 09:52:34 +03:00
Lukáš Tinkl 326e9e09a5 fix: unbreak User List Panel context menu
StatusAssetSettings porting leftover

Closes #7302
2022-09-12 19:29:38 +02:00
Lukáš Tinkl 0d43852394 fix(UserListPanel): minor cleanup
- fix margins
- fix some warnings
- drop dead/duplicate code
2022-09-12 19:29:38 +02:00
Stefan 6e78281d99 test(FavouriteSavedAddresses/Wallet): test toggle favourite for saved addresses
Also
- fix the other saved addresses that were relying on the order of
buttons and fail after adding the favourite button
- improve the rest of the tests
- improve debug buttons
- extend driver with helper functions

Closes: #6898
2022-09-12 16:00:31 +02:00
Stefan 7af95eaada feat(wallet): add favorites for saved addresses
Depends on statug-go favourite flag extension and merging of `favourites`
with `saved_address` tables and API

Additional changes:

- Remove duplicate name instead of ESN

Closes: #6546
2022-09-12 15:58:52 +02:00
Michal Iskierko b782cd1c93 fix(@desktop): Fix icons regressions
Icons in LoginView accounts list and Community members list.

Fixes #7284
2022-09-12 10:48:21 +02:00
Michal Iskierko 235e5e86ac fix(@desktop/chat): Fix showing groupchat image in a few places
Fix #7242
2022-09-12 10:45:27 +02:00
Khushboo Mehta 928e1999d9 feat(@desktop/wallet): Implement Transaction details as per new design
fixes #7214
2022-09-09 21:36:58 +02:00
PavelS bdc072e337 fix(@desktop/settings): update display name validation to unblock saveability
Fix #7177
2022-09-09 18:13:57 +03:00
Igor Sirotin b2485603de fix(AppMain): Made all banners global and stacked 2022-09-08 20:47:54 +08:00
Michal Iskierko 2bb346a09e fix(@desktop): Use colorId to find correct color of users&members
colorId is set in the model instead of using qml function.

Fix #6366
2022-09-08 13:56:27 +02:00
Lukáš Tinkl 5897615cc1 hotfix(AddAccountModal): fix setting account emoji
probably a leftover from the StatusAssetSettings porting
(plus remove some non-existing functions)
2022-09-08 12:23:43 +02:00
Michał Cieślak 0be30b5e54 feat(@desktop/communities) Permissions - holdings edit and remove
Closes #6339
2022-09-08 11:11:28 +02:00
Michał Cieślak c2c2532986 feat(@desktop/communities) Permissions - ENS panel added to "Who holds" selector
Closes #6338
2022-09-07 22:33:36 +02:00
Michał Cieślak b2d678c2c4 chore(HoldingsDropdown): Component refactor and split into smaller files
- decomposed into set of separate components
- reduced number of magic numbers
- minor adjustments with design
2022-09-07 22:33:36 +02:00
Alexandra Betouni 262a6c3160 fix(AddAccountModal): Updated password error message
Closes #5719
2022-09-06 18:48:17 +03:00
Sale Djenic 07a0cdc680 fix(@desktop/keycard): additional updates
- `Setup a new Keycard with an existing account` flow improved
- code review comments applied
- Qml part updated due to the latest `StatusListItem` changes in `StatusQ`
2022-09-06 15:06:13 +02:00
Sale Djenic 79aece0aeb fix(@desktop/keycard): updates to the onboarding/login flow
Changes done within this commit were required by the latest keycard
library change, where we gave up of sending few signals when we're
running/resuming flow, which were sent before (those were signal notifying
about unplugged reader, card not inserted and card inserted, they are sent
by the keycard lib now only if that is really needed).
2022-09-06 15:06:13 +02:00
Sale Djenic afa7928bae feat(@desktop/keycard): keycard settings -> migrate keypair flow
- Added flow which covers `Setup a new Keycard with an existing account` from
the keycard settings part (though two sub-flows there are missing, `Unlock Keycard`
and `Authentication` cause we don't have them yet).
- Updated factory reset flow (part of shared module) that it can read and display metadata
from a keycard if they are set, with this update this flow is almost complete, we are missing
`Unlock Keycard` flow for it as well.
2022-09-06 15:06:13 +02:00
Lukáš Tinkl f4a6fa8012 fix(LanguageView): simplify the radio buttons handling
- pull in required StatusQ changes (see status-im/StatusQ#882)
- simplify the radio buttons handling, no need for a ButtonGroup as they
share the same parent
- the radio buttons have the desired font size as a result ;)
2022-09-06 09:54:11 +02:00
Lukáš Tinkl 4026d3c60d fix(AppMain): profile image doesn't look good after changing language
Fixes #7197
2022-09-05 19:16:03 +02:00
Khushboo Mehta e9c270da87 fix(@desktop/wallet): Entering ENS name in SendModal doesnt work
fixes #6695
2022-09-05 14:55:31 +02:00
Anthony Laibe eb357ff6e2 fix(@wallet): Add account not working 2022-09-05 14:28:42 +02:00
Stefan d81b6ca518 fix(Chat): improve gif confirmation popup and fix preview whitelisting
Enable preview for gifs after enabling the gif functionality
Disable gif functionality if the preview was disabled

Addition fixes
- The gifs weren't checked if all images weren't enabled
- The subdomain wasn't checked for whitelisting if the main domain wasn't enabled
- Image clicking
- Dismiss asking for unfurling was not updating the state

Considerations
- Looked into having the "gif enabled" - "tenor unfurling" relation
embedded in the controller but it would require extensive refactoring
by implementing a data-model for unfurling whitelisted domains

Closes: #6829
2022-09-05 12:41:48 +02:00
Alexandra Betouni e1c548696f feat(Desktop)!: Updating desktop app due to IconSettings refactor
As part of https://github.com/status-im/StatusQ/issues/781
2022-09-02 18:41:21 +03:00
Anthony Laibe ba4aac6456 feat: make screenshot test easy to add between steps 2022-09-02 10:45:23 +02:00
Alexandra Betouni b6ff7b9ded feat(desktop): Made activity button be visible everywhere
Closes #6635
2022-09-02 10:29:23 +03:00
Igor Sirotin 5c909cae6c fix(Profile): Added menu to remove profile image 2022-09-01 15:48:22 +03: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
Lukáš Tinkl 24719c680f fix(ChooseBrowserPopup): 'Choose browser' modal doesn't look good
- export a non-blurry browsers image from Figma
- bring the whole UI closer to the design
- sllight refactor to user StatusDialog and layouts

Fixes #7169
2022-08-31 15:04:34 +02:00
Stefan b499942eea fix(Wallet/AddAccountModal): fix status-go error messages
Remove the unneeded native error dialog showing internal status-go
error strings. Instead redirect the error message for wrong private key
as specific error message.

Fixes: #6984
2022-08-30 19:05:06 +02:00
Anthony Laibe e020466362 fix(@wallet): paste seed phrase 2022-08-30 14:17:33 +02:00
Khushboo Mehta 56e6427260 fix(@desktop/wallet): Assign an emoji to the default wallet account during onboarding
fixes #6694
2022-08-30 11:56:32 +02:00
PavelS 3bd6fe0fdf fix(@desktop/community): add online status to invite modal
Replace Contact component with StatusMemberListItem.
Add missing Nim functions to fill models with onlineStatus.
Adjust components paddings to match design.

Fixes #6985
2022-08-30 10:16:37 +03:00
Michal Iskierko 61f2bb8a74 fix(@desktop/onboarding): Hide current account from accounts list
Fix #7045
2022-08-27 21:08:44 +02:00
Jonathan Rainville 7544bd6fb5
fix: change gateway and remove old code to decode the hash
Fixes:
- https://github.com/status-im/status-desktop/issues/6964
Depends on:
- https://github.com/status-im/status-go/pull/2795
- https://github.com/status-im/status-jenkins-lib/pull/44

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 19:47:02 +02:00
Noelia 3d6e40fd79 feat(CommunityPermission): Added `How holds` collectibles dropdown
- Added collectibles tab component.
- Added extended dropdown base content component
- Added filter popup option.
- Added collectibles model
- Added subitems in model
- Added thumbnails mode view
- Created `CommunitiesStore` and moved mock data to there.
- Added forward subitems navigation and selection.
- Updated `statusq`.

Closes #6337
2022-08-26 18:06:58 +02:00
Boris Melnik 04ce8df483 fix(toast-notifications): Fix notifcations listview sizes
Closes: #6767
2022-08-26 12:30:50 +03:00
Boris Melnik 10d53454b3 test(chat): Can send a gif
Closes: #6882
2022-08-26 12:18:42 +03:00
Pascal Precht fa5b862d2c feat(CreateCommunityPopup): introduce file selector and category panels 2022-08-26 10:59:41 +02:00
Pascal Precht f2dea729a1 feat(CreateCommunityPopup): introduce canGoNext and nextAction for modal pages 2022-08-26 10:28:28 +02:00
Pascal Precht 3509de8673 feat(AdvancedView): introduce feature flag for discord import tool
This adds a feature flag for the discord import tool so we can start
landing individual pieces of the feature without it being fully
implemented.

It also introduces the modal chooser for creating new communities but
it doesn't do anything more than that, as of this commit

Closes #6843
2022-08-26 10:18:49 +02:00
Pascal Precht e98a3b27fb refactor: move CommunityBanner to shared namespace 2022-08-26 10:18:49 +02:00
Patryk Osmaczko 037937a04f fix(@chat/groups): resolve undefined chatContentModule
fixes: #7146
2022-08-26 08:40:47 +02:00
Boris Melnik 7b77973b86 test(chat): Can clean chat history
Closes: #6876
2022-08-25 15:17:52 +03:00
Boris Melnik 4f2db08a75 fix(StatusListItem): fix `sensor.onClicked` to `onClicked`
Closes: #7135
2022-08-25 11:55:55 +03:00
Patryk Osmaczko 6339bd5782 feat(@desktop/chat): sort chat by lastMessageTimestamp
closes: #6634
2022-08-24 17:12:47 +02:00
Sale Djenic 398f62806f feat(@desktop/keycard): initial UI for the keycard settings
This is just a wireframe implementation, without any special functionalities.

Fixes: #7023
2022-08-24 14:18:06 +02:00
Khushboo Mehta 8eb328bae7 fix(@desktop/sugnup): Profile omage chosen during signup sould be saved for the user and squish test for the same
fixes #6861
2022-08-24 11:21:16 +02:00
Stefan f2615e3cef tests(Settings): Can backup seed phrase
Added debug helpers found useful in debugging while implementing squish
tests

Closes: #6902
2022-08-23 15:17:36 +02:00
Anastasiya S 9283e68421 fix: calculate estimated time in ens modal
fix: calculate estimated time in ens modal
2022-08-23 08:52:01 -04:00
Khushboo Mehta 289209f7ec fix(@desktop/profile): Can set own online state to online, offline
fixes #6895
2022-08-23 14:26:42 +02:00
PavelS 38c77095b8 fix(@desktop/chat): adjust add members default picture
Update colorForPubkey to check if colorId is in bounds
Replace userCustomizationColors array usage with Utils function call

Fixes #6971
2022-08-23 13:07:58 +03:00
Khushboo Mehta 0515152bd7 feat(@desktop/wallet): Add Token Detail View
fixes #6491
2022-08-23 10:52:26 +02:00
Boris Melnik 41694a6e09 fix(ContactRequests): Fix `sensor.onClicked` to `onClicked` 2022-08-23 09:58:52 +02:00
PavelS 9f2833b994 fix(@desktop/wallet): adjust receive modal adress
Fixes #6966
2022-08-22 16:01:05 +03:00
PavelS 35d4a7c44d fix(@desktop/chat): adjust start chat page
Fixes #6942
2022-08-22 16:00:23 +03:00
Michal Iskierko 346af7c245 feat(@desktop/chat): Add requests sections to members tab of the community management
Add tabs: "Pending requests", "Rejected"
Add getting declined requests from status-go

Issue #6279
2022-08-22 13:54:36 +02:00
MishkaRogachev f45275bb1a test(community): refactor and improve categary relates test cases 2022-08-22 13:25:33 +04:00
Igor Sirotin 42a1cf995c fix(ChatMessagesView): Usage of `StatusMessage` WIP 2022-08-20 03:02:41 +03:00
PavelS 75ec2750b3 fix(@desktop/chat): adjust search member input
Fixes #6970
2022-08-19 19:05:16 +03:00
Richard Ramos 90a715b69f feat: add store nodes
Fixes #6591
2022-08-18 16:35:43 -04:00
PavelS ba50c69b76 fix(@desktop/community)!: missing error messages
Remove ValidationMode.Always for StatusInputs because by default they
are invalid and validate input when dirty
Remove condition from errorMessage of BackupSeedStepBase as not needed.

Fixes #6825

Requires https://github.com/status-im/StatusQ/pull/858

BREAKING CHANGE: StatusInputs are invalid by default and validate when
dirty.
2022-08-18 15:17:14 +03:00
MishkaRogachev 48b7f1c277 test(community): add a test that deletes a community category
Close #6750
2022-08-18 15:33:37 +04:00
Anthony Laibe ade9086b81 test(@wallet): add test for ens name 2022-08-18 13:11:36 +02:00
Noelia b06bae0d4e test(Settings/Language): Can change language
`tst_languageSettings`:
- Feature and basic scenarios definition: Change language by selection and change language by search.
- Added `StatusLanguageScreen` class and related methods to change and validate language.

`SquishDriver`:
- Added support to scroll at a specific list view index.
- Added support  to directly type into a focused element.

`settings_names.py`:
- Added support for object names related to `side bar` options.
- Unified some nomenclature related to settings objects.

`LanguageView`:
- Updated to allow registering the change on Linux before the restart popup is shown so the language test can work.

Closes #6903
2022-08-18 11:28:55 +02:00
Lukáš Tinkl 395d5548b4 feat(CreateCommunityPopup): Add Community Banner to Create Community Modal
as status-go already supports parsing the banner JSON string, just pass
it along the NIM backend

Closes #6726
2022-08-18 10:15:04 +02:00
PavelS 28bd67072d fix(@desktop/onboarding): adapt account dropdown
-use StatusQ with updated PopupMenu

Fixes #6822

Requires https://github.com/status-im/StatusQ/pull/853
2022-08-17 14:28:12 +03:00
Patryk Osmaczko 4c2a7656f2 chore(settings/profile): address social links QA issues 2022-08-17 13:18:32 +02:00
Patryk Osmaczko aeb64e2029 test(settings/profile): test bio and social links
Note: interaction between clients is not tested here to avoid dependency
on mailserver. When mailserver is mocked more comprehensive tests should
be provided, that is: verify if identity properties are propagated
and read correctly between two different clients.

closes: #6950
2022-08-17 13:18:32 +02:00
Patryk Osmaczko 7adfb515a9 feat(settings/profile): add bio and social links to settings
iterates: #6797
2022-08-17 13:18:32 +02:00
Patryk Osmaczko 805bf824f0 feat(settings/profile): add SocialLinksModal
iterates: #6797
2022-08-17 13:18:32 +02:00
Patryk Osmaczko 46e01afa04 feat(settings/profile): add social links' ui primitives
iterates: #6797
2022-08-17 13:18:32 +02:00
Patryk Osmaczko 29add2fbc9 chore(settings/messaging): improve contact filter expressions 2022-08-17 09:24:52 +02:00
Patryk Osmaczko beb4658633 chore(settings/messaging): `id: container` -> `id: root` 2022-08-17 09:24:52 +02:00
Patryk Osmaczko c46cd1922b chore(settings/messaging): `id: contactListRoot` -> `id: root` 2022-08-17 09:24:52 +02:00
Patryk Osmaczko e9a307c383 fix(settings/messaging): remove imperative filtering from ContactPanel
fixes: #6673
iterates: #6509
2022-08-17 09:24:52 +02:00
MishkaRogachev 9e811838e8 test(community): add a test that creates a community category
Close #6752

test/ui-test/testSuites/suite_status/shared/scripts/sections/community_names.py
2022-08-16 20:57:12 +04:00
Michał Cieślak 21aeeb8906 fix(@desktop/wallet): add account - password checking adjusted 2022-08-16 18:27:16 +02:00
Sale Djenic b34f0a4736 fix(@desktop/keycard): keycard is not recognized when inserted with wrong side
Fixes: #6960
2022-08-16 16:43:33 +02:00
Stefan 057c0ee1c9 test(Communities): can change the emoji of a community channel
Closes #6887
2022-08-16 14:18:16 +02:00
Stefan e33fdafc68 test(Settings) leave community
Also add option to retrieve multiple objects with the same "Real Name"
and other required helpers

Closes: #6886
2022-08-16 14:03:59 +02:00
Noelia 1334fbb5f4 test(chat): Can do a mention in a chat
`tst_chatFlow`:
- Commented out bc of `mailserver` issues and then weak.
- Added basic test scenario for sending a mention in a public chat with needed validations.
- Added basic test scenario to check a mention cannot be done if it is a non existing user.

`StatusChatScreen` updates:
- Updated join room method to validate the chat is loaded.
- Added methods for doing and verifying a mention.

`SquishDriver` updates:
- Added support in `SquishDriver` to click into a link in a text or label component.
- Minor function renames.

Closes #6879
2022-08-16 13:42:56 +02:00
Noelia 7b54bf31b4 feat(CommunitySettings / Permissions): Added `welcome` page and `How holds` tokens dropdown
- Added functionality as experimental advanced view button

feat(CommunitySettings / Permissions): Added welcome page
- Enabled new permissions tab.
- Created welcome page layout.
- Added permissions welcome image.
- Fixed top margin content in `SettingsPanelLayout` to fit designs.

Closes #6036

feat(CommunitySettings/Permissions): Created `new permission` page

- Added `new permission` page.
- Created first card layout.
- Added navigation between `welcome` and `newPermission` views.
- Improvements in base community settings layout pages.

Closes #6037

feat(CommunitySettings/Permissions): `Who holds` tokens dropdown component creation and integration

- Tokens dropdown component creation: main view, operators view and extended view.
- Logic to add new token and change operator.

Part of #6038
2022-08-16 13:42:11 +02:00
Stefan 5fb4c7f110 test(community): delete community channel
Also adds  verify_equal helper function

Fixes #6751
2022-08-16 11:51:20 +02:00
Patryk Osmaczko beeb17a3b4 chore: remove leftovers qsTrId->qsTr 2022-08-16 10:21:01 +02:00
Boris Melnik 6b0e29f2ea fix(Communities): Fix membership requests popup
Closes: #6799
2022-08-15 17:32:10 +03:00
Boris Melnik d8abef5b28 fix(AppSearch): Fix `forceActiveFocus` in StatusSearchPopup
Closes: #6638
2022-08-15 17:30:25 +03:00
Boris Melnik 54687cc8cf fix(ActivityCenter): Close activity center on click outside (via MouseArea)
Closes: #6628
2022-08-15 16:51:17 +03:00
PavelS 78969cb8e0 fix(@desktop/chat)!: adjust image context menu size and position
Fixes #6830

Requires https://github.com/status-im/StatusQ/pull/852

BREAKING CHANGE: StatusImageModal clicked signal contains MouseEvent now
2022-08-15 15:05:16 +03:00
Boris Melnik fbc10e7665 fix(CreateChatView): Move `ActivityCenterPopup` to appmain
Closes: #6345
2022-08-15 14:10:27 +03:00
Khushboo Mehta 210d5ca2eb fix(@desktop/wallet): Can see collectibles for an account
fixes #6896
2022-08-15 11:53:17 +02:00
Khushboo Mehta de2d4f405d fix(@desktop/wallet): Crash when staying on Advanced screen for ~30 minutes
fixes #6474
2022-08-15 09:54:10 +02:00
Khushboo Mehta e9e0161e3c fix(@desktop/wallet): Add Squish test for edit account
fixes #6754
2022-08-12 18:42:31 +02:00
PavelS 46d10e7452 fix(@desktop/onboarding) update logo size
Fixes #6821
2022-08-12 12:37:22 +03:00
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
MishkaRogachev 0418979e9c fix(desktop): Move Input anchors binding to client code 2022-08-12 11:54:51 +04:00
MishkaRogachev 34671a27c1 fix(@desktop/community): Add tags row on communities portal page
Close #6734
2022-08-12 11:52:13 +04:00
Sale Djenic 86a06c9ef9 test(@desktop/general): can quit app by going to settings -> quit
Fixes: #6905
2022-08-11 21:39:34 +02:00
PavelS 76cd0f9949 fix(@desktop/settings) align settings header and menu
Fixes #6773
2022-08-11 15:22:04 +03:00