Skip to content

UI Changes#157

Merged
dangershony merged 32 commits intomasterfrom
ui-tx-modal
Jun 22, 2020
Merged

UI Changes#157
dangershony merged 32 commits intomasterfrom
ui-tx-modal

Conversation

@thecrypt0hunter
Copy link
Copy Markdown
Contributor

@thecrypt0hunter thecrypt0hunter commented Jun 13, 2020

  • Fix sidebar width (UI: Make the left sidebar max-width #154)
  • Display segwit address when segwit enabled
  • Add icon & change message whilst syncing
  • Handle the UI gracefully with no wallets
  • Staking UI improvements
  • Add wallet selectors
  • Make wallet selectors sensitive to context (e.g., if the wallet doesnt have cold staking enable don't show it in coldstaking context)
  • Don't show staking dialogue when no balance
  • Make recover & create wallet modal
  • Various other minor UI changes

@dangershony
Copy link
Copy Markdown
Member

Display segwit address when segwit enabled

I see that you took away the non segwit address textbox (I wonder if we should keep it just in case?
Are there situations a none segwit address is needed even if segwit is enabled?

public string Icon => "oi-pulse";
public bool IsVisible => true; //hasWallets();
public bool hasWallets() {
var walletManager = this.WalletManager as WalletManager;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would actually iterate over wallets instead of checking the type.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I fixed this.

@dangershony
Copy link
Copy Markdown
Member

when node syncs wallet seems to report its synced even though node is not synced
From XDS
image

I wonder if we should also look at IBD flag ( I can fix this later not urgent)

private void Submit()
{
ShowForm = false;
this.Alert = "Your wallet has now been created.";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this alert correct?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No the view tx is not implemented yet, I still need to work out how I’m going to do it. I may disable this until I can get it working so we can push the other changes

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Display segwit address when segwit enabled

I see that you took away the non segwit address textbox (I wonder if we should keep it just in case?
Are there situations a none segwit address is needed even if segwit is enabled?

We can add this back in if necessary, I'll leave it as is for now.

<span class="float-right">
<a href="/docs/index.html" target="_blank">Open API</a>
<a href="/ws-ui/index.html" target="_blank>Web Socket</a>
<a href="/ws-ui/index.html" target="_blank">Web Socket</a>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we plan to show this? maybe as a modal or a new page (on a separate PR)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I plan to revisit the layout at some point to add these links back in

@dangershony
Copy link
Copy Markdown
Member

@thecrypt0hunter check my changes and if you are fine with it we can push.

@thecrypt0hunter
Copy link
Copy Markdown
Contributor Author

I’ll check through tonight

@thecrypt0hunter
Copy link
Copy Markdown
Contributor Author

when node syncs wallet seems to report its synced even though node is not synced
From XDS
image

I wonder if we should also look at IBD flag ( I can fix this later not urgent)

I've updated so that the syncing icon is based on the IBD flag.

@thecrypt0hunter
Copy link
Copy Markdown
Contributor Author

It's ready to push now @dangershony

@dangershony dangershony merged commit 229cfa8 into master Jun 22, 2020
@dangershony dangershony deleted the ui-tx-modal branch June 22, 2020 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants