Skip to content

Commit

Permalink
Added screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
michielpost committed Mar 19, 2024
1 parent 51e4ab8 commit bf0ecca
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,20 @@ This project was created for the [Hack the Weave](https://www.weaversofficial.co
This project is build with C#, using the Blazor framework and compiled to WebAssembly. Compiling to WebAssembly results in an application that only contains static files that can be hosted anywhere, also on Arweave!

## Screenshots
Start
![Start](screenshots/01_start.png)

Wallets
![Wallets](screenshots/02_wallets.png)

Balances and Transactions
![Balances and Transactions](screenshots/03_transactions.png)

Transfer Tokens
![Transfer Tokens](screenshots/04_transfer.png)

Token Explorer
![Token Explorer](screenshots/05_token_explorer.png)


## Install for local development
Expand Down
Binary file added screenshots/01_start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/02_wallets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/03_transactions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/04_transfer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/05_token_explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion src/aoWebWallet/Pages/WalletDetail.razor
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
<MudIconButton Icon="@Icons.Material.Filled.South" aria-label="Receive" OnClick="()=>{Receive(balance.Data);}"></MudIconButton>
@if (!(BindingContext.SelectedWallet?.IsReadOnly ?? true) && (BindingContext.SelectedWallet?.IsConnected ?? false))
{
<MudIconButton Icon="@Icons.Material.Filled.ArrowOutward" aria-label="Send" OnClick="()=>{Send(balance.Data);}"></MudIconButton>
var hasBalance = balance.Data?.BalanceData?.Balance ?? 0;
<MudIconButton Icon="@Icons.Material.Filled.ArrowOutward" Disabled="hasBalance <= 0" aria-label="Send" OnClick="()=>{Send(balance.Data);}"></MudIconButton>
}
</MudStack>
</MudStack>
Expand All @@ -118,6 +119,9 @@
</MudStack>


<MudContainer style="max-width: 100%;" Width="100%" Class="d-flex justify-end mb-4 pr-4">
<MudIconButton Icon="@Icons.Material.Filled.Refresh" aria-label="refresh transactions" OnClick="RefreshTransactions"></MudIconButton>
</MudContainer>
<DataLoaderProgress DataLoader="BindingContext.TokenTransferList.DataLoader" Title="transactions" />

<MudStack>
Expand Down Expand Up @@ -221,6 +225,12 @@
DialogService.Show<SendTokenDialog>("Transfer Token", options);
}

private async Task RefreshTransactions()
{
if(BindingContext.SelectedAddress != null)
await BindingContext.LoadTokenTransferList(BindingContext.SelectedAddress);
}

private async Task AddWalletAsReadonly()
{
await BindingContext.AddWalletAsReadonly();
Expand Down
1 change: 1 addition & 0 deletions src/aoWebWallet/Shared/SendTokenDialog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
if (!string.IsNullOrEmpty(BindingContext.SelectedAddress))
{
await BindingContext.LoadBalanceDataList(BindingContext.SelectedAddress);
await BindingContext.LoadTokenTransferList(BindingContext.SelectedAddress);
}

if (TransactionId != null)
Expand Down

0 comments on commit bf0ecca

Please sign in to comment.