feat: Phase 1 — mycelium IP auto-fill in add node form (#72) #1

Merged
mik-tf merged 1 commit from development_mik02 into development 2026-04-11 02:21:14 +00:00
Member

Summary

Phase 1 of the scaling architecture initiative (#72) — adds a "Mycelium IPv6 (optional, auto-fill)" field to the farmer Register Node form. If populated, the form POSTs to the new backend /dashboard/nodes/from-explorer endpoint which auto-fills capacity from real heartbeat data. If empty, falls back to the existing manual entry flow — zero regression.

Changes

  • src/pages/dashboard_nodes.rs:42-205 — new optional mycelium_ip input at the top of the form, info alert explaining the flow, and conditional POST target based on whether the field is populated.

Validation

Deployed as :development_mik02 via docker-compose override on dev-app.projectmycelium.org. Visual check on /dashboard/nodes confirms the new field appears and the empty-field path still uses /dashboard/resource_provider-nodes-enhanced.

  • Playwright SPA e2e: 54/54
  • Playwright content regression: 55/55
  • Visual parity: 35/35
  • WASM bundle on dev-app verified to contain the new endpoint string from-explorer.
## Summary Phase 1 of the scaling architecture initiative (#72) — adds a "Mycelium IPv6 (optional, auto-fill)" field to the farmer Register Node form. If populated, the form POSTs to the new backend `/dashboard/nodes/from-explorer` endpoint which auto-fills capacity from real heartbeat data. If empty, falls back to the existing manual entry flow — zero regression. ## Changes - `src/pages/dashboard_nodes.rs:42-205` — new optional `mycelium_ip` input at the top of the form, info alert explaining the flow, and conditional POST target based on whether the field is populated. ## Validation Deployed as `:development_mik02` via docker-compose override on `dev-app.projectmycelium.org`. Visual check on `/dashboard/nodes` confirms the new field appears and the empty-field path still uses `/dashboard/resource_provider-nodes-enhanced`. - Playwright SPA e2e: 54/54 ✅ - Playwright content regression: 55/55 ✅ - Visual parity: 35/35 ✅ - WASM bundle on dev-app verified to contain the new endpoint string `from-explorer`. ## Related - Issue: https://forge.ourworld.tf/mycelium_code/home/issues/72 - Closes (pending merge): https://forge.ourworld.tf/mycelium_code/home/issues/71 - Spec: https://forge.ourworld.tf/mycelium_code/projectmycelium_marketplace_deploy/src/branch/development_mik02/docs/scaling_architecture.md
Phase 1 of the scaling architecture initiative (docs/scaling_architecture.md).

Add a 'Mycelium IPv6 (optional, auto-fill)' field at the top of the
farmer dashboard Register Node form. If populated, submit POSTs to the
new /dashboard/nodes/from-explorer endpoint which looks the node up in
the hero_compute explorer and auto-fills capacity from real heartbeat
data. If empty, the form falls back to the existing manual entry flow
(/dashboard/resource_provider-nodes-enhanced) — zero regression.

Also adds a small info alert explaining the flow.

Relates to: mycelium_code/home#72
Closes:     mycelium_code/home#71 (pending deploy)

Tests: cargo check clean.
mik-tf merged commit 5da2f807d6 into development 2026-04-11 02:21:14 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coopcloud_code/projectmycelium_marketplace_frontend!1
No description provided.