Commit Graph

491 Commits

Author SHA1 Message Date
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
Jonathan Rainville aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Lukáš Tinkl d0b8af9e86 fix(MessageView): missing popup from when pin limit is reached
Can not use `root.messageStore.getNumberOfPinnedMessages()` directly in a
binding, as it's not a property and won't reevaluate on change

Closes #7314
2022-09-13 09:05:15 +02:00
Lukáš Tinkl 5e0d5a9f8c fix(pinning): fix warnings 2022-09-13 09:05:15 +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
PavelS abb2254e59 fix(@desktop/chat): adjust message length check condition
Fixes #7131
2022-09-12 13:02:03 +03:00
Anthony Laibe 81300b655f fix(@wallet): display currency price rather than 24h change
fixes #7268
2022-09-12 11:00:41 +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 cdfbb4ac87 fix(@desktop/chat): adjust mentions handing logic
Fixes #7099
2022-09-09 18:15:13 +03:00
Patryk Osmaczko a1e7831dcb feat(@desktop/chat): add welcome message for community chats 2022-09-09 10:39:58 +02:00
Khushboo Mehta e9d3d7a0b0 bash: q: command not found
feat(@desktop/wallet): New design for Transaction History

fixes #7213
2022-09-09 00:04:25 +02: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
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 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
Khushboo Mehta e9c270da87 fix(@desktop/wallet): Entering ENS name in SendModal doesnt work
fixes #6695
2022-09-05 14:55:31 +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
Stefan b691d358e5 chore(Chat/StatusGifPopup): refactor and simplify gif popup
Updates: #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
PavelS ad484d7d01 fix(@desktop/chat): adjust emoji popup behaviour
Fixes #7094
2022-09-02 17:22:00 +03:00
Lukáš Tinkl b1259a83f4 fix(StatusEmojiPopup): 'Flags' section is cut off in the emoji modal
account for top/bottom padding in the scroll view to fix the overall
height calculation

plus some smaller, mostly correct margins, cleanup

Fixes #7174
2022-09-01 19:28:21 +02:00
Lukáš Tinkl 65a1f06382 fix(StatusEmojiPopup): fix initial loading of recent emojis
the "Recent emojis" was always empty until the user has clicked
additional emoji

loading the recent emojis in `Global.onSettingsLoaded` is too late; it's
executed long before the popup is opened; instead do it at the end of
parsing the categories
2022-09-01 19:28:21 +02:00
Lukáš Tinkl d30c80ef24 fix(Emoji/SearchBox): adjust right padding
clear icon was overlapping the search field's frame

Fixes #7175
2022-09-01 19:28:21 +02:00
Lukáš Tinkl 2606de5ccb fix(StatusEmojiPopup): fix emoji popup "y" position
it was off by `Style.current.halfPadding`
2022-09-01 19:28:21 +02:00
Igor Sirotin 5c909cae6c fix(Profile): Added menu to remove profile image 2022-09-01 15:48:22 +03:00
Igor Sirotin 980135fedf fix(ProfilePopup): Bind to displayName if current user 2022-09-01 15:31:50 +03:00
Igor Sirotin 66b79fbda8 tests: Can change own display name in ProfilePopup 2022-09-01 15:31:50 +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
PavelS a01e0822b7 feat(@desktop/chat): add textformat quote option functionality
Adjust text format popup position

Fixes #6988

Requires https://github.com/status-im/StatusQ/pull/876
2022-09-01 12:45:45 +03:00
PavelS 8de1e42a0f fix(@desktop/chat): add autoscroll to cursor in chat input
Requires https://github.com/status-im/StatusQ/pull/868

Fixes #7093
Fixes #7171
2022-08-31 12:02:44 +03:00
Igor Sirotin 41910c9a8a fix(tests): Fixed message reply test 2022-08-30 17:03:36 +03:00
Khushboo Mehta ddb9caf4d7 feat(@desktop/wallet): Display price changes
fixes #6482
2022-08-30 10:27:35 +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
Jonathan Rainville 6bd1cfde72 test(chat): add a test that install a sticker pack and sends a sticker
Fixes #6962
2022-08-29 10:52:00 -04: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
Jonathan Rainville 2bbd9f4363 fix(wallet-test): fix balance test
The test network was toggled twice. The banner was impeding with the wallet setting click. The asset list item was missing the objectName and also checking the balance was not resilient
2022-08-26 10:59:25 -04:00
Jonathan Rainville 109b9ac290 test(community): add a test that pins and unpins messages
Fixes #6894
2022-08-26 10:29:28 -04:00
Boris Melnik 02b9ceff78 fix(EmojiPopup): Fix emoji suggestions and add tests for it
Closes: #7020
2022-08-26 12:41:28 +03:00
Boris Melnik 10d53454b3 test(chat): Can send a gif
Closes: #6882
2022-08-26 12:18:42 +03:00
Boris Melnik c7efbe6629 test(chat): Can edit a message and save
Closes: #6877
2022-08-26 11:57:59 +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
Pascal Precht e98a3b27fb refactor: move CommunityBanner to shared namespace 2022-08-26 10:18:49 +02:00
Michał Cieślak dfc7a6a951 fix(StatusChatInput): Remove formatting when pasting, pasting on selection fixed
Fixes #7015
Fixes #7097
2022-08-26 10:05:46 +02:00
Khushboo Mehta e79d9dfc95 fix(@desktop/wallet): Search Bar missing in token selection popup
fixes #7014
2022-08-25 17:31:28 +02:00
Jonathan Rainville 6a603413c6 test(community-chat): add test to send images in chat
Fixes #6880
2022-08-25 10:23:43 -04:00
Boris Melnik 4f2db08a75 fix(StatusListItem): fix `sensor.onClicked` to `onClicked`
Closes: #7135
2022-08-25 11:55:55 +03: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
Khushboo Mehta 29c40a0695 fix(@desktop/wallet): Added squish test for the user being able to turn his state to online and/or offline
fixes #6895
2022-08-23 15:48:37 +02:00
Richard Ramos 83079cd147 fix: remove recipient selector from StatusETHTransactionModal 2022-08-23 08:52:01 -04: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 0515152bd7 feat(@desktop/wallet): Add Token Detail View
fixes #6491
2022-08-23 10:52:26 +02:00
Michał Cieślak 7ef4a2d257 fix(StatusChatInput): infinite loop when pasting mention 2022-08-22 13:37:18 +02:00
Igor Sirotin 42a1cf995c fix(ChatMessagesView): Usage of `StatusMessage` WIP 2022-08-20 03:02:41 +03:00
Michał Cieślak 91bae9c3da fix(@desktop/chat): gif selector UI adjustments 2022-08-19 12:09:44 +02:00
Alexandra Betouni 07dbca905c fix(Chat/CompactMessageView): removed space above image in msg
Closes #6855
2022-08-18 17:44:17 +03: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
Jonathan Rainville 016e3927f2 test(chat): add test that sends a message with an emoji
Fixes #6881
2022-08-17 11:33:36 -04:00
Patryk Osmaczko 185de9f4c8 chore(settings/profile): rework ProfilePopup to StatusDialog
iterates: status-im/StatusQ#760
2022-08-17 13:18:32 +02:00
Patryk Osmaczko 4c2a7656f2 chore(settings/profile): address social links QA issues 2022-08-17 13:18:32 +02:00
Patryk Osmaczko 88ad09f7c2 feat(settings/profile): add bio and social links to profile view
closes: #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
Alexandra Betouni 9ecf2af3f1 fix(CommunityDialogIntro): Fixed intro txt layout issues
Closes #6856
2022-08-16 20:10:55 +03:00
Alexandra Betouni ffbe16da3e fix(Chat/UserImage): corrected user image dimensions
Closes #6852
2022-08-16 19:37:19 +03:00
Alexandra Betouni 504b4f5947 fix(Chat): big space between username and time
Closes #6832
2022-08-16 18:36:20 +03: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
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
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
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
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
Alexandra Betouni b140596412 fix(StatusStickerPopup): Bottom row layout issues
Closes #6833
2022-08-11 15:16:40 -04:00
Anthony Laibe 2f7e6998bf test(@wallet): Add test for toggling network & balance 2022-08-11 14:09:07 +02:00
Sale Djenic 505b242246 fix(@desktop/keycard): implement new keycard factory reset flow
This partially covers factory reset flow. The part where user is able to select which accounts
wants to remove/keep from/on a keycard will be added later once we add the keycard settings part
for storing those data to a keycard.

Fixes: #6790
2022-08-11 13:57:37 +02:00
PavelS e0f051006a fix(@desktop/community) adjust Image Upload popup
- update to fixed version of StatusQ

Fixes #6835
2022-08-11 12:49:28 +03:00
Igor Sirotin 3b40649b7b fix(RecipientSelector): Fixed validation 2022-08-11 00:32:09 +03:00
Jonathan Rainville 44cf440a05 test(community): add a test that edits a community
Fixes #6756
2022-08-10 16:24:26 -04:00
Jonathan Rainville 1dd6385cae test(all): fix all remaining tests and comments the broken ones
Fixes #6853
2022-08-09 16:51:30 -04: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
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
Michal Iskierko 7915781d80 fix(@desktop/general): Fix import in ImageCropWorkflow
Issue #6866
2022-08-08 14:30:00 +02:00
Michal Iskierko 8b09eec506 feat(@desktop/chat): Handle group chat colors changes
Use new status-go function to update group chat details.
Changes in RenameGroupPopup to handle choosing colors and images.
Changes in EditCroppedImagePanel to handle background component.

Issue #5982
2022-08-08 11:10:54 +02:00
Jonathan Rainville 9591123b7e test(onboarding): fix signup with seed phrase tests
Fixes #6744
2022-08-05 12:41:30 -04:00
MishkaRogachev 3afa49a873 fix(@dektop/chat): Fix messages timestump update
Close #6543
2022-08-05 17:15:38 +03:00
Alexandra Betouni 714434e61b fix(CreateChannelPopup): fixed emoji popup position
Also
* updated popup to derive from StatusDialog
* removed emojilists.js duplicated file

Closes #6729
Closes #6730
2022-08-04 18:05:36 +03:00
Alexandra Betouni 6b63d8ee7a fix(StatusModal): back button arrow was tiny
Closes #6727
2022-08-04 13:13:50 +03: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
Jonathan Rainville 03f1fe500b test(chat): add test to delete messages
Fixes #6757
2022-08-03 13:19:32 -04:00
Khushboo-dev-cpp 405eae1024 chore: reverted changes made in #6561 2022-08-03 17:29:31 +02:00
Igor Sirotin 6e495596c6 fix(StatusAssetSelector): Reimplemented using `StatusComboBox` 2022-08-03 17:29:31 +02:00
Igor Sirotin 72cc269ae6 fix(ContactSelector): Minor improvements 2022-08-03 17:29:31 +02:00
Igor Sirotin 5fb2be95ef fix: Reimplemented selectors using `StatusComboBox` 2022-08-03 17:29:31 +02:00
Lukáš Tinkl baa7d3758a fix(Input): unable to place cursor using mouse
drop a defunct MouseArea that was being used for a context menu which got
removed in the meantime; it breaks clicking inside the TextField

Closes: #5167
2022-08-03 12:01:52 +02:00
PavelS 368b29bb38 fix(@desktop/chat) keep message hover effect while context menu open
- keep context menu when emoji reaction clicked
- move Connections out of Loader

Fixes #6633
2022-08-03 11:54:08 +03: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