Skip to content

Commit

Permalink
web-wallet: Add allocation page
Browse files Browse the repository at this point in the history
Resolves #2106
  • Loading branch information
kieranhall committed Aug 30, 2024
1 parent 76698f2 commit caf4c53
Show file tree
Hide file tree
Showing 42 changed files with 1,516 additions and 121 deletions.
2 changes: 2 additions & 0 deletions web-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Added gas settings validation on Unstake / Widthdraw Rewards flows [#2000]
- Added allocation (shield/unshield) page and UI [#2196]

### Changed

Expand All @@ -18,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update Transactions list design [#1922]
- Update Buttons to match the design system [#1606]
- Update `Stepper` component to new design [#2071]
- Update dashboard to use routes instead of `Tabs` for navigation pattern [#2075]

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion web-wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ N.B. the current `0.1.2` version of the library has no option to pick the networ
```
# can be empty string, must start with a slash otherwise, must not end with a slash
VITE_BASE_PATH=""
VITE_CONTRACT_ALLOCATE_DISABLED=true
VITE_CONTRACT_STAKE_DISABLED=false
VITE_CONTRACT_TRANSFER_DISABLED=false
VITE_CURRENT_NODE=${VITE_LOCAL_NODE}
Expand All @@ -51,7 +52,6 @@ VITE_TESTNET_NODE="https://nodes.dusk.network/"
VITE_TESTNET_PROVER_NODE="https://provers.dusk.network/"
VITE_TRANSFER_CONTRACT="0100000000000000000000000000000000000000000000000000000000000000"
VITE_GET_QUOTE_API_ENDPOINT="https://api.dusk.network/v1/quote"
VITE_MOONLIGHT_DISABLED=true
```

To run a local node different steps are needed, so please read the [related section](#running-a-local-rusk-node).
Expand Down
5 changes: 5 additions & 0 deletions web-wallet/src/__mocks__/mockedOperationsStore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { mockReadableStore } from "$lib/dusk/test-helpers";

const content = { currentOperation: "something" };

export default mockReadableStore(content);
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const content = {
isSyncing: false,
};

export default mockReadableStore(content);
const mockedWalletStore = mockReadableStore(content);

export default mockedWalletStore;
Loading

0 comments on commit caf4c53

Please sign in to comment.