From 086b14e81643417fe5752335fa4ddeed24d030c6 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Fri, 17 Dec 2021 07:00:48 -0500 Subject: [PATCH] Add various ux improvements for mobile doc menu --- .../clipboard/clipboard.component.html | 2 +- .../docs/api-docs-nav.component.html | 92 +++++++++---------- .../components/docs/api-docs-nav.component.ts | 1 + .../components/docs/api-docs.component.html | 12 ++- .../components/docs/api-docs.component.scss | 40 ++++---- .../app/components/docs/api-docs.component.ts | 6 +- .../app/components/docs/docs.component.scss | 1 + 7 files changed, 80 insertions(+), 74 deletions(-) diff --git a/frontend/src/app/components/clipboard/clipboard.component.html b/frontend/src/app/components/clipboard/clipboard.component.html index 1150074ac..1a92cc9c9 100644 --- a/frontend/src/app/components/clipboard/clipboard.component.html +++ b/frontend/src/app/components/clipboard/clipboard.component.html @@ -1,5 +1,5 @@ - diff --git a/frontend/src/app/components/docs/api-docs-nav.component.html b/frontend/src/app/components/docs/api-docs-nav.component.html index 2103dd776..43de4d1df 100644 --- a/frontend/src/app/components/docs/api-docs-nav.component.html +++ b/frontend/src/app/components/docs/api-docs-nav.component.html @@ -1,63 +1,63 @@
General
-GET Difficulty Adjustment +GET Difficulty AdjustmentMarkets
-GET Market Currencies -GET Market Depth -GET Market HLOC -GET Markets -GET Market Offers -GET Market Ticker -GET Market Trades -GET Market Volumes +GET Market Currencies +GET Market Depth +GET Market HLOC +GET Markets +GET Market Offers +GET Market Ticker +GET Market Trades +GET Market VolumesGeneral
-GET Stats +GET StatsAddresses
-GET Address -GET Address Transactions -GET Address Transactions Chain -GET Address Transactions Mempool -GET Address UTXO +GET Address +GET Address Transactions +GET Address Transactions Chain +GET Address Transactions Mempool +GET Address UTXOAssets
-GET Assets -GET Asset Transactions -GET Asset Supply +GET Assets +GET Asset Transactions +GET Asset SupplyBlocks
-GET Block -GET Block Header -GET Block Height -GET Block Raw -GET Block Status -GET Block Tip Height -GET Block Tip Hash -GET Block Transaction ID -GET Block Transaction IDs -GET Block Transactions -GET Blocks -GET Blocks +GET Block +GET Block Header +GET Block Height +GET Block Raw +GET Block Status +GET Block Tip Height +GET Block Tip Hash +GET Block Transaction ID +GET Block Transaction IDs +GET Block Transactions +GET Blocks +GET BlocksFees
-GET Mempool Blocks Fees -GET Recommended Fees +GET Mempool Blocks Fees +GET Recommended FeesMempool
-GET Mempool -GET Mempool Transaction IDs -GET Mempool Recent +GET Mempool +GET Mempool Transaction IDs +GET Mempool RecentTransactions
-GET Children Pay for Parent -GET Transaction -GET Transaction Hex -GET Transaction Merkleblock Proof -GET Transaction Merkle Proof -GET Transaction Outspend -GET Transaction Outspends -GET Transaction Raw -GET Transaction Status -GET Transactions -POST Transaction +GET Children Pay for Parent +GET Transaction +GET Transaction Hex +GET Transaction Merkleblock Proof +GET Transaction Merkle Proof +GET Transaction Outspend +GET Transaction Outspends +GET Transaction Raw +GET Transaction Status +GET Transactions +POST Transaction diff --git a/frontend/src/app/components/docs/api-docs-nav.component.ts b/frontend/src/app/components/docs/api-docs-nav.component.ts index 860e1d7ad..967b355f3 100644 --- a/frontend/src/app/components/docs/api-docs-nav.component.ts +++ b/frontend/src/app/components/docs/api-docs-nav.component.ts @@ -8,6 +8,7 @@ import { Component, OnInit, Input } from '@angular/core'; export class ApiDocsNavComponent implements OnInit { @Input() network: any; + @Input() collapseItem: any; constructor() { } diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index b661dc494..1b0f2a66b 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -3,25 +3,27 @@