2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-27 14:55:44 +00:00

70 Commits

Author SHA1 Message Date
Seitseman
2275fe4f1f fix(Stored): Make stores typed
Adding types instead of var for stores used in qml components

Closes: 
2024-08-27 10:52:18 +02:00
Lukáš Tinkl
e3dae7e1db feat(StatusButton) Add support to show text when button is loading
- add a secondary "loading" state (`loadingWithText`), that is show the
loading indicator next to the text
- simplify the StatusBaseButton layout (esp. handling the overall
opacity/visibility)
- add a QML test suite; the code was becoming too complex and adding a
simple boolean prop was getting "dangerous"
- port the SwapModal to use the new `loadingWithText` property

Fixes 
2024-08-19 22:36:50 +02:00
Lukáš Tinkl
a7e74f3e00 chore(Global): Remove FeatureFlags access via Global singleton
- rationale: do not save global state in a singleton, gather and
propagate the values via FeatureFlagsStore

Fixes 
2024-08-12 20:00:31 +02:00
Roman Chornii
6aa6746de2
fix(dApps): Improved handling of connected dApps. ()
1. Hiding DApps button on not supported wallet account selection
2. Filtering DApps in connected dApps list based on account selection

closes: 
closes: 
2024-08-05 16:41:20 +03:00
Anthony Laibe
b2592d5d01 fix(@wallet): disable state for refresh
in case not interactive, we should not change the color on hover
2024-07-12 14:35:48 +03:00
Alex Jbanca
ca8a0028a8
feat(WalletConnect): Implement sign request modal ()
* feat(WalletConnect): Implement sign request modal

1. Implementing sign request modal based on SignTransactionModalBase
2. Adding storybook page
3. Integrate it in the app
4. Removing DAppRequestModal
5. Update RoundImageWithBadge to preserve aspect ratio between badge and main image

* fix(WalletConnect): Remove unneeded properties from WalletConnectService API

Removing `selectedAccountAddress` and `loginType`. These properties are now passed through DAppsWorkflow API

* fix(WalletConnect): Removing unnecessary changes
2024-07-12 00:00:15 +03:00
belalshehab
3452fbadc6 feat(wallet)_: add manual reload button to WalletHeader.qml
- Added a manual reload button to the WalletHeader to allow users to refresh wallet data on demand.
- Implemented a throttle timer to prevent excessive reloads.
- Show the last reload time.
- Updated UI elements to reflect the reloading state for user feedback.
- Connected the reload button to the backend to trigger the wallet reload functionality.

resolves: 
2024-07-04 00:19:42 +03:00
Stefan
dfe53c4c7c chore(dApps) support multiple actions in DAppRequestModal
Also fix minor issue and add improvements

Updates 
2024-06-26 12:00:54 +02:00
Alex Jbanca
901362dfc1 feat(networkSelector): Refatoring of NetworkSelector to remove backend dependency 2024-06-21 16:18:51 +03:00
Stefan
145053e34f chore(dapps) implement service tests and basic workflow tests
Abstract WalletConnectSDK to make it testable
Implement WC service pairing test
Bring back DAppsWorkflow tests back to life and add a pair modal test

Updates: 
2024-06-12 15:44:53 +02:00
Lukáš Tinkl
1692651184 fix(Wallet): "All accounts" title casing typo
Fixes 
2024-05-27 14:19:34 +02:00
Stefan
ee72ec7aee feat(dapps) add DAppsService component and ConnectDAppModal
Implement the initial Pairing user workflow and disconnect option for
the first session.

Also

- rename pairing modal accordingly (`PairWCModal.qml`) to make room for the proper
`ConnectDAppModal.qml`
- basic tests for service helpers
- update storybook to reflect the new user workflows

Closes 
2024-05-20 15:09:57 +02:00
Stefan
7cd97a0051 chore(dapps) move dApps UX into its own DAppsWorkflow component
Storybook: also automate related workflows for faster iteration

Also extend the inspector utils to handle Loaders and Popups

Updates: 
2024-05-20 15:09:57 +02:00
Stefan
1f60410db8 feat(dapps) implement wallet connect URI input
Other changes

- start Wallet Connect SDK using web engine after wallet is ready
- source WC project ID from the constants in nim
- close list when opening the `ConnectDappModal`
- remove the old POC modal instantiation
- rename ConnectDappPopup to Modal for consistency
- move specific dapps related user settings to their place in the component
- add DAppsStore to be used for dapps abstraction

Updates 
2024-05-13 10:33:16 +02:00
Stefan
2972531766 chore(global) add the dapps button under a feature flag
Also add basic feature flag support that work with QML and nim

Closes 
2024-05-02 12:26:58 +02:00
Stefan
913041d5d9 chore(dapps) foundation for dapps page in storybook
Updates 
2024-05-02 09:47:30 +02:00
Sale Djenic
dd104960ba feat(walletconnect): initial code organization
Closes 
2024-05-02 09:47:30 +02:00
Ivan Belyakov
6ba0cdfafa feat(wallet): removed allAddresses flag as redundant 2024-04-12 15:18:19 +02:00
Khushboo Mehta
5473e3b14e chore(@desktop/wallet): Simplify the wallet networks service
fixes 
2024-03-28 11:47:33 +01:00
Sale Djenic
3d5b24b87f fix(tests): e2e saved addresses related tests fixed 2024-01-04 17:45:57 +01:00
Sale Djenic
3ac13a7678 chore(savedaddresses): preparing saved address for reuse in wallet settings section
Part 1 of 
2024-01-04 17:45:57 +01:00
Khushboo Mehta
bc85bc8cd3 feat(@desktop/wallet): Include watch only per account
fixes 
2023-10-13 12:11:36 +02:00
Khushboo Mehta
7bdec15353 fix(@desktop/wallet): Replaced watched-only with watched address/adresses text 2023-10-06 13:08:08 +02:00
Khushboo Mehta
6c5c36584a feat(@desktop/wallet): Account view - Prefered network
fixes 
2023-08-01 09:51:33 +02:00
Anthony Laibe
5a9ff99aad fix(@wallet): overview balance with symbol
fixes 
2023-07-06 15:48:02 +02:00
Khushboo Mehta
a2dd87c18b feat(@desktop/wallet): Watch only account toggle + persisted
fixes 
2023-06-29 10:18:42 +02:00
Lukáš Tinkl
fe9bb7d398 chore: Update StatusBaseButton content item layout
- introduce StatusButton storybook page with controls to play around
with the its options and variants
- StatusBaseButton: make the content item horizontally centered by
default
- StatusBaseButton: remove `textAlignment` and fix `textFillWidth` for
the intended usage
- fixup usage of the 2 above options which were introduced merely as a
workaround, mostly in wallet + corresponding storybook pages

Fixes 
2023-06-20 14:10:35 +02:00
Anastasiya Semiankevich
d9f15ace2b test(@tst_wallet_account_management): add test to verify hide watch-only button 2023-06-13 12:46:09 +03:00
Khushboo Mehta
28654e0187 \chore(@desktop/wallet): Change customisation colours on desktop to match those used on mobile
fixes 
2023-06-02 19:48:19 +02:00
Anthony Laibe
8e8f194eb7 feat(@wallet): add all account action 2023-05-15 08:51:19 +02:00
Khushboo Mehta
a57c0b414b feat(@desktop/wallet): New Account header
fixes 
2023-05-10 16:02:37 +02:00
Stefan
691de11211 fix(Wallet) network selection and unify network implementations
Major changes:

- Don't allow empty network selection. End up using the nim model
  directly instead because of individual row changes issues
  encountered with nim models
- Made the clone model a generic implementation to be used in other
places where we need to clone a model: ReceiveModal,
AddEditSavedAddressPopup
- Use cloned model as alternative to NetworksExtraStoreProxy in
  ReceiveModal
- Added tristate support to our generic checkbox control
- UX improvements as per design
- Fix save address tests naming and zero address issue
- Various fixes

Notes:
- Failed to make NetworkSelectPopup follow ground-truth: show partially
  checked as user intention until the network is selected in the
  source model. Got stuck on nim models not being stable models and
  report wrong entry change when reset. Tried sorting and only updating
  changes without reset but it didn't work.
- Moved grouped property SingleSelectionInfo to its own file from
  an inline component after finding out that it fails to load on Linux
  with error "Cannot assign to property of unknown type: "*".".
  It works on MacOS as expected

Closes: 
2023-04-20 19:34:24 +02:00
Anthony Laibe
2a6d00b939 feat(@wallet): add overview module 2023-04-17 13:31:49 +02:00
Anthony Laibe
ef4ffce909 fix(@wallet): warnings from wallet
fixes 
2023-04-04 14:46:20 +02:00
Khushboo Mehta
a6df4566dd fix(@desktop/wallet): checkConnected API doesnt return correct values
fixes 
2023-03-31 19:59:49 +02:00
Khushboo Mehta
5b3a115f55 fix(@desktop/wallet): Loading screen after adding account
1. Removing logic for loading to nim
2. Handling error state for asset view also on the nim side

fixes 
2023-03-24 17:09:09 +01:00
Khushboo Mehta
072537f61a feat(@desktop/wallet): Implement connection error screens
fixes 
2023-03-23 15:26:22 +01:00
Noelia
c7f18978de chore(MintingToken): Refactor access to stores in minting components
- Refactored minting components store access, since some panels were accessing stores directly. Now `CommunitySettingsView` is the single place where stores are accessed.
- Renamed store `CommunitesStore` to `CommunityTokensStore` for handling minting / airdrop actions / request models.
- `NetworkFilter` refactored to prevent direct access to store inside the component.

Closes 
2023-03-14 16:06:27 +01:00
Khushboo Mehta
169de5b5e1 feat(@desktop/wallet): Add loading State for Assets view and Wallet main navigation page 2023-01-31 07:57:37 +01:00
Dario Gabriel Lipicar
a6afdb5266 fix(@desktop): use system locale across the application 2023-01-17 16:39:56 -03:00
Dario Gabriel Lipicar
d11017f7b3 feat(@desktop/wallet): implement unified currency formatting in send/bridge modal
Fixes 
2023-01-17 16:39:56 -03:00
Dario Gabriel Lipicar
7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes 
2023-01-12 15:21:27 -03:00
Anthony Laibe
9b0d9cf478 feat(@wallet): Display ens name in account view
fixes 
2022-12-14 16:04:58 +01:00
Alexandra Betouni
fc3daa1451 (StatusSectionLayout): removed big space between header and content
Closes 7312
2022-09-28 15:37:52 +03:00
Jonathan Rainville
aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Stefan
2398b67bc1 fix(wallet): bring back copy wallet address
Depends on StatusQ's StatusAddressPanel generic control

Fixes: 
2022-08-05 17:05:02 +02:00
Anthony Laibe
499b9bd09e feat(@test): Add test for watch only account 2022-07-22 09:20:55 +02:00
Lukáš Tinkl
7e243da180 fix(WalletHeader): align wallet section header with design
Closes : Account header is different from design

Closes : Account layout needs margins adjusted to match design
2022-07-20 10:22:51 +02:00
Anthony Laibe
ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Sale Djenic
c47f3f2692 feat(@desktop/wallet): redesigned wallet addresses are missing checksum
Fixes 
2022-05-17 16:04:59 +02:00