Skip to content

Releases: velddev/bottom-line-client

1.0.154

Choose a tag to compare

@github-actions github-actions released this 05 Apr 04:26
mike: Add residential + mixed-use building types to build UI

- BuildToolbar now shows all 8 building types (was only 3)
- Added residential_low, residential_medium, mixed_use_residential, residential_high
- Fixed BUILDING_TYPE mapping in api-http.ts (residential types were missing)
- Updated proto with BUILDING_TYPE_MIXED_USE_RESIDENTIAL = 10
- Updated isResidential checks to include mixed_use_residential
- Added mixed-use to buildingVariants, ResidentialPanel, UtilityRows, CONSTRUCTION_TICKS
- Updated BUILDING_ICONS with mixed-use (🏬)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.153

Choose a tag to compare

@github-actions github-actions released this 05 Apr 03:04
mike: fix Listed/Draft badge — derive from server data, not local state

The sellSaved local state was getting reset to false whenever the sell price
input changed, causing the badge to flip back to Draft. Now isListed is
derived purely from existingOffering && existingOrder (actual API data).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.152

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:55
mike: use live market listings for supply stats (not just trade history)

- Added listOfferings query per resource to show current supply prices
- Stats now show: cheapest supply, available quantity, # sellers
- Trade history (if available): avg traded price, volume/day, price sparkline
- Fixes 'No market data yet' when no trades happened but listings exist

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.151

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:46
mike: add market stats to store cards — city-wide pricing + demand data

Default stats view now shows two rows:
- Row 1 (your store): sold/day, revenue, margin, stock, revenue sparkline
- Row 2 (market): avg market price, cheapest supply, city demand/day, price sparkline
- Edit mode shows market hint line (avg price · cheapest · demand)

Uses getPriceHistory API for city-wide market data alongside getBuildingSales for store data.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.150

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:43
mike: add market stats to store cards — city-wide pricing + demand data

Default stats view now shows two rows:
- Row 1 (your store): sold/day, revenue, margin, stock, revenue sparkline
- Row 2 (market): avg market price, cheapest supply, city demand/day, price sparkline
- Edit mode shows market hint line (avg price · cheapest · demand)

Uses getPriceHistory API for city-wide market data alongside getBuildingSales for store data.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.149

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:40
mike: raise default buy price to 0.15 (above gov import prices)

Government import port sells consumer goods at .11/u (base * 1.2x premium).
The old default of .10 was below this threshold, causing buy orders to never match.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.148

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:36
mike: condense margin to (~.85/u) in green/red

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.147

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:28
mike: store cards — stats-first default view with edit toggle

- Default view shows: avg sold/day, sell price, profit/u, stock level, revenue sparkline
- Gear icon toggles to edit mode (buy/sell prices, priority, stock slider)
- First-time setup auto-opens edit mode when no orders exist
- Compact stock slider (200px max width)
- Removed separate StoreAnalyticsPanel — stats now inline per resource
- Slightly more vertical padding (py-3.5) between resource rows

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.146

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:25
mike: store cards — stats-first default view with edit toggle

- Default view shows: avg sold/day, sell price, profit/u, stock level, revenue sparkline
- Gear icon toggles to edit mode (buy/sell prices, priority, stock slider)
- First-time setup auto-opens edit mode when no orders exist
- Compact stock slider (200px max width)
- Removed separate StoreAnalyticsPanel — stats now inline per resource
- Slightly more vertical padding (py-3.5) between resource rows

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1.0.145

Choose a tag to compare

@github-actions github-actions released this 05 Apr 02:21
mike: simplify margin display — show ~\.85 profit/u instead of breakdown

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>