Redesign Wallet UI (#3441)

* Update wallet navigation

* Find matching text color for label bg color

* Cleanup

* Extract WalletNav component

* Move PSBT link to Send and Rescan link to Settings

* Update transactions view

* Test fixes

* Adapt invoices list actions

* Show invoice actions only if there are any invoices

* Link wallet name and balance to tranactions list

* Move wallet related actions from list to settings

* Fix main menu z-index

Needs a value between fixed and the offcanvas backdrop, see https://getbootstrap.com/docs/5.1/layout/z-index/

* Update receive and send views
This commit is contained in:
d11n
2022-02-17 10:07:41 +01:00
committed by GitHub
parent cd3807a3d8
commit 5c8ca15ee2
20 changed files with 400 additions and 296 deletions

View File

@@ -403,9 +403,9 @@ namespace BTCPayServer.Tests
public void GoToWalletSettings(string cryptoCode = "BTC")
{
Driver.FindElement(By.Id($"StoreNav-Wallet{cryptoCode}")).Click();
if (Driver.PageSource.Contains("id=\"SectionNav-Settings\""))
if (Driver.PageSource.Contains("id=\"WalletNav-Settings\""))
{
Driver.FindElement(By.Id("SectionNav-Settings")).Click();
Driver.FindElement(By.Id("WalletNav-Settings")).Click();
}
}
@@ -565,7 +565,7 @@ namespace BTCPayServer.Tests
Driver.Navigate().GoToUrl(new Uri(ServerUri, $"wallets/{walletId}"));
if (navPages != WalletsNavPages.Transactions)
{
Driver.FindElement(By.Id($"SectionNav-{navPages}")).Click();
Driver.FindElement(By.Id($"WalletNav-{navPages}")).Click();
}
}