Skip to content

Donation: show the project route in the egress list and topology view #3736

Open

Description

@pithead-developer

What's the problem

Part of #2476. Owner priority (2026-10-27): build the opt-in donation feature now, shipping dark. The first report requires the slice to show in the egress list. The egress and topology data will carry a Pithead project donation route (#3702), but the lean UI shows egress only through the Advanced drawer's Maintenance section, whose Inspect view carries "server health, topology and node statistics" (#3566 section G, built by #2540). Unless that view lists the new row, the operator who audits where this host talks cannot see the project route in the new UI.

In Advanced > Maintenance > Inspect, render the project route like every other route:

  • A row "Pithead project donation" with the route in plain words (over Tor, direct, or not in use) and the same state chip styling as the other rows.
  • On the topology graph, the project edge with the recipient as its label, and the clearnet case marked as chosen, not as a leak (the data carries chosen_clearnet, List the project donation route in the egress and topology views #3702).
  • Absent when the API says the feature is unavailable.

What it impacts

Operators auditing egress in the new UI. Nothing renders while the constants are empty.

How I found it

Read-only scan of origin/develop-v2.1.0 at 02852bd on 2026-10-27 from #3566 section G, the egress and topology builders and their frontend consumers (dashboard/mining_dashboard/web/static/network/topology.mjs, dashboard/tests/frontend/network/topology.test.mjs). Nothing was executed. Unknown: whether the new Inspect view renders every connection generically, in which case this issue is only the tests and the doc line (#2540 is open and not yet built).

How important is it

Low. Small, and it closes the loop on a stated requirement.

Acceptance criteria

  • Frontend tests with fixtures: the row and edge for Tor, direct (chosen clearnet, no leak count), not in use, and unavailable (absent).
  • A test shows the existing XvB and built-in-fee rows are unchanged.
  • A Playwright check of the Inspect view at 375 px and desktop: the row is present, no horizontal scroll, AA contrast in light and dark.
  • docs/dashboard.md Maintenance section lists the row; no old-UI file is edited; no explanatory code comments.
  • make test-frontend, make lint-js and make lint-file-budget pass.

Possible solutions

Part of #2476. Depends on #3702 and on #2540.

Activity

  1. added this to the v2.1.0 milestone on Oct 27, 2026
  2. added
    enhancement
    dashboard
    on Oct 27, 2026
  3. added
    blocked
    on Oct 27, 2026
  4. pithead-developer commented on Nov 16, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #2540.
    Blocked on #3702.

    Dependency marker for the dashboard. The native blocked-by links on this issue already name these open blockers, and the tick removes blocked when every one of them closes.

  5. pithead-architect commented on Nov 27, 2026

    @pithead-architect

    Release regroom (owner request, 2026-11-27): moved from v2.1.0 to v2.1.3. Donation UI follows the dark-released backend (2.0.7/2.0.8) and the Advanced pages; second UI chunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockeddashboardenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions