From 3243b1a3cb929ea4486bacf9affbbce91b4f198d Mon Sep 17 00:00:00 2001 From: nymkappa Date: Fri, 10 Jun 2022 23:29:27 +0200 Subject: [PATCH 1/3] Replace "Indexing in progress" with localized "Indexing blocks" --- .../block-sizes-weights-graph.component.ts | 2 +- .../app/components/hashrate-chart/hashrate-chart.component.ts | 2 +- .../hashrates-chart-pools/hashrate-chart-pools.component.ts | 2 +- frontend/src/app/components/pool/pool.component.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/components/block-sizes-weights-graph/block-sizes-weights-graph.component.ts b/frontend/src/app/components/block-sizes-weights-graph/block-sizes-weights-graph.component.ts index 3255fc4af..c6d60d8f0 100644 --- a/frontend/src/app/components/block-sizes-weights-graph/block-sizes-weights-graph.component.ts +++ b/frontend/src/app/components/block-sizes-weights-graph/block-sizes-weights-graph.component.ts @@ -107,7 +107,7 @@ export class BlockSizesWeightsGraphComponent implements OnInit { color: 'grey', fontSize: 15 }, - text: `Indexing in progess`, + text: $localize`:@@23555386d8af1ff73f297e89dd4af3f4689fb9dd:Indexing blocks`, left: 'center', top: 'center' }; diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts index d401f76ad..f861919dd 100644 --- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts +++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts @@ -141,7 +141,7 @@ export class HashrateChartComponent implements OnInit { color: 'grey', fontSize: 15 }, - text: `Indexing in progess`, + text: $localize`:@@23555386d8af1ff73f297e89dd4af3f4689fb9dd:Indexing blocks`, left: 'center', top: 'center' }; diff --git a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts index 528a783d5..dff6928f6 100644 --- a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts +++ b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts @@ -155,7 +155,7 @@ export class HashrateChartPoolsComponent implements OnInit { color: 'grey', fontSize: 15 }, - text: `Indexing in progess`, + text: $localize`:@@23555386d8af1ff73f297e89dd4af3f4689fb9dd:Indexing blocks`, left: 'center', top: 'center', }; diff --git a/frontend/src/app/components/pool/pool.component.ts b/frontend/src/app/components/pool/pool.component.ts index 3111d78b8..0ff3542ca 100644 --- a/frontend/src/app/components/pool/pool.component.ts +++ b/frontend/src/app/components/pool/pool.component.ts @@ -111,7 +111,7 @@ export class PoolComponent implements OnInit { color: 'grey', fontSize: 15 }, - text: `Indexing in progress`, + text: $localize`:@@23555386d8af1ff73f297e89dd4af3f4689fb9dd:Indexing blocks`, left: 'center', top: 'center' }; From 8154a4dd7777df1c1c5845c4af85c33df46df956 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Sat, 11 Jun 2022 11:05:53 -0400 Subject: [PATCH 2/3] Clarify that manual installs are meant for devs --- README.md | 4 ++-- backend/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ae0e2191e..cde9b5adb 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,5 @@ Mempool can be conveniently installed on the following full-node distros: Mempool can be installed in other ways too, but we only recommend doing so if you're a developer, have experience managing servers, or otherwise know what you're doing. - See the [`docker/`](./docker/) directory for instructions on deploying Mempool with Docker. -- See the [`backend/`](./backend/) and [`frontend/`](./frontend/) directories for manual install instructions oriented for developers and small-scale deployments. -- See the [`production/`](./production/) directory for guidance on setting up a more serious Mempool instance designed for high performance at scale. \ No newline at end of file +- See the [`backend/`](./backend/) and [`frontend/`](./frontend/) directories for manual install instructions oriented for developers. +- See the [`production/`](./production/) directory for guidance on setting up a more serious Mempool instance designed for high performance at scale. diff --git a/backend/README.md b/backend/README.md index f9a783b44..31872b962 100644 --- a/backend/README.md +++ b/backend/README.md @@ -1,6 +1,6 @@ # Mempool Backend -These instructions are mostly intended for developers, but can be used as a basis for personal or small-scale production setups. +These instructions are mostly intended for developers. If you choose to use these instructions for a production setup, be aware that you will still probably need to do additional configuration for your specific OS, environment, use-case, etc. We do our best here to provide a good starting point, but only proceed if you know what you're doing. Mempool does not provide support for custom setups. From abaaef2285b425b13a2c59738c1a7e98f01aa216 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Sat, 11 Jun 2022 12:17:34 -0400 Subject: [PATCH 3/3] Fix anchor link scrolling on load (chrome) --- frontend/src/app/docs/api-docs/api-docs.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/docs/api-docs/api-docs.component.ts b/frontend/src/app/docs/api-docs/api-docs.component.ts index 94eccd4e2..3d68ef75c 100644 --- a/frontend/src/app/docs/api-docs/api-docs.component.ts +++ b/frontend/src/app/docs/api-docs/api-docs.component.ts @@ -35,6 +35,7 @@ export class ApiDocsComponent implements OnInit { setTimeout( () => { if( this.route.snapshot.fragment ) { this.openEndpointContainer( this.route.snapshot.fragment ); + document.getElementById( this.route.snapshot.fragment ).scrollIntoView(); } window.addEventListener('scroll', function() { that.desktopDocsNavPosition = ( window.pageYOffset > 182 ) ? "fixed" : "relative";