Commit Graph

2945 Commits

Author SHA1 Message Date
Sale Djenic 1f49f3fedd chore(@desktop/keycard): keycard animations' details set as constants for easier maintaining 2022-10-19 13:24:41 +02:00
Sale Djenic 7377526553 feat(@desktop/keycard): create a 12-digit personal unblocking key (PUK)
Fixes: #7037
2022-10-19 13:24:41 +02:00
Sale Djenic 9b2a63c400 feat(@desktop/keycard): change pin flow added
Fixes: #7034
2022-10-19 13:24:41 +02:00
Lukáš Tinkl 025a45d1a4 chore(AppMain): improve startup time
- wrap everything we can in AppMain with a (async) Loader
- do not access globals w/o a proper store
- drop some dead code

Although I wasn't able to completely fix the bug, the ~50% improvement in
startup time is still worth trying imho. On my machine, the startup time
went down from ~7s to under 4s.

Related: #7292
2022-10-19 10:48:20 +02:00
Patryk Osmaczko fa1f396a86 fix(communities/portal): navigate or spectate community
fixes: #7244
2022-10-18 21:21:10 +02:00
Patryk Osmaczko a543f46de5 chore(communities/portal): extend curated communites model 2022-10-18 21:21:10 +02:00
Patryk Osmaczko 76f79cda4d chore(communities/portal): remove dummy model 2022-10-18 21:21:10 +02:00
Patryk Osmaczko 27a9133882 feat(communities/portal): add tags filtering 2022-10-18 12:53:41 +02:00
Patryk Osmaczko 534a0d0f45 feat(StatusQ): implement overflow pattern to StatusCommunityCard 2022-10-18 12:53:41 +02:00
Patryk Osmaczko a2b88d7b77 feat(storybook): extend communities portal cards with tags 2022-10-18 12:53:41 +02:00
Iuri Matias 440d0a9017 chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global
chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global

fix storybook menu
2022-10-17 10:03:17 -04:00
Lukáš Tinkl 7a407662e2 feat: New Profile Modal
Fixes: #7360
2022-10-17 12:05:54 +02:00
Stefan 057d0c565e fix(Wallet): fix import seed in account creation
Remove the workaround, to the approach of using the complete last word event,
for three letters seed-words. The three letters condition introduced
another side effect when completing the "sentence" and made the
_internal.mnemonicInput contain an extra duplicate word.

Unify the event `doneInsertingWord` generation for the internal purpose
with the external. This will trigger a secondary for some usage but
I see no problem with even in other usages.

Fix corner case when user enters a correct seed word that is not singular
and uses the mouse to jump. In that case the doneInsertingWord is not triggered

Fixes: #7715
2022-10-14 14:20:35 +02:00
Sale Djenic 43011645f2 fix(@desktop/keycard): clicking `Get Keycard` button should direct to purchase page
Fixes: #7027
2022-10-14 13:49:23 +02:00
Khushboo Mehta 7e82b36509 feat(@desktop/wallet): Create API to retrieve historical price for a token
fixes #7260
2022-10-14 10:29:29 +02:00
Sale Djenic b1f8a476e8 feat(@desktop/keycard): rename keycard flow
Fixes: #7033
2022-10-13 19:58:45 +02:00
Sale Djenic c1f4874e18 feat(@desktop/keycard): UI for the keycard settings in case user has set up a keycard
Keycard settings view - UI - developed in a way that list of keycards is displayed
if there is at least one keycard set up. If the a keycard is locked or gets locked it
will be correctly marked in red. Selecting keycard from the list, its details may be
seen and additional flows may be run for it (so far only unlock flow is developed).

Fixes: #7025
2022-10-13 19:24:04 +02:00
Sale Djenic 86a2d963ad chore(@desktop/keycard): appropriate margin set for title for all views in settings 2022-10-13 19:24:04 +02:00
Lukáš Tinkl 813dbc57c0 feat: notification through notify-send on Linux
plus some minor UI changes in the Notifications settings; notably
toggling the exemptions was broken

Closes #2520
2022-10-13 17:28:46 +02:00
Noelia 94910e9554 fix(Onboarding): Give consistency to Create / Confirm password view font-size
Updated `Create` and `Confirm` password views according to new design decisions taken to give consistency to the onboarding screens (related to font-size).

Updated related squish test cases: Screenshots updated with new font-size and refactored some objectNames and objects that where using `text` property instead of `objectName`.

Updated `Input` components to `StatusPasswordInput` ones.

Fixes #7447
2022-10-13 16:15:36 +02:00
Michał Cieślak f0e238dce6 chore(general): Remove profile pictures visibility options
From now on, if the image is available it should be displayed
uncoditionally.

Closes: #7609
2022-10-13 07:51:55 -04:00
Sale Djenic 4153489ade fix(@desktop/keycard): onboarding - typo
Fixes: #7880
2022-10-13 11:04:19 +02:00
Sale Djenic 0cb23e0f16 fix(@desktop/keycard): login flow
Onboarding flow updated according to the latest related
figma changes.
2022-10-13 08:28:21 +02:00
Sale Djenic 2a019f330a chore(@desktop/keycard): `quaternary` and `quinary` actions introduced 2022-10-13 08:28:21 +02:00
Sale Djenic 095578b517 fix(@desktop/keycard): onboarding flow `I already use Status` -> `Login with Keycard` updated
Onboarding flow updated according to the latest related
figma changes.
2022-10-13 08:28:21 +02:00
Sale Djenic eb5ad8c911 fix(@desktop/keycard): onboarding flow `I'm new to Status` -> `Import a seed phrase` -> `Import a seed phrase into a new Keycard` updated
Onboarding flow updated according to the latest related
figma changes.
2022-10-13 08:28:21 +02:00
Sale Djenic 9be07efec3 fix(@desktop/keycard): onboarding flow `I'm new to Status` -> `Generate keys for a new Keycard` updated
Onboarding flow updated according to the latest related
figma changes.
2022-10-13 08:28:21 +02:00
Lukáš Tinkl 7f944c09be fix: unbreak the "Jump to" menu item
qrc:/app/AppLayouts/Chat/popups/PinnedMessagesPopup.qml:143:
  TypeError: Cannot call method 'jumpToMessage' of undefined
2022-10-12 11:16:10 -04:00
Michał Cieślak d5a4ab5967 feat(Storybook): LoginView - initial setup
Closes: #7865
2022-10-12 10:54:55 -04:00
Boris Melnik 4cfa4e5451 fix(replies): Fire dataChanged when contact changed in reply
Closes: #7687
2022-10-12 10:54:24 -04:00
Stefan 6cfcd92c00 fix(Keycard): disable unfinished onboarding keycard login feature
This workflow doesn't save the keystore files which are required in order
to create new wallet accounts. It is not yet clear how to proceed with
saving the keystore files without an accountId.
See `setupAccountKeycard` which is missing `storeAccount*` calls vs
working workflow done in `setupAccount`

Closes: #7867
2022-10-12 10:49:50 -04:00
Boris Melnik 073e97eecd fix(Communities): Fix elide for communtiy public key
Closes: #7777
2022-10-12 16:33:18 +03:00
Boris Melnik 6a11a89ff3 fix(Reply): Add check if responsed message was deleted and add `<deleted>` to reply message
Closes: #7372
2022-10-12 15:43:48 +03:00
Michał Cieślak 553f1f5beb fix(ChatHeaderContentView): Unreachable buttons in community header at min width
Closes: #7647
2022-10-11 16:58:41 +02:00
Noelia 2716e8a7c9 fix(Chat/CommunityColumn): Create new chat button looks inconsistent across views
Added consistency between chat / community views: Colour and button position modified to be the same.

Fixes #7648
2022-10-11 16:05:35 +02:00
Stefan de2c421b5e fix(Wallet): allow to edit name and color for a new account before authentication
There is no good reason to keep user entering information before authenticating

Also fix typo

Fixes: #7714
2022-10-10 16:54:46 +02:00
Lukáš Tinkl daa264c366 fix: chat view channels are too thin
Closes #7682
2022-10-10 16:01:25 +02:00
Michał Cieślak 2b6150177b feat(Storybook): First sample page (CommunitiesPortalLayout) 2022-10-10 15:09:12 +02:00
MishkaRogachev 2710d02fea Fix(Communities): Fix cropped list in invite users to community popup
Close #7798
2022-10-10 13:17:12 +04:00
Noelia 11fcd82b82 fix(Language): App crashes when language is changed
Enabled restart info popup after language is changed --> Workaround to temporary resolve the crash we have when language is changed (`startupModule` is null and some qml bindings are still calling this dead pointer) so, change language will not retranslate and instead, also on mac and win, the app will need a restart to apply the new language.

Disabled retranslations for all os on the corresponding service.

Will temporary fix #7709
2022-10-07 18:45:41 +02:00
Patryk Osmaczko acbf6fce51 feat(@desktop/communities): add new join community workflow
- user is able to see community without being a member
- invitation bubble always display "Go to Community"
- join community buttons are displayed in community view

main part of: #7072
2022-10-07 09:10:21 +02:00
Noelia bc1b2735ca fix(Community/Settings): Second Nav of community differs from the Design
- 'Settings' title removed and it is shown instead the Community name and number of members
- Overview icon updated according to the design
- Icon of members size updated according to the design
- The spaces between edges of the Secondary Nav tab and items updated according to the design

Fixes #6785
2022-10-06 09:31:16 +02:00
Pascal Precht bf14b06d55 feat(CreateCommunityPopup): add discord import progress panel and discord message handling
This adds the UI plus all necessary models and signal handling to render
discord import progress in the desktop application.

It also introduces message handling for discord chat message types.

Requires status-im/status-go#2826 to function

Co-authored with @caybro
2022-10-06 09:13:57 +02:00
Richard Ramos ed8c0815e2 feat: correct storenode query behavior and remove useless menu item 2022-10-05 10:21:53 -04:00
Noelia 92c62bdbdd fix(Community/Settings): Community overview/settings layout broken
Fixed top margin and content type.

Removed right margin in central panel.

Fixed #7666
2022-10-05 15:15:31 +02:00
Igor Sirotin f32e551c75 fix(InviteFriendsToCommunityPopup): Created single global instance. Fixed profile icons. 2022-10-05 14:37:36 +03:00
Michał 80bcb15bc3 Revert "fix(ChatMessagesView): unbreak closing reply bubble"
This reverts commit d7710ce135.
2022-10-05 13:33:49 +02:00
Michał a6beeee3e7 Revert "fix(ChatMessageView): delayed binding for proper msg height calculation"
This reverts commit 53a3a769d9.
2022-10-05 13:33:49 +02:00
Lukáš Tinkl 99272c580c fix(ChatMessagesView): Loading spinner and scroll to bottom button overlap
- remove the extra spinner (ok'ed by John and Benj)
- use the more modern StatusIcon, w/o the unconditional ColorOverlay
- some minor cleanup

Closes: #7645
2022-10-05 02:59:37 +02:00
Michal Iskierko e28163a771 fix(@desktop/chat): Fix sending request to ens account.
Fix #7699
2022-10-04 13:27:34 -04:00
MishkaRogachev 9d103e5b07 feat(ActivityCenter): Fix unreadNotificationsCount availability on every section
Close #7674
2022-10-04 17:05:47 +04:00
Igor Sirotin 7d08c06524 fix(chat): Connected font sizes to Theme properties 2022-10-04 15:14:04 +03:00
Igor Sirotin b65023bf45 fix(PinnedMessagesPopup): Fixed reply messages displaying 2022-10-04 14:09:19 +03:00
Alexandra Betouni 3e3ad7fef5 fix(Community): big space in invite friends popup
Closes #7707
2022-10-04 13:38:50 +03:00
Michał Cieślak 2b8ee35e91 fix(CommunitiesPortal): display banner in community portal cards
Closes #7417
2022-10-04 12:06:23 +02:00
Michał Cieślak a21bbc8ba8 fix(InsertDetailsView): use force flag for getColorHashAsJson to skip ENS check
Closes: #7671
2022-10-04 11:32:51 +02:00
Michał Cieślak 53a3a769d9 fix(ChatMessageView): delayed binding for proper msg height calculation
Direct binding was causing problems with height calculation in some
environments (qt 5.15) and lack of binding in other (5.14). This is
a solution which seems to work in both cases.

Closes: #7703
2022-10-04 11:32:34 +02:00
Noelia 03691ba4b1 test(GroupChat): Broken tests updated
The create a group chat related objects have been updated according to new qml changes.
Now these tests are working (if they don't work it is bc of mailserver reliability).
2022-10-04 11:17:47 +02:00
Michał Cieślak 4452574c24 feat(CommunitiesPortal): show placeholder when no search results
Closes: #7299
2022-10-04 11:09:40 +02:00
Michał Cieślak e70fecaf2d feat(CommunitiesPortal): implement text search using mocked model
Additionally:
- communities grid made scrollable
- filtering done using SortFilterProxyModel
- various adjustments to the design
- clear input button added to the search input

Closes: #6360
2022-10-04 11:09:40 +02:00
Khushboo Mehta 9638b200e1 fix(@desktop/wallet): Added squish test for change password and relogin
fixes #6900
2022-09-30 15:56:03 +02:00
Sale Djenic a1027ff087 feat(@desktop/keycard): sign transaction using `Authenticate` flow
Actually this is not a signing transaction, but rather authenticating logged in
user when he wants to send a transaction. An authentication is done by entering
password(regular user) or pin(keycard user).

A real signing transaction feature will be (hopefully) added in a near future where
we're going to sign a transaction on a keycard which corresponds to a certain
account, a user wants to send a transaction from.

To sum up... this change just removes password from the send modal and introduces
`Authenticate` flow instead.

Fixes: #7510
2022-09-29 17:28:18 +02:00
Michał Cieślak b34b9fb347 fix(Popups): clipping area fixed in various popups
Closes: #7601
2022-09-29 10:39:07 -04:00
Stefan 39527a5739 fix(wallet): fix never fetching transactions
The RootStore was calling checkRecentHistory on the wallet section View
instead of the transaction View.

Still the workflow is broken due to the 20 minutes timer that calls
the checkRecentHistory and hangs the the main thread (UI) for a long time

Fixes: #7266
2022-09-29 10:45:27 +02:00
Michał Cieślak b984b04c70 fix(ContactsColumnView): Removed margin when the list positioned not at the end
Closes #7526
2022-09-29 00:23:55 +02:00
Michał Cieślak f48aee2e44 fix(UserListPanel): Removed margin when the list positioned not at the end
Closes #7526
2022-09-29 00:23:55 +02:00
Igor Sirotin 010bdc9956 feat(CreateChatView): Support pasting chat key 2022-09-28 09:55:25 -04:00
Alexandra Betouni fc3daa1451 (StatusSectionLayout): removed big space between header and content
Closes 7312
2022-09-28 15:37:52 +03:00
Noelia 751d61df8b fix(Communities/Settings): Cropped bottom panel in Community Overview
Footer buttons anchored to `leftPanel` bottom.
Improved list view alignment.

Fixes #7322
2022-09-28 12:01:58 +02:00
Alexandra Betouni d45230a6f7 fix(CreateChatView): disable confirm button if no tags added
Closes #7493
2022-09-28 12:53:16 +03:00
Sale Djenic c5a81455e8 fix(@desktop/keycard): change password disabled for a keycard user 2022-09-27 20:15:34 +02:00
Sale Djenic 4e257539b8 chore(@desktop/keycard): `usingBiometricLogin` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 3687df2a2f chore(@desktop/keycard): `isKeycardUser` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 08ef68706f feat(@desktop/keycard): login flow wrong keychain pin update 2022-09-27 20:15:34 +02:00
Sale Djenic 861c585d2b feat(@desktop/keycard): adding wallet account using `Authenticate` flow
Fixes: #7509
2022-09-27 20:15:34 +02:00
Sale Djenic db1bbef0e1 fix(@desktop/wallet): validation of a seed phrase if it contains a word of length 3 fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 64f167a32d fix(@desktop/wallet): pasting seed phrase fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 4bff0b14ed fix(@desktop/wallet): crash adding an account via seed phrase fixed 2022-09-27 20:15:34 +02:00
Sale Djenic f11ff29cb4 feat(@desktop/keycard): check what’s on a Keycard
Fixes: #7032
2022-09-27 20:15:34 +02:00
Sale Djenic 10c3b66336 feat(@desktop/keycard): unlock keycard flow added to the flows which are using it
- factory reset flow updated with unlock keycard flow
- setup new keycard (keycard migrate) flow updated with unlock keycard flow
- authenticate flow updated with unlock keycard flow
2022-09-27 19:03:18 +02:00
Igor Sirotin c8bb6ae30e fix(CommunitySettingsView): Fixed sending community invitations 2022-09-27 19:41:23 +03:00
Lukáš Tinkl a209d39881 fix: ENS name issues
- don't display identicon rings for contacts with an ENS name
- prefer the at-form (@foo-user) whenever possible, and don't display their
  username or pubkey unless they are locally given a nickname
- show compressed keys everywhere instead of the regular ones

Fixes: #7319
Fixes: #7515
2022-09-26 22:38:02 +02:00
Lukáš Tinkl 54c73b0be7 chore: cleanup, fix warning, remove dead code 2022-09-26 22:38:02 +02:00
MishkaRogachev ac9d68b6f5 feat(ActivityCenter): Add ReplyBadge & review fixes
Close 7276
2022-09-26 15:49:46 +03:00
MishkaRogachev d4d22f4094 feat(ActivityCenter): Notification badge with community info 2022-09-26 15:49:46 +03:00
Alexandra Betouni 7ea19d14d0 fix(CommunityListTags): fixed gradiend on dark theme
Closes #7257
2022-09-26 15:30:14 +03:00
PavelS 6a96bc93b3 fix(@desktop/chat): handle same name mentions
Fixes #7220
2022-09-22 15:01:55 +03:00
Lukáš Tinkl 19391d9052 fix(PinnedMessagesPopup): don't show empty replies and reactions
Fixes: #7498
2022-09-22 12:18:04 +02:00
Lukáš Tinkl 19aa32a07e fix(ContactPanel): unbreak showing identicon rings
- unbreak the user icon in the popup menu
- don't show idention ring for ENS names

Fixes: #7496
2022-09-22 11:21:37 +02:00
Lukáš Tinkl 52dbf9b7c8 fix(CommunitiesListPanel): set uniform icon size
we want same icon sizes here, no matter if there's an image or not

Fixes: #7285
2022-09-22 11:18:16 +02:00
Lukáš Tinkl d7710ce135 fix(ChatMessagesView): unbreak closing reply bubble
there was a binding loop warning; but this one also fixes overlapping
messages

Fixes: #7481
2022-09-22 08:37:29 +02:00
Alexandra Betouni 311cf5332c fix(Createchat/EditGroupChat view): fixed spacing all over
Closes #7369
2022-09-21 17:39:51 +03:00
Alexandra Betouni b94beff89f fix(TransferOwnershipPopup): copy button right margin
Closes #7412
2022-09-21 16:32:25 +03:00
Michal Iskierko 680dd39c76 fix(@desktop/community): Only admin can open community settings
Fix #7379
2022-09-21 14:25:09 +02:00
Lukáš Tinkl 58b56d831b feat(PinnedMessagesPopup): enable Unpin context menu entry
and remove the context actions we do not actually use

Fixes: #7439
2022-09-21 10:48:20 +02:00
Lukáš Tinkl c7c77b52eb fix(ChatHeaderContentView): don't display "Contact" subtitle
for 1-to1 chats

Fixes: #7419
2022-09-20 18:02:34 +02:00
MishkaRogachev edbd9adbb6 fix(ActivityCenter): Getting any of AC notifications visible
Close #7016
2022-09-20 16:43:21 +03:00
Lukáš Tinkl 6668803fb3 fix(MyProfileSettingsView): adjust biometrics switch padding
Fixes #7306
2022-09-20 14:38:18 +02:00
Alexandra Betouni dd08cb60c2 fix(AssetsDetailView): fixed warning 2022-09-20 14:31:17 +03:00
Lukáš Tinkl 28ca3bd075 hotfix: unbreak opening URL in the builtin browser
The functions needs to stay at the toplevel to be accessible from
AppMain

Fixes: #7434
2022-09-20 11:34:04 +02:00
Alexandra Betouni fb7989db55 fix(Profile/ContactsView): updated contacts layout
All contacts should be shown in one long list, should
the list is longer than the page, the page should
scroll down

Closes #6262
2022-09-20 11:13:51 +03:00
Michał Cieślak f900e7c00e fix(general): buttons font fixed, font loading refactored
Fixes: #7389
2022-09-19 22:10:25 +02:00
Michał Cieślak 648c943c53 feat(@desktop/communities) Permissions - 'is allowed to' dropdown 2022-09-19 22:00:03 +02:00
Michał Cieślak 34625ad1c4 feat(@desktop/communities) Permissions, 'who holds' section - handling localiezed amounts
Closes #7162
2022-09-19 21:46:44 +02:00
Lukáš Tinkl 9addf1221b fix(PinnedMessagesPopup): “Jump to” button doesn’t work pinned messages popup
This was never implemented, eventhough a similar approach is used with
the global AppSearch. Expose the method `scrollToMessage(messageId)` so
that it can be called from QML directly.

Fixes #7375
2022-09-19 16:34:07 +02:00
Michał Cieślak 992bd01f83 fix(@chat/members): display member's picture according to settings
Closes: #7309

Two fixes:
- current user's picture is always visible
- hide pictures off all members (excluding self) when "noOne" options is
set
2022-09-19 14:53:48 +02:00
Stefan 93af435bf9 fix(tests): don't rely on quick actions, wait for components to be ready
Onboarding tests fail on mac. The fix is to wait for the delayed
components to be ready before clicking on the quick actions.
2022-09-19 13:16:22 +02:00
Michal Iskierko 62c2b56fc8 fix(@desktop/chat): Improving displaying user names in chat
1. Rename contactDetails.displayName -> defaultDisplayName
2. Add contactDetails.optionalName (filled in contact service)
3. Set in message_model defaultDisplayName and optionalName values
4. Adjust UI

Issue #7241
2022-09-19 11:24:35 +02:00
Michal Iskierko a45770cc98 fix(@desktop/chat): Fix showing contact names after restoring account
Fixes #7241
2022-09-19 11:24:35 +02:00
Stefan 0f1ade6967 tests(chat): adapt gif test and add image unfurling test
The gif test was manually activating the unfurling, which is no longer
necessary. Now check that enabling gifs will enable tenor unfurling

Also add a test for image unfurling and validate the unfurling image
links components and preview settings.
2022-09-19 11:19:17 +02:00
Michal Iskierko a0c145fbfc fix(@desktop/community): Fix member icons in invite friends panel
Fix #7364
2022-09-19 10:02:36 +02:00
Lukáš Tinkl 9bbbdc828b chore: sync StatusQ
- corrects the spacing in "Pinned by @author" message
- and fix a typo

Fixes: #7305
2022-09-16 15:26:11 +02:00
Lukáš Tinkl 781575c4b5 fix: Import Community panel fixes
Closes #7362
2022-09-16 14:11:40 +02:00
Lukáš Tinkl a862c0672b fix: community banners UI fixes
- fix spacing/padding/margins
- remove MouseAreas, they block hovering the buttons (not needed any
longer thanks to our new QQC2 buttons)
- some minor cleanups

Fixes #7366
2022-09-16 11:49:42 +02:00
Stefan fea157e50e fix(chat): remove tenor.com domain from preview
Also use the preview width if available

Fixes #13955
2022-09-16 09:45:51 +02:00
Alexandra Betouni b47b3e8be6 feat(AssetDetailView): Adding price history chart
Closes #6490
2022-09-15 18:13:38 +03:00
Lukáš Tinkl bd8a384d26 fix(CommunityColumnView): Mute button in the chat list is not working
Fixes #7370
2022-09-15 17:02:26 +02:00
MishkaRogachev 25c5be2f78 feat(ActivityCenter): Refactor AC from chat and place in mainui
Close #7338
2022-09-15 12:21:06 +03:00
Lukáš Tinkl 2dca7904b8 fix(PinnedMessagesPopup): pinned messages modal design issues
- align the dialog to design
- fix radio button logic (it was possible to uncheck a mutually exclusive
checked button eventhough it's inside the button group, leaving the Unpin
button in an undefined state)
- port to StatusDialog and layouts, dropping a lot of needless code
- remove dead code for passing around the `property Component
pinnedMessagesListPopupComponent`; the popup is being invoked via
`Global.openPopup()`

Fixes #7316
Fixes #7315
2022-09-15 10:55:56 +02:00
Sale Djenic 03bb1e5bf0 feat(@desktop/keycard): authenticate flow added
- Added `Authenticate` flow
- `Setup a new Keycard with an existing account` updated so it includes `Authenticate` flow
from the point where is needed (when migrating a profile keypair)
- We are missing `Unlock Keycard` flow for this one, will be added once it is developed
2022-09-14 16:05:52 +02:00
Sale Djenic 405171dad7 fix(@desktop/keycard): updates to the onboarding/login flow
- login states updated so they can resolve enter pin state from each state
that flow may be in
- not a keycard state added
- login plugin state added
2022-09-14 16:05:52 +02:00
Lukáš Tinkl 0794736c36 fix(ChatHeaderContentView): port to StatusChatInfoButton changes
- `sensor` no longer exists
- no need to constrain the button width, it's used in a toolbar Loader
that fills the width

Closes: #7313
2022-09-14 13:29:23 +02:00
Lukáš Tinkl 010877e9b3 fix(CommunityColumnView): fix tooltip orientation and plural 2022-09-14 13:29:23 +02:00
Lukáš Tinkl c800cbec44 fix(ChatView): unbreak setting community emoji
need to pass around the `emojiPopup`
2022-09-14 13:29:23 +02:00
Lukáš Tinkl fda78a1003 fix(BackUpCommuntyBannerPanel): StatusButton port fix
the `clicked()` signal has no longer any parameter
2022-09-14 13:29:23 +02:00
Michal Iskierko 55cb3cbf33 test(group chat): Testing changing group chat's name, color and image.
Fixes #7065
2022-09-14 12:49:43 +02:00
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
MishkaRogachev ae4519a6be feat:(@desktop/activity-center): AC notification categories according new designs
Close #7161
2022-09-13 17:58:31 +04:00
Patryk Osmaczko 52a34b21d0 fix(@desktop/chat): ensure proper limit when creating chat 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 7fad1ed5db fix(@chat/members): display alias if displayName is empty 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 655af35958 chore(@desktop/chat): remove legacy GroupInfoPopup 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 740c5c3874 chore(@desktop/chat): remove unused GroupChatPanel 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 6760870dc9 fix(@desktop/chat): rework members selector
fixes: #5941
fixes: #7234
fixes: #7235
fixes: #7236
fixes: #7237
fixes: #7238
fixes: #7239
fixes: #7240
2022-09-13 12:33:34 +02:00
Patryk Osmaczko 2d5c69bc6c feat(@desktop/group-chat): adjust members permissions
closes: #7154
closes: #7155
2022-09-13 12:33:34 +02:00
Jonathan Rainville aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Lukáš Tinkl 5e0d5a9f8c fix(pinning): fix warnings 2022-09-13 09:05:15 +02:00
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
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
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 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
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