Commit Graph

3919 Commits

Author SHA1 Message Date
Cuteivist b1a8fd6260
fix(@desktop/wallet): Prevent nil conversion to qvariant (#12546) 2023-10-26 10:01:52 +02:00
Alex Jbanca 8ac6eb8916 fix(LinkPreviews): Fixing gif hyperlink detection in StatusChatInput
The link preview model can be filtered, but the hyperlink detection needs an unfiltered model to properly highlight all URLs. This brought in the need to separate the urls model and the link previews model.
2023-10-25 09:58:38 +03:00
Alex Jbanca 3050e97c9c feat: Link preview settings to Status chat input unfurling mode
Changes:
1. Update privacy controller to react to external unfurling settings change
2. Add handler to input controller and react to external unfurling settings change
3. Small other fixes
2023-10-24 17:35:07 +03:00
Anthony Laibe 0ba9ce9c8e fix(@wallet): token not always visible
fixes #12508
2023-10-23 16:05:19 +02:00
Alex Jbanca d7707a14a8 feat: Show toast notifications when the link preview setting changes from chat input 2023-10-23 16:33:17 +03:00
Anastasiya Semenkevich 74cede573d chore(@AccountView.qml): adding object names for testing purposes 2023-10-20 13:57:20 +03:00
Anastasiya Semenkevich 1f8b44fbfb chore(@WalletKeyPairDelegate.qml): add object name for keypair delegate item 2023-10-18 16:14:21 +03:00
Igor Sirotin e5b68e8823
fix: messaging settings and url unfurling fixes (#12457)
* remove browser selection setting
* remove main whitelist settings. replace tenorGif setting with gifUnfurlingEnabled
* remove old unfurling
* move history nodes section
* disable outdated e2e tests step
* remove isGifWidgetEnabled setting
* fix: StatusMessage height when gif unfurling disabled

---------

Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
2023-10-18 10:03:32 +01:00
Sale Djenic ae915b6036 feat(@desktop/wallet): align emoji with mobile
Closes: #12421
2023-10-17 13:21:26 +02:00
Stefan 7b24a398b0 fix(wallet) deconflict import of Utils in wallet.RootStore
Closes: #12427
2023-10-17 09:57:35 +02:00
Igor Sirotin 22ce35cf9c
feature: support url unfurling settings (#12441) 2023-10-16 17:05:55 +01:00
Lukáš Tinkl 6891c36cb6 fix: disable importing channel from discord
when another import is already in progress

Fixes #12239
2023-10-16 15:40:24 +02:00
Michal Iskierko 4bd3d672c6 fix(@desktop/communities): Fix enabling/disabling mint button
Fix #12370
2023-10-15 21:33:24 +02:00
Khushboo Mehta bc85bc8cd3 feat(@desktop/wallet): Include watch only per account
fixes #12305
2023-10-13 12:11:36 +02:00
Alex Jbanca fcd9567677 feat: Add settings card to control link previews settings in chat input
This commit adds the link preview settings card in the chat input area and connects the settings to the controller.

Not included in this commit: Backend for the preserving the settings, syncing the settings and enforcing the settings on the backend side.

Whenever an url is detected in the chat input area, the link preview settings card is presented. This card enables the user to choose one of the following options:

1. `Show for this message` - All the link previews in the current message will be loaded without asking again. The current message can be defined as the message currently typed/pasted in the chat input. Deleting or sending the current content is resetting this setting and the link preview settings card will be presented again when a new url is detected.
2. `Always show previews` - All the link previews will be loaded automatically. The link preview settings card will not be presented again (in the current state, this settings is enabled for the lifetime of the controller. This will change once the settings are preserved and synced)
3. `Never show previews` - No link preview will be loaded. Same as the `Always show previews` option, this will be preserved for the lifetime of the controller for now.
4. Dismiss (x button) - The link preview settings card will be dismissed. It will be loaded again when a new link preview is detected

The same options can be loaded as a context menu on the link preview card.

Changes:
1. Adding `LinkPreviewSettingsCard`
2. Adding the settings context menu to `LinkPreviewSettingsCard` and `LinkPreviewMiniCard`
3. Connect settings events to the nim controller
4. Adding the controller logic for settings change
5. Adding the link preview dismiss settings flag to the preserverd properties and use it as a condition to load the settings.
6. Adding/Updating corresponding storybook pages
2023-10-12 15:40:01 +03:00
Alex Jbanca 422bb2c064 feat: Generate link previews in StatusChatInput - Small updates + Add basic zoom to Storybook InspectionWindow 2023-10-12 14:08:28 +03:00
Alex Jbanca 3ce9d66d25 feat: Generate link previews in StatusChatInput - introduce ChatInputLinksPreviewArea
This component is a wrapper for LinkPreviewMiniCard and StatusChatInputImageArea. The purpose of this component is to arrange the cards in a row layout and provide scrolling behaviour. This component also has an opacity mask that will provide a fade out appearance when the items are scrolled out of view.

+ adding storybook page
+ integrate ChatInputLinksPreviewArea in StatusChatInput
2023-10-12 14:08:28 +03:00
Noelia fd1e6ac657 fix(JoinCommunity): Unable to join community
Fixes #12351
2023-10-10 15:22:57 +02:00
Noelia f5b767ec15 feat(Advanced): Add toggle to enable managing community on testnet
Fixes #12276
2023-10-10 15:22:03 +02:00
Noelia e36ace38b2 fix(Onboarding): Recover from seed - Fetching data screen layout
Fixes #10939
2023-10-10 12:47:16 +02:00
Khushboo Mehta b5723db3c9 fix(@desktop/wallet): Wallet settings - various small enhancements identified via mobile wallet settings work
fixes #11675
2023-10-09 18:46:57 +02:00
Khushboo Mehta 601be63774 feat(@desktop/wallet): Wallet Setting: New designs for edit network settings
fixes #11751
2023-10-09 18:01:01 +02:00
Anthony Laibe 18c37fbdac feat(@wallet): Enable sepolia network 2023-10-09 15:06:52 +02:00
Ivan Belyakov 338e6f5fa9 Fixed locale issues for balance chart tooltip and x-axis labels 2023-10-06 15:53:30 +02:00
Ivan Belyakov 955169112d feat(wallet): Fixed balance history chart to use new balance history data based on transfers 2023-10-06 15:53:30 +02:00
Lukáš Tinkl 7171094f01 fix(storybook): fix broken pages
It was mostly some missing or non-existing properties or the component
got moved somewhere else

Fixes #12285
2023-10-06 14:59:02 +02:00
Khushboo Mehta 7bdec15353 fix(@desktop/wallet): Replaced watched-only with watched address/adresses text 2023-10-06 13:08:08 +02:00
Valentina1133 a9ebf7729f
chore(@SyncCodeView.qml): object name for syncing enter code object added (#12346) 2023-10-05 16:04:54 +07:00
Lukáš Tinkl 621090174a fix(GetSyncCodeInstructionsPopup): mention same network
- integrate it into Settings/Syncing
- simplify the GetSyncCodeInstruction structure
2023-10-05 10:12:48 +02:00
Lukáš Tinkl f2f954c24b chore(storybook): unbreak (Device)SyncingViewPage
and make it configurable a bit
2023-10-05 10:12:48 +02:00
Mikhail Rogachev cd4d92aef0
Feat/issue 11795 introduce KickedPending and BannedPending states (#12068)
* feat(Communities): Introduce pending states for kick, ban and unban actions

Close #11795

* feat(Communities): Show bannedMembers pending states on the UI

* feat(Communities:) make kick, ban and unban methods async

* feat(Communities): add signal about community membership status change

* fix(Communities): move membership managment to to the appropriate model

* chore: review fixes
2023-10-05 00:41:51 +03:00
Jonathan Rainville 9dc5527627 fix(chat): fix chat highlighted because it was never marked as read
Fixes #11365
2023-10-04 09:24:29 -04:00
Anastasiya Semenkevich a227db592d chore(@EditNetworkForm.qml): add object names to main input objects 2023-10-04 18:27:01 +06:00
Michal Iskierko 5981e946fd feat(@desktop/communities): Adjust owner and master tokens deployment flow to new API
Issue #11954
2023-10-04 12:08:50 +02:00
Cuteivist 158bb87b4a
@bug(wallet/activity): Implemented collectibles model (#12294) 2023-10-03 14:15:11 +02:00
Noelia 15927b0705 feat(Community/FinaliseOwnership): Added finalise flow in the app
- Button from community column.
- Button from community overview.
- Updated storybook pages (settings overview related) according to new components requirements.

Part of #12174
2023-10-03 13:53:42 +02:00
Noelia 862d4f3add feat(Community/FinaliseOwnership): Created needed finalise popups
- Created finalise popup and added it into storybook.
- Decline popup created and added support in storybook.

Part of #12174
2023-10-03 13:53:42 +02:00
Anastasiya Semenkevich 6b0e541bf1 chore(@EditNetworkView.qml): adding object name for loader 2023-10-03 16:21:03 +06:00
Anastasiya Semenkevich 4d3d13a3f5 Update EditNetworkView.qml 2023-10-03 13:18:31 +06:00
Anastasiya Semenkevich bf223ce83c chore(@EditNetwork): added object names 2023-10-02 16:27:48 +03:00
Lukáš Tinkl ac1adcea32 fix(sharding): use StatusTextArea for multiline readonly text 2023-10-02 15:04:17 +02:00
Lukáš Tinkl cee0351ca0 feat: add ManageShardingPopup
which can disable or launch editting of the shard index for a given
community

- integrate it into community settings
- add a dedicated storybook page and make it also available from
EditSettingsPanelPage

Needed for https://github.com/status-im/status-desktop/issues/12197
2023-10-02 15:04:17 +02:00
Lukáš Tinkl f70609119c feat: add EnableShardingPopup
which can configure and enable the shard index for a given community

- integrate it into community settings
- add a dedicated storybook page and make it also available from
EditSettingsPanelPage

Needed for https://github.com/status-im/status-desktop/issues/12197
2023-10-02 15:04:17 +02:00
Lukáš Tinkl f3a5a61771 feat: add "sharding" section to Community Settings
Needed for https://github.com/status-im/status-desktop/issues/12197
2023-10-02 15:04:17 +02:00
Lukáš Tinkl 892c4eaa2f feat: add a setting to enable creation of sharded communities
Needed for https://github.com/status-im/status-desktop/issues/12197
2023-10-02 15:04:17 +02:00
Khushboo Mehta d19e95cb5b chore(@desktop/wallet): SendModal: complete storybook flow
closes #12244
2023-10-02 12:27:15 +02:00
Jonathan Rainville 9c1bd17bd5 fix(RootStore): add missing copyToClipboard function 2023-09-29 11:10:12 -04:00
Khushboo Mehta 91de960e08 fix(@desktop/wallet): Wallet: Send a multi tx, the notification for the 2nd transfer is not visible
fixes #12242
2023-09-29 14:43:45 +02:00
Stefan e805a9bf26 feat(wallet) user can repeat a Send transaction from activity view
Enable user action to repeat a Send transaction from the activity view
(HistoryView) and details view (TransactionDetailView).

Extend AppMain send modal entry and SendModal API to allow for selecting
all the required parameters for repeating a transaction.

Optimize update of start timestamp for activity filter only when user
attempts to open the filter panel.

Closes #12122
2023-09-29 14:34:16 +02:00
Anastasiya Semenkevich 9af84a25d6 chore(@WalletNetworkDelegate.qml): add objectname for text label 2023-09-29 10:46:35 +03:00
Noelia 23966ec2cb fix(Wallet/Collectibles): Applied special collectible format only to community special collectibles
- Updated default value for `communityPrivilegesLevel` to `2 = Community`.
- Added `communityId` checker in `CollectiblesView`, `CollectibleDetailView` and `WalletLayout`.

Closes #12283
2023-09-28 13:40:00 +02:00
Sale Djenic 1699189cec feat(@desktop/keycards): managing mocked keycards from the separate window 2023-09-27 18:20:43 +02:00
Sale Djenic d107a9f90b feat(@desktop/keycards): managing mocked keycards when running keycard flows 2023-09-27 18:20:43 +02:00
Anastasiya Semenkevich 38c4295242 chore(@NetworksView.qml): added object name property for network items 2023-09-27 11:28:44 +03:00
Anthony Laibe 4767c705df fix(@wallet): toggle network
fixes #12247
2023-09-26 15:48:13 +02:00
Noelia 89a559745b feat(Wallet/Collectibles): Added special format for owner and tmaster community tokens
- Updated `CollectibleDetailsView` to show owner and tMaster token collectible types with the correct design.

- Updated `CollectiblesView` to show owner and tMaster token collectible types with the correct design.

- Modified send footer option if collectible selected is an owner token.

- Added logic to wallet rootstore to handle selected collectible data.

- Reverted changes on property selectAccount in sendModal

Closes #12172
2023-09-26 12:44:15 +02:00
Anastasiya Semenkevich 6cdc631f04 chore(@sync_code_qml): added object names for testing purposes 2023-09-26 09:00:33 +03:00
Lukáš Tinkl e6408724c9 feat(settings): add Privacy Statement and Terms of Use
- bundle those 2 documents as Markdown
- some UI fixes according to latest Figma

Fixes #12192
2023-09-25 14:09:45 +02:00
Lukáš Tinkl b4958689bd fix: fixup left margin in settings to be 64px
as intended in Figma; also fix the icon size to be 24px
2023-09-25 14:09:45 +02:00
Noelia 57cfc425fc feat(TransferOwnershipAlertPopup): Add information popups when owner token is not created yet
It opens information popups when community owner token is still not created:

- From Overview / Transfer ownership button
- From Overview / How to move control node button
- Added support into storybook

Closes #12173
2023-09-22 13:50:41 +02:00
Cuteivist 5bf905b91d
feat(@esktop/wallet): Implemented filter by similar option (#12232) 2023-09-22 12:57:24 +02:00
Cuteivist 58ccb01b76
chore(@desktop/wallet): Show option for in network (#12199) 2023-09-22 12:03:15 +02:00
Michał Cieślak 82a5147bb5 feat(CommunitySettingsView): Integrate Kick/Ban/Destruct popups for TokenMaster
Closes: #12066
2023-09-22 11:46:51 +02:00
Michał Cieślak ec5bed6261 fix(TokenMasterActionPopup): display elided wallet address when contact name not available 2023-09-22 11:46:51 +02:00
Michał Cieślak fab3dcee60 chore(Communities): rename SignMultiTokenTransactionsPopup to SignTransactionsPopup
Closes: #12225
2023-09-22 10:43:05 +02:00
Michał Cieślak 7dcb577c8b chore(CommunitySettings): Remove outdated and unused SignTokenTransactionsPopup 2023-09-22 10:43:05 +02:00
Michał Cieślak 1825658f01 feat(MintTokensSettingsPanel): replace outdated sign popup with new one for burn and destruct 2023-09-22 10:43:05 +02:00
Anastasiya Semenkevich 3f012bf2a8 chore(@TouchIDAuthView.qml): added object name for TouchID button
Added an object name for TouchID button for ui/app/AppLayouts/Onboarding/views/TouchIDAuthView.qml
This is needed for automation purposes
2023-09-22 06:59:04 +03:00
Khushboo Mehta 76615b0bf7 fix(@desktop/wallet): Move selected recipient and send type to nim
fixes #12206
2023-09-21 15:34:00 +02:00
Anthony Laibe 3e985e62e1 fix(@wallet): update network form 2023-09-21 10:45:04 +02:00
Cuteivist fddcc3a83f
feat(@desktop/wallet): Transaction collectibles filtering (#12162) 2023-09-21 08:58:44 +02:00
Michał Cieślak fb48e7be0b feat: Refactor AmountToSend to use exact amounts for transactions
Closes: #12168
2023-09-20 15:15:29 +02:00
Noelia 717c243e02 feat(TransferOwnershipPopup): Updated transfer ownership popup according to new design
- Applied new design to transfer ownership popup.
- Added support in storybook.
- Added navigation to transfer ownership popup from community settings / owner token footer.
- Added navigation to transfer ownership popup from community settings / overview.
- Linked wallet send modal to the transactions popup with the needed pre-populated data.

Closes #12171
2023-09-20 11:08:29 +02:00
Noelia 4d22d8d56f feat(CommunityOwnership): Removed old flow
Removed old transfer ownership flows.
2023-09-20 11:08:29 +02:00
Khushboo Mehta 1f85ec1bd6 fix(@desktop/wallet): Fixing bugs found during demo 2023-09-19 13:59:46 +02:00
Lukáš Tinkl 20182b0d75 fix(shared addresses) wallet address selection broken
compare the addresses to share in a case insensitive manner

Fixes #12152
2023-09-18 18:50:18 +02:00
Patryk Osmaczko 720f6884b8 feat(communities): integrate token permissions pending state
closes: #11852
2023-09-18 15:29:03 +02:00
Anthony Laibe 5b3b673eca feat(@wallet): empty fallback url 2023-09-18 13:00:56 +02:00
Lukáš Tinkl 848d3b14f5 feat(community ownership) Move community control node flow UI
Implement the UI part of the new flow for moving community control nodes
w/o involving private keys

Closes #12088
2023-09-18 11:00:46 +02:00
Khushboo Mehta 1d99d8ae97 chire(@desktop/wallet): Streamline send modal folder structure
fixes #12140
2023-09-15 13:43:59 +02:00
Lukáš Tinkl a75890d7be fix(Communities): fixed channel color picker dialog
Closes #9696
2023-09-15 10:27:56 +02:00
Noelia 0a930fc9b1 fix(MintTokens): Network chosen locks in the network used for all future tokens minted for that community
- Mint Owner token / TokenMaster token form: Changed text description for network field.
- Mint asset / collectible: Lock network. It should be the same network than the owner token one.
-  Mint asset / collectible: Additional simplification / clean-up of description field.
- Added network model helper file.

Fixes #11989
2023-09-14 16:19:09 +02:00
Khushboo Mehta 296f70103a feat(@desktop/wallet): Enable Collectibles tab before token is selected
fixes #12095
2023-09-14 11:26:41 +03:00
Valentina1133 181c785aa9
test(Settings) Object names were added for keycard and wallet settings elements (#12134) 2023-09-13 12:54:44 +07:00
Khushboo Mehta f597ef4e6a feat(@desktop/wallet): Glue for sending nft
fixed #12128
2023-09-12 14:01:10 +02:00
Vladimir Druzhinin 29665956f1
Test(Community) Object names added (#12127) 2023-09-12 10:55:40 +02:00
Noelia 93a69893d9 fix(Permissions): Tweak to Owner and TokenMaster permissions wording
Fixes #12004
2023-09-12 10:18:18 +02:00
Alexandra Betouni ed065a94f9 fix(URLUnfurling): Updated image context menu
Also moved copyToClipboard function in Utils
and updated Chat section to use it from there

Closes #11941
2023-09-12 00:04:08 +03:00
Michał Cieślak f8347af7b7 StatusChatInput: remove unmaintained integration with ChatCommandsPopup
The functionality for sending/receiving funds directly from chat
is currently not supported, both code and designs are outdated.
This commit removes integration part but leaves ChatCommandsPopup
component for potential future use.

Closes: #12118
2023-09-11 14:37:16 +02:00
Cuteivist 3548cee149
feat(@desktop/wallet): Added missing filter types (#12109) 2023-09-11 13:43:21 +02:00
Dario Gabriel Lipicar 50ffbb9dce feat(@desktop/wallet): add collectibles list to send modal
Fixes #12072
2023-09-11 08:02:02 -03:00
Cuteivist 33a8ed9b9c
bug(@desktop/wallet): Unkown symbol and Gwei decimals (#12083) 2023-09-11 12:08:21 +02:00
Cuteivist 63eacf0817
feat(@desktop/wallet): Use estimated latest block for details (#12092) 2023-09-11 10:08:53 +02:00
Alex Jbanca 624b758c85 fix(Update fees periodically): Implementing periodic fee update for airdrops, minting, self destruct and burning transactions 2023-09-08 23:25:04 +03:00
Alex Jbanca f9e7265447 fix(Update fees periodically): Update airdrop flows to use fees subscriber 2023-09-08 23:25:04 +03:00
Alexandra Betouni b5d555f00b fix(chat): enabled "everyone" in group chat mentions
Closes #11029
2023-09-08 19:33:07 +03:00
Noelia b3c74de234 fix(Airdrop): Update owner and tmaster tokens visualization in airdrop's list
Added filter in collectibles airdrop's list:
- TMaster token will be shown ONLY if user is the community owner.
- Owner token is always hidden.

Fixes #12089
2023-09-08 10:40:10 +02:00
Lukáš Tinkl e106be9b12 feat: Single discord channel import UI flow
Closes #12039
2023-09-07 14:52:53 +02:00
Khushboo Mehta a8cb40809c fix(@desktop/wallet): Edit Networks: Add warning when failover and main rpc are the same
closes #11551
2023-09-05 16:56:27 +02:00
Stefan 8138e5edcf chore(wallet) remove requesting detailed transaction info for activity
Closes #11598
2023-09-04 22:07:24 +02:00