[PR #40] [MERGED] Market: one price per item, to buy and to sell #42

Closed
opened 2026-11-03 04:02:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-site/pull/40
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: feat/market-one-price


📝 Commits (1)

  • f0da436 Market: one price per item, to buy and to sell

📊 Changes

1 file changed (+19 additions, -7 deletions)

View changed files

📝 components/market-board.tsx (+19 -7)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Ludovic asked for one price per market item, the same to buy and to sell (horizon-mods SMP 0.29.0). /hub/market now shows:

  • the item's one price (whole coins from 10 up, cents below, as in game), with "buy only" / "sell only" where the market trades one side;
  • a single Price column instead of Buy and Sell;
  • a footnote saying the tax comes on top and a big trade moves the price as it goes.

Older market.json pages without price fall back to mid, so this works before and after the server update. It merges after the server restart that ships 0.29.0.

npm run build ✓

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon-site/pull/40 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/market-one-price` --- ### 📝 Commits (1) - [`f0da436`](https://github.com/horizon-rust/horizon-site/commit/f0da436acd9e2d26c9507e4653bad3a35fae3949) Market: one price per item, to buy and to sell ### 📊 Changes **1 file changed** (+19 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `components/market-board.tsx` (+19 -7) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Ludovic asked for one price per market item, the same to buy and to sell (horizon-mods SMP 0.29.0). `/hub/market` now shows: - the item's one `price` (whole coins from 10 up, cents below, as in game), with "buy only" / "sell only" where the market trades one side; - a single **Price** column instead of Buy and Sell; - a footnote saying the tax comes on top and a big trade moves the price as it goes. Older `market.json` pages without `price` fall back to `mid`, so this works before and after the server update. It merges after the server restart that ships 0.29.0. `npm run build` ✓ 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:02:35 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon-site#42
No description provided.