Commit Graph

763 Commits

Author SHA1 Message Date
Lukáš Tinkl f4a78a1f10 fix: port to StatusButton changes in master
and pull in changes from StatusQ master
2022-09-14 09:16:58 +02:00
PavelS eaed074957 fix(@desktop/settings): adjust contacts settings
Fixed #7296
2022-09-13 09:52:34 +03: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
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
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
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
Boris Melnik 10d53454b3 test(chat): Can send a gif
Closes: #6882
2022-08-26 12:18:42 +03: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
Boris Melnik 4f2db08a75 fix(StatusListItem): fix `sensor.onClicked` to `onClicked`
Closes: #7135
2022-08-25 11:55:55 +03: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
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
Boris Melnik 41694a6e09 fix(ContactRequests): Fix `sensor.onClicked` to `onClicked` 2022-08-23 09:58:52 +02:00
Igor Sirotin 42a1cf995c fix(ChatMessagesView): Usage of `StatusMessage` WIP 2022-08-20 03:02:41 +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
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
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
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 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
Khushboo Mehta e9e0161e3c fix(@desktop/wallet): Add Squish test for edit account
fixes #6754
2022-08-12 18:42:31 +02: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
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
Jonathan Rainville 739437df56 Revert "fix(Profile): Added menu to remove profile image"
This reverts commit f60dacc45d.
2022-08-09 15:09:45 -04:00
Anthony Laibe 7aa7e01f36 test(@wallet): fix broken test on wallet 2022-08-09 10:34:43 +02:00
Igor Sirotin f60dacc45d fix(Profile): Added menu to remove profile image 2022-08-09 10:46:31 +03:00
Richard Ramos 148c677b66 fix: ens details view 2022-08-08 20:42:56 -04:00
Igor Sirotin d048939b5d fix(Profile): Wallet connected dapps count label 2022-08-08 15:53:23 +03:00
Jonathan Rainville 9591123b7e test(onboarding): fix signup with seed phrase tests
Fixes #6744
2022-08-05 12:41:30 -04:00
Stefan 2398b67bc1 fix(wallet): bring back copy wallet address
Depends on StatusQ's StatusAddressPanel generic control

Fixes: #6659
2022-08-05 17:05:02 +02:00
Sale Djenic db44bc25d3 feat(@desktop/keycard): initial keycard implementation
Keycard implementation affected onboarding/login flows.
- new user - first run - new keys into keycard
- new user - first run - import seed phrase into keycard
- old user - first run - login importing from keycard
- login the app using keycard

Fixes: #5972
2022-08-04 09:50:04 +02:00
Khushboo Mehta e5358bf29a fix(@desktop/wallet): Implements basic collectible view
fixes #6492
2022-08-03 10:11:09 +02:00
Anthony Laibe 03b3b0c6f5 test(@wallet): send transaction 2022-08-03 09:45:55 +02:00
Patryk Osmaczko 43de90e80e feat(settings): add alpha and beta language sections
closes: #6662
2022-08-02 17:27:32 +02:00
Patryk Osmaczko 8e31303c6d fix(settings): remove usage of proxyRoles
- SortFilterProxyModel::proxyRoles have big performance impact, don't
  use it util it's fixed
2022-08-02 17:27:32 +02:00
Lukáš Tinkl 4e81f586ca fix(Settings/ProfileLayout): TestNet banner overlaps left panel
Fixes #6600
2022-08-01 11:12:17 +02:00
Jonathan Rainville 03780d4875 feat(MessageContextMenu): add option to verify identity in context menu
Fixes #6252
2022-07-29 09:43:35 -04:00
Michał Cieślak 2fbc313e5a fix(communities): Cannot leave community, invite, mute from Settings/Communities 2022-07-29 11:11:06 +02:00
Lukáš Tinkl 24775f2f51 fix(ContactsListPanel/ContactsView): items have their right side options hidden
Fixes: #6669
2022-07-28 10:45:06 +02:00
Lukáš Tinkl d511e5eda3 fix(ContactsListPanel): hide "Send message" for blocked contacts
Fixes #6299
2022-07-28 10:45:06 +02:00
Boris Melnik e351653083 fix(ContactsPanel): Use `iconSource` property instead of `icon` 2022-07-27 16:49:56 +03:00
Patryk Osmaczko 5b51a7ce81 chore(settings): fix naming: locale->language 2022-07-27 14:22:50 +02:00
Patryk Osmaczko 0dfdcc727a feat(settigns): use nim provided language model
closes: #6416
2022-07-27 14:22:50 +02:00
Lukáš Tinkl ee43cb277a fix(AppearanceView): UI issue fixes
- fix system appearance preview being cut off
- bring the panel close to UI design (I haven't changed the common
  stuff like headline fonts, overall margins, etc)

Closes: #6623
2022-07-26 23:41:30 +02:00
Alexandra Betouni be64f60a86 fix(StatusInput): Updated status input custom height leftovers
Closes #6637
2022-07-26 14:45:41 -04:00
Sale Djenic 21c007c8a5 fix(@desktop/general): broken master quick fix 2022-07-26 14:29:59 +02:00
Boris Melnik 039638d4bb fix(contacts): Showing letters for contacts without profile picture
Closes:#5514
2022-07-26 14:31:45 +03:00
Khushboo Mehta 7ba6e06bc5 fix(@desktop/wallet): QR network picker style is a bit off
fixes #6386
2022-07-25 21:12:10 +02:00
Alexandra Betouni 84522bd7fe fix(CommunitiesPortal): fixed status input as per design
Closes #https://github.com/status-im/status-desktop/issues/6358
2022-07-25 15:07:27 +03:00
Alexandra Betouni 3b0dbd6052 fix(Wallet/AssetList): Updated as per designs
Closes #6481
2022-07-25 13:30:50 +03:00
Michał Cieślak 499b360112 fix(@desktop/settings) contacts search doesn't work by compressed pk 2022-07-24 12:29:24 -04:00
Anthony Laibe 46f82f2c5e feat(@test): Add test for delete account 2022-07-22 09:20:55 +02:00
Sale Djenic 41d6d292f8 fix(@desktop/general): `storingPasswordModal` property removed
Currently there is no need in the app for creating a pass via `CreatePasswordModal`
removed that support from the modal to avoid confusion about its usage.
2022-07-22 08:13:27 +02:00
Sale Djenic f9244e2c9f fix(@desktop/onboarding): Onboarding/Login flow improvements
- startup, login and onboarding modules merged into the single one
- `State` class introduced which is the base class for all states, every state
  determines what is the next state in each of 3 possible actions, and what
  is the previous state, if it has previous state
- `StateWrapper` class is introduced as a convenient way to expose
  `State`'s props and deal with them on the qml side
- startup module maintains states as a linked list and there are few convenient
  methods to move through the list `onBackActionClicked`, `onNextPrimaryActionClicked`
  `onNextSecondaryActionClicked`, `onNextTertiaryActionClicked`
- redundant code removed

Fixes: #6473
2022-07-22 08:13:27 +02:00
Lukáš Tinkl 080966cc19 fix(EnsTermsAndConditionsView): fix checkbox alignment
actually make it possible to also click the text to toggle :)

Closes #6558
2022-07-21 15:58:33 -04:00
Khushboo Mehta 91eb1a7969 feat(@desktop/profile): Adapt view for settings as pre new design
fixes #5725
2022-07-21 15:06:01 -04:00
MishkaRogachev 9aa1a1073e fix(@desktop): Fix scrolling in chat components, wallet fixes 2022-07-21 18:44:30 +03:00
MishkaRogachev 58e0fce819 feat(@desktop): Fix twitchy scrolling issues
Close #6187
2022-07-21 18:44:30 +03:00
MishkaRogachev 0d3aed0611 fix(@desktop): Fix scrolling twitches using ScrollView amd Flickable items
Close #5781
2022-07-21 18:44:30 +03:00
Lukáš Tinkl 1b576a64cf fix(BackupSeedModal): fix the confirmation/final page UI
Follow up to PR #6467, just a few minor UI tweaks to align it to the
intended design
2022-07-16 03:33:35 +02:00
Michal Iskierko 9ef807277e fix(@desktop/chat): Fix accepting and rejecting requests
Adding try/catch in a service
Fix naming in QML

Fix #6395
2022-07-15 16:08:25 +02:00
Lukáš Tinkl 5f97a1c157 fix(BackupSeedModal): fix the intro/acknowledgement page UI
Fixes #6411

- fix the order of buttons and the Skip button transparent background
- don't let the subHeaderItem eat vertical space when it's not visible
- layout/margins/spacing/linespacing fixes
2022-07-15 15:22:27 +02:00
femi 971d12ff42 Update Settings NavBar
Update FileManager
Update ObjectMapper
2022-07-15 09:27:51 +01:00
femi 3bdba429e3 feat(@DesktopApp): Login- 12, 18, 24 Seed Phrase
https://github.com/status-im/status-desktop/issues/6274
https://github.com/status-im/status-desktop/issues/6275
https://github.com/status-im/status-desktop/issues/6276

Login for 12, 18 and 24 seed Phrase
2022-07-15 09:27:51 +01:00
Khushboo Mehta 864bdd63fa fix(@desktop/wallet): Fix for Wallet icon background color seems off in wallet settings under dark mode
fixes #6059
2022-07-13 13:20:29 +02:00
Lukáš Tinkl 1a2eb84ace fix(MyProfileSettingsView): fingerprint entry should fill the full width
Fixes #6361
2022-07-13 12:07:06 +02:00
Lukáš Tinkl fa8c3c6efd fix(BackupSeed): backup seed phrase form is not centered
Fixes #6387

TLDR; since this is a GridView, it needs a width/height set and then
centered on top of the parent component (as opposed to `anchors.fill`)

Also added a scroll indicator in case the window height is not tall
enough and fixed some small warnings
2022-07-12 18:52:34 +02:00
Jonathan Rainville 95407cc1e0 fix(contacts): remove isMutualContact, use isContact or isAdded indead
Fixes #6220

Fixes the issue with the mutual contact icon showing when just added.
It also does a huge cleanup of the codebase to remove isContact and replace it with either isAdded, when we care only about if we added, or isMutualContact if we want the contact to be mutual
Also fixes an issue with the MessageContextMenu not reflecting the added state correctly.
2022-07-11 09:34:29 -04:00
Lukáš Tinkl f798d6d0e6 fix(profile): the profile image is blurred in different places
Closes #6295

- use the recently introduced `profileLargeImage` property for bigger user
images
- fix some QML(lint) warnings
2022-07-08 09:40:22 +02:00
Pascal Precht 04037d1d64 fix(Profile): ensure backup seedphrase warning disappears
The warning to back up the seedphrase should disappear after either
dismissing the message, or in fact backing up the seed phrase.

The latter was not happening because the banner didn't take that
information into account. This commit fixes this by ensuring we let the
banner know whether the seed phrase was already backed up.

Notice that we don't want to render the banner when the seed phrase has
*not* been backed up yet, but was dismissed by the user.

Fixes #6255
2022-07-07 15:18:56 +02:00
Mikhail Rogachev f03d89ad0d Update ui/app/AppLayouts/Profile/popups/BackupSeedModal.qml
Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>
2022-07-07 14:47:12 +03:00
MishkaRogachev 6d72e19568 fix(@desktop): Refactor Backupseed modal
Close #6144
2022-07-07 14:47:12 +03:00
Lukáš Tinkl 4e71f813a2 fix(settings): flags are blurred in the Languages list
Fixes #6306

- update the StatusQ components to the latest commit which includes
the StatusIcon fixes
- switch the LanguageStore and CurrenciesStore to use SVG icons for flags
and money icons instead of PNGs
2022-07-06 20:52:48 +02:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Igor Sirotin c7d2157d20 fix(MyProfileView): New design 2022-07-04 21:56:04 +04:00
Anthony Laibe ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Noelia 70383a51bd feat(CommunitiesPortal): Enable Communities portal & update chat menu
- Removed 'Communities Portal' toggle from the advanced settings and enable it by default.
- Removed dropdown menu. The button opens directly the join public chat modal.
- In the portal, "Import community" button is now clickable and opens the import community modal.
- In the portal, "Create community" button is now clickable and opens the create community modal.
- Enabled navigation to the clicked community.

Closes #6099
2022-06-27 10:28:36 +02:00
Alexandra Betouni 1cda32470b fix(Profile): ContactsView layout and scrolling issues
Closes #5876
2022-06-24 15:24:35 +03:00
MishkaRogachev 2251f870a0 feat(@desktop/chat): New profile context menu states
Close #6113
2022-06-22 15:50:59 -04:00
Anthony Laibe 2112135c6f fix(@communities): remove totally the toggle for experimental feature
fixes #6175
2022-06-21 12:12:09 -04:00
Boris Melnik eb3b22caef fix(communities): Fix `try/catch` block in communities service
Closes: #6074
2022-06-21 11:25:35 -04:00
Alexandra Betouni 65d90cbc51 fix(LoginView/AboutView): Update status logo image
Closes #6051
2022-06-21 11:06:03 -04:00