From 75b78325e47ac1556eb2934161a9b75ac26a3fd1 Mon Sep 17 00:00:00 2001 From: archipelago Date: Wed, 17 Jun 2026 04:48:00 -0400 Subject: [PATCH] =?UTF-8?q?feat(web5):=20Networking=20Profits=20=E2=86=92?= =?UTF-8?q?=20Settings=20page=20for=20paid=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a Settings control to the Networking Profits card that opens a new page where the operator controls what their node charges sats for and how much. Drives the existing streaming.list-services / streaming.configure-service RPCs; "free everything" is the default (all priced services ship disabled, surfaced with a reassurance banner). New route web5/networking-profits + common.settings i18n (en/es). Co-Authored-By: Claude Opus 4.8 (1M context) --- neode-ui/src/locales/en.json | 1 + neode-ui/src/locales/es.json | 1 + neode-ui/src/router/index.ts | 5 + .../web5/Web5NetworkingProfitsSettings.vue | 203 ++++++++++++++++++ neode-ui/src/views/web5/Web5QuickActions.vue | 6 + 5 files changed, 216 insertions(+) create mode 100644 neode-ui/src/views/web5/Web5NetworkingProfitsSettings.vue diff --git a/neode-ui/src/locales/en.json b/neode-ui/src/locales/en.json index 39f9477e..08e92021 100644 --- a/neode-ui/src/locales/en.json +++ b/neode-ui/src/locales/en.json @@ -26,6 +26,7 @@ "back": "Back", "done": "Done", "manage": "Manage", + "settings": "Settings", "connect": "Connect", "connecting": "Connecting...", "disconnect": "Disconnect", diff --git a/neode-ui/src/locales/es.json b/neode-ui/src/locales/es.json index 8aa8f475..c7bd54f7 100644 --- a/neode-ui/src/locales/es.json +++ b/neode-ui/src/locales/es.json @@ -26,6 +26,7 @@ "back": "Volver", "done": "Listo", "manage": "Administrar", + "settings": "Configuración", "connect": "Conectar", "connecting": "Conectando...", "disconnect": "Desconectar", diff --git a/neode-ui/src/router/index.ts b/neode-ui/src/router/index.ts index bc7bf681..f37073b7 100644 --- a/neode-ui/src/router/index.ts +++ b/neode-ui/src/router/index.ts @@ -206,6 +206,11 @@ const router = createRouter({ name: 'credentials', component: () => import('../views/Credentials.vue'), }, + { + path: 'web5/networking-profits', + name: 'networking-profits-settings', + component: () => import('../views/web5/Web5NetworkingProfitsSettings.vue'), + }, { path: 'settings', name: 'settings', diff --git a/neode-ui/src/views/web5/Web5NetworkingProfitsSettings.vue b/neode-ui/src/views/web5/Web5NetworkingProfitsSettings.vue new file mode 100644 index 00000000..39c7e82e --- /dev/null +++ b/neode-ui/src/views/web5/Web5NetworkingProfitsSettings.vue @@ -0,0 +1,203 @@ + + + diff --git a/neode-ui/src/views/web5/Web5QuickActions.vue b/neode-ui/src/views/web5/Web5QuickActions.vue index fa3a9bcc..58263a80 100644 --- a/neode-ui/src/views/web5/Web5QuickActions.vue +++ b/neode-ui/src/views/web5/Web5QuickActions.vue @@ -17,6 +17,12 @@

Content: {{ profitsBreakdown.content_sales_sats.toLocaleString() }} sats

Routing: {{ profitsBreakdown.routing_fees_sats.toLocaleString() }} sats

+