Skip to content

Abyss stats: read-only Wallet from EVE, remove Loot (unsold) #44

Closed

Description

@Fazorath

Parent

#38

What to build

The Abyss page's stats row becomes Session, ISK/hr, Time and Wallet, with Wallet read-only from EVE. The Wallet stat is read from ESI with the existing wallet reader when a session starts or resumes and after each logged run. Its sub-line reads "from EVE at HH:MM". When signed out it shows "—" with a hint to sign in. It no longer comes from the run log's wallet chain.

Loot (unsold) is removed everywhere: the stat, the five-minute asset poller, the loot line in the session-end summary, the Tracker's loot baseline and valuation methods, the Baseline and Loot records, the all-assets value-change function, and creating the loot table on new databases. An existing loot table in an old database is left alone (no migration). The asset reader and market price reader stay, because the cargo fetch (a later ticket) reuses them.

Logging still works the way it does today. This ticket only changes the stats and removes Loot.

Acceptance criteria

  • The Abyss stats show Session, ISK/hr, Time and Wallet; there is no Loot (unsold) stat
  • The Wallet stat shows the ESI balance with "from EVE at HH:MM", and refreshes on session start, on resume and after each logged run
  • Signed out, the Wallet stat shows "—" with a sign-in hint, and nothing else on the page breaks
  • A wallet read error shows in the stat's sub-line and doesn't block logging
  • No asset polling runs while a session is open (no timer, no asset or price calls)
  • The session-end summary has no loot line
  • A new database has no loot table; an old database with one still opens, and backup/restore still work
  • Tests (GUI driven through gui.App with the account mocked; Tk tests keep the no-display skip): the Wallet stat from a mocked wallet reader, "—" when signed out, the error sub-line, no poller scheduled. The loot page tests and the loot baseline/valuation tests are removed; the asset and price reader tests stay
  • Full test suite green

Blocked by

None (can start immediately)

Metadata

Metadata

Assignees

Labels

esiEVE Online ESI integrationready-for-agentSpec'd and safe for the night shift to build

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions