Marks beaten orders inline in the Open orders table #79
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/orders-beaten-highlight"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Open orders on the My Orders page now show beaten state inline: a row whose order is beaten at its station (stored lifecycle verdicts, both buy and sell) carries a danger-tint highlight. When any of the active character's open orders is beaten, the section shows a Beaten only checkbox and a key (swatch plus "Beaten at its station"); the checkbox hides the unbeaten rows in place, with no reload.
Tests: TestOrdersPageOrderHealth extended to seed beaten lifecycle verdicts for one sell and one buy order; it asserts exactly two highlighted rows plus the checkbox and key markup. Targeted run (internal/app): TestOrdersPageOrderHealth, TestOrdersPageLifecycleRender, TestCorpOrdersHealthAndLocation, TestBeatenOrderPricing all pass; JS harness swap/tabs.more/phonebar 30 pass. gofmt clean, go build and go vet pass.