Market orders page: see whether sell orders are up to date (auto-refreshing) #21

Open
opened 2026-07-09 13:03:18 +02:00 by Sirttas · 0 comments
Owner

Summary

Add a page that shows whether the account's EVE market sell orders are up to date with what it currently holds — i.e. which acquired items still have remaining quantity but are not listed for sale (orders out of date / missing), and which are already listed. The page should auto-refresh the same way the Acquisitions view does, so it reflects newly processed activity without a manual reload.

Context

The building blocks already exist, this issue wires them into a dedicated view:

  • market/order/order.tsgetListedSellTypeIds() returns the set of marketTypeIds that have an active SELL order (marketApi.findAllMarketOrders()).
  • market/acquisition/acquisition.tsuseAcquiredTypesStore exposes acquired types with remaining > 0, and already auto-refreshes via onActivitiesProcessed(refresh) (see @/activity).
  • market/acquisition/AcquisitionResultTable.vue already cross-references acquisitions against getListedSellTypeIds (listedTypeIds), so the "held vs. listed" comparison is proven — this page surfaces it as its own view.

Scope

  • New page under Market (new tab in pages/Market.vue + route in routes.ts, e.g. /market/orders).
  • List the account's held items (acquired types with remaining quantity) and, for each, show whether it has an active sell order — flagging items that are held but unlisted (orders out of date) vs. already listed.
  • Auto-refresh like Acquisitions: react to onActivitiesProcessed (via useActivitiesProcessed / useProcessedResource) so both the holdings and the listed-order set reload when activity is (re)processed. No manual polling plumbing beyond that mechanism.

Out of scope

  • Editing / (re)placing market orders from gemory (this is a read/compare view only).
  • Price-competitiveness / outbid detection — a possible follow-up, not this issue.

Acceptance criteria

  • A new Market tab + route renders the orders-status page.
  • The page shows held items and clearly distinguishes listed vs. unlisted (out-of-date) sell orders.
  • The view auto-refreshes on processed activity, mirroring the Acquisitions page's behaviour.
## Summary Add a page that shows whether the account's EVE **market sell orders are up to date** with what it currently holds — i.e. which acquired items still have remaining quantity but are **not** listed for sale (orders out of date / missing), and which are already listed. The page should **auto-refresh** the same way the Acquisitions view does, so it reflects newly processed activity without a manual reload. ## Context The building blocks already exist, this issue wires them into a dedicated view: - `market/order/order.ts` → `getListedSellTypeIds()` returns the set of `marketTypeId`s that have an active **SELL** order (`marketApi.findAllMarketOrders()`). - `market/acquisition/acquisition.ts` → `useAcquiredTypesStore` exposes acquired types with `remaining > 0`, and already auto-refreshes via `onActivitiesProcessed(refresh)` (see `@/activity`). - `market/acquisition/AcquisitionResultTable.vue` already cross-references acquisitions against `getListedSellTypeIds` (`listedTypeIds`), so the "held vs. listed" comparison is proven — this page surfaces it as its own view. ## Scope - New page under **Market** (new tab in `pages/Market.vue` + route in `routes.ts`, e.g. `/market/orders`). - List the account's held items (acquired types with remaining quantity) and, for each, show whether it has an active sell order — flagging items that are **held but unlisted** (orders out of date) vs. already listed. - **Auto-refresh like Acquisitions**: react to `onActivitiesProcessed` (via `useActivitiesProcessed` / `useProcessedResource`) so both the holdings and the listed-order set reload when activity is (re)processed. No manual polling plumbing beyond that mechanism. ## Out of scope - Editing / (re)placing market orders from gemory (this is a read/compare view only). - Price-competitiveness / outbid detection — a possible follow-up, not this issue. ## Acceptance criteria - [ ] A new Market tab + route renders the orders-status page. - [ ] The page shows held items and clearly distinguishes listed vs. unlisted (out-of-date) sell orders. - [ ] The view auto-refreshes on processed activity, mirroring the Acquisitions page's behaviour.
Sirttas added the
Status
To Refine
label 2026-07-09 19:30:21 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eveal/gemory#21