Skip to content

Donation: Earnings shows what is donated and estimates net of donations #3734

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 lean Earnings page shows "one XvB line (on or off, donated %)" and nothing about any other donation (#3566 section E). Once a project donation exists, an operator reading Earnings sees a lower estimate than the hashrate suggests with no explanation on the page, and the request for the closed donation ledger (#2477) was folded into "a compact breakdown" instead of a page.

On the Earnings page (#2525) show one read-only sentence that covers every donation, not a new page and not a control:

What it impacts

Operators who read Earnings with a donation on. Nothing renders when no donation is on, so the dark build is unchanged.

How I found it

Read-only scan of origin/develop-v2.1.0 at 02852bd on 2026-10-27 from #3566 section E and rules A2 and A6. Nothing was executed. Unknown: the Earnings page (#2525) is not merged and needs #2479 first; the exact XvB percentage source on that page is whatever #2525 settles on.

How important is it

Low-medium. One sentence of honesty on the page where the numbers are read; blocked on the page.

Acceptance criteria

  • The Earnings estimates (expected per day and per month, and the Overview tile from Sovereign: build the contribution overview and attention summary #2515) are net of the project donation and the XMRig developer donation (Let owners support the XMRig developers from each rig's panel (default off) #3731). The headline figure is the net figure, and its sub-line says so ("after 3 % in donations"). Owner, 2026-10-27: the estimated payout is adjusted down to compensate for donations.
  • Frontend tests with fixtures: project only, XvB only, both, neither, XvB on with the project unavailable; the sentence matches the wording above for each; "neither" renders nothing.
  • The Change link target exists in the drawer and the link is keyboard operable.
  • The per-platform counted-control fixture still passes: the line adds zero.
  • A Playwright check at 375 px and desktop: the sentence wraps, no horizontal scroll, AA contrast in light and dark.
  • docs/dashboard.md Earnings section mentions the sentence; 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 #3697, #3733 and on #2525.

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 #3697.
    Blocked on #3733.

    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