feat: trade machine ui #14

Open
planet wants to merge 6 commits from feature/trade-machine into main
Member
No description provided.
feat: trade machine ui
Some checks failed
Auto Assign / run (pull_request_target) Successful in 4s
Model Preview / model-preview (pull_request) Successful in 9s
CI / build-and-test (20.x) (pull_request) Failing after 2m6s
4b08fd7f3c
smell-of-curry was assigned by forgejo-actions 2026-09-03 23:04:33 +00:00
bot left a comment

COMMENT on 4b08fd7f — trade machine UI companion to pokebedrock-beh#727

Looks solid:

  • All 7 langs get the same 58 trade/loot/skins keys.
  • ui/pokemon/trade.json registered in _ui_defs.json.
  • $flag_trade wired in server_form.json visibility/enabled bindings.

Ship with beh#727 (do not merge res ahead of beh). No blocking asset issues spotted from the file list; UI JSON is large — sanity-check in-game that accept-lock / partner / empty-slot hover textures bind as intended.

**COMMENT** on `4b08fd7f` — trade machine UI companion to `pokebedrock-beh#727` Looks solid: - All 7 langs get the same 58 trade/loot/skins keys. - `ui/pokemon/trade.json` registered in `_ui_defs.json`. - `$flag_trade` wired in `server_form.json` visibility/enabled bindings. Ship with beh#727 (do not merge res ahead of beh). No blocking asset issues spotted from the file list; UI JSON is large — sanity-check in-game that accept-lock / partner / empty-slot hover textures bind as intended.
@ -47,6 +47,7 @@
"$flag_rotom_phone_second": "§2§r",
"$flag_rotom_phone_third": "§3§r",
"$flag_pc": "§p§c",
"$flag_trade": "§t§r§a§d§e",
Member

Flag wiring looks correct ($flag_trade subtracted from default form visibility and used for the trade control). Keep in lockstep with beh trade title flag.

Flag wiring looks correct (`$flag_trade` subtracted from default form visibility and used for the trade control). Keep in lockstep with beh trade title flag.
bot requested changes 2026-09-09 22:37:01 +00:00
Dismissed
bot left a comment

Request changes. The asset companion is not merge-ready: it conflicts with current main and CI build-and-test is failing. Keep it locked to beh#727; do not merge the res side independently. Rebase, resolve all locale conflicts, rerun CI, and keep the trade keys/flag wiring aligned with the behavior-pack head.

Request changes. The asset companion is not merge-ready: it conflicts with current main and CI build-and-test is failing. Keep it locked to beh#727; do not merge the res side independently. Rebase, resolve all locale conflicts, rerun CI, and keep the trade keys/flag wiring aligned with the behavior-pack head.
Keep both sides of the lang-file merge.
Some checks failed
Model Preview / model-preview (pull_request) Successful in 16s
CI / build-and-test (20.x) (pull_request) Failing after 22s
6c0ee1812a
Merge branch 'main' into feature/trade-machine
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 32s
Model Preview / model-preview (pull_request) Successful in 3m15s
277e122259
bot approved these changes 2026-10-01 18:54:06 +00:00
Dismissed
bot left a comment

APPROVED on 277e1222 — main merged into feature/trade-machine; prior REQUEST_CHANGES (conflicts + red CI) cleared.

  • mergeable=true vs main 5a2ff211
  • CI build-and-test green on this head (model-preview still running at review time — not a code blocker)
  • All 7 langs: same 58 forms.tradeMachine / skins / loot / test-trade keys
  • ui/pokemon/trade.json registered in _ui_defs.json; $flag_trade wired in server_form.json (catch-all subtract + trade screen enable)
  • Trade texture refs match the six added textures/ui/trade/* assets

Ship with pokebedrock-beh#727 only — do not merge this res companion ahead of the behavior pack.

**APPROVED** on `277e1222` — main merged into `feature/trade-machine`; prior REQUEST_CHANGES (conflicts + red CI) cleared. - `mergeable=true` vs main `5a2ff211` - CI `build-and-test` green on this head (model-preview still running at review time — not a code blocker) - All 7 langs: same 58 `forms.tradeMachine` / skins / loot / test-trade keys - `ui/pokemon/trade.json` registered in `_ui_defs.json`; `$flag_trade` wired in `server_form.json` (catch-all subtract + trade screen enable) - Trade texture refs match the six added `textures/ui/trade/*` assets Ship with `pokebedrock-beh#727` only — do **not** merge this res companion ahead of the behavior pack.
bot requested changes 2026-10-01 18:56:20 +00:00
Dismissed
bot left a comment

REQUEST_CHANGES on 277e1222 — res companion to pokebedrock-beh#727 (head 7b7fc7b2)

Good

  • Trade-related key set matches beh langKeys (76 keys; no missing/extra).
  • ui/pokemon/trade.json registered in _ui_defs.json; $flag_trade wired in server_form.json.
  • All six textures/ui/trade/* referenced by the UI are present.
  • Rebased onto current main (5a2ff211); mergeable=true.

Must fix

  • Non-en locales still have forms.tradeMachine.button.acceptLocked=Accept Trade (%1s). beh declares arity 0 and en_US correctly uses §7Accept Trade (lock state is visual via state_locked). Sync cs/de/es/pt/ru/zh to the en_US value (or a translated gray label without %1).

Policy

  • Do not merge this res PR ahead of beh#727.
  • CI on this head was still pending at review time (build-and-test / model-preview) — not merge-ready until green + beh lands.
**REQUEST_CHANGES** on `277e1222` — res companion to `pokebedrock-beh#727` (head `7b7fc7b2`) **Good** - Trade-related key set matches beh `langKeys` (76 keys; no missing/extra). - `ui/pokemon/trade.json` registered in `_ui_defs.json`; `$flag_trade` wired in `server_form.json`. - All six `textures/ui/trade/*` referenced by the UI are present. - Rebased onto current `main` (`5a2ff211`); mergeable=true. **Must fix** - Non-en locales still have `forms.tradeMachine.button.acceptLocked=Accept Trade (%1s)`. beh declares arity **0** and `en_US` correctly uses `§7Accept Trade` (lock state is visual via `state_locked`). Sync cs/de/es/pt/ru/zh to the en_US value (or a translated gray label **without** `%1`). **Policy** - Do **not** merge this res PR ahead of beh#727. - CI on this head was still pending at review time (build-and-test / model-preview) — not merge-ready until green + beh lands.
texts/de_DE.lang Outdated
@ -11781,0 +11781,4 @@
## Trade Machine
forms.tradeMachine.button.accept=Accept Trade
forms.tradeMachine.button.acceptLocked=Accept Trade (%1s)
Member

Stale countdown placeholder. beh langKeys has forms.tradeMachine.button.acceptLocked: 0 args, and en_US is §7Accept Trade. Same stale Accept Trade (%1s) is still in cs_CZ / es_ES / pt_BR / ru_RU / zh_CN — align all six with en_US (no %1).

Stale countdown placeholder. beh `langKeys` has `forms.tradeMachine.button.acceptLocked`: **0** args, and `en_US` is `§7Accept Trade`. Same stale `Accept Trade (%1s)` is still in cs_CZ / es_ES / pt_BR / ru_RU / zh_CN — align all six with en_US (no `%1`).
Point model preview at the Forgejo copy of the action.
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 31s
Model Preview / model-preview (pull_request) Successful in 1m20s
ca2160c057
bot requested changes 2026-10-01 19:11:07 +00:00
bot left a comment

REQUEST_CHANGES on ca2160c0 — res companion to pokebedrock-beh#727

Delta since 277e1222

  • Only .github/workflows/model-preview.yml: pin uses to Forgejo pokebedrock/mc-model-preview@b10a8ffc (was smell-of-curry/mc-model-preview@latest). Fine for the act runner.

Still blocked (unchanged from REQUEST_CHANGES#2944 / inline on texts/de_DE.lang)

  • Non-en locales still ship forms.tradeMachine.button.acceptLocked=Accept Trade (%1s). beh declares arity 0; en_US is §7Accept Trade. Sync cs/de/es/pt/ru/zh (no %1).

Policy / CI

  • Do not merge this res PR ahead of beh#727.
  • CI on this head still pending (build-and-test / model-preview) — not merge-ready until green + locale fix + beh lands.
  • Open res issues: none — no Fixes/Could Fix.
**REQUEST_CHANGES** on `ca2160c0` — res companion to `pokebedrock-beh#727` **Delta since `277e1222`** - Only `.github/workflows/model-preview.yml`: pin `uses` to Forgejo `pokebedrock/mc-model-preview@b10a8ffc` (was `smell-of-curry/mc-model-preview@latest`). Fine for the act runner. **Still blocked** (unchanged from REQUEST_CHANGES#2944 / inline on `texts/de_DE.lang`) - Non-en locales still ship `forms.tradeMachine.button.acceptLocked=Accept Trade (%1s)`. beh declares arity **0**; `en_US` is `§7Accept Trade`. Sync cs/de/es/pt/ru/zh (no `%1`). **Policy / CI** - Do **not** merge this res PR ahead of beh#727. - CI on this head still pending (`build-and-test` / `model-preview`) — not merge-ready until green + locale fix + beh lands. - Open res issues: none — no Fixes/Could Fix.
feat: claim block minimum, trade summary and pokemon success lang keys
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 34s
Model Preview / model-preview (pull_request) Successful in 1m15s
05b3116e0f
bot requested changes 2026-10-09 19:21:45 +00:00
bot left a comment

REQUEST_CHANGES on 05b3116e — res companion to pokebedrock-beh#727

Delta since ca2160c0

  • Adds the same 11 forms.tradeMachine.* keys to all 7 locales (claim-block minimum error/label, success.tradedPokemon, summary.* incl. score lines). Identical across locales, no duplicate keys, arg usage looks sane.
  • mergeable=true vs main 7e6ccf54.

Still blocked (unchanged from #2944 / #2964)

  • cs/de/es/pt/ru/zh still ship forms.tradeMachine.button.acceptLocked=Accept Trade (%1s). beh declares arity 0; en_US is §7Accept Trade. Sync those six (no %1).

Heads-up

  • beh#727's current head (0ba5793d) doesn't reference any of the 11 new keys yet. Make sure the beh side lands them in langKeys with matching arity (summary.players/summary.received = 2, the %1 ones = 1, summary.nothing/summary.title/success.tradedPokemon = 0).

Policy / CI

  • Do not merge ahead of beh#727.
  • CI on this head pending (build-and-test / model-preview). Not merge-ready until green + locale fix + beh lands.
  • Open res issues: none, so no Fixes/Could Fix.
**REQUEST_CHANGES** on `05b3116e` — res companion to `pokebedrock-beh#727` **Delta since `ca2160c0`** - Adds the same 11 `forms.tradeMachine.*` keys to all 7 locales (claim-block minimum error/label, `success.tradedPokemon`, `summary.*` incl. score lines). Identical across locales, no duplicate keys, arg usage looks sane. - `mergeable=true` vs main `7e6ccf54`. **Still blocked** (unchanged from #2944 / #2964) - cs/de/es/pt/ru/zh still ship `forms.tradeMachine.button.acceptLocked=Accept Trade (%1s)`. beh declares arity **0**; `en_US` is `§7Accept Trade`. Sync those six (no `%1`). **Heads-up** - beh#727's current head (`0ba5793d`) doesn't reference any of the 11 new keys yet. Make sure the beh side lands them in `langKeys` with matching arity (`summary.players`/`summary.received` = 2, the `%1` ones = 1, `summary.nothing`/`summary.title`/`success.tradedPokemon` = 0). **Policy / CI** - Do **not** merge ahead of beh#727. - CI on this head pending (`build-and-test` / `model-preview`). Not merge-ready until green + locale fix + beh lands. - Open res issues: none, so no Fixes/Could Fix.
@ -11781,0 +11842,4 @@
forms.tradeMachine.error.machineInUse=§cYou cannot break a Trade Machine that is in use!
forms.tradeMachine.error.pokemonUnavailable=§cA Pokemon in this trade is no longer available!
forms.tradeMachine.title.tradingWith=Trading with "%1"
forms.tradeMachine.error.claimBlocksMinimum=§cYou must trade at least %1 Claim Blocks!
Member

These 11 new keys aren't referenced by beh#727 head 0ba5793d yet. Push the matching beh langKeys entries (with arity) so the companion stays in lockstep.

These 11 new keys aren't referenced by beh#727 head `0ba5793d` yet. Push the matching beh `langKeys` entries (with arity) so the companion stays in lockstep.
bot requested changes 2026-10-09 19:21:53 +00:00
bot left a comment

REQUEST_CHANGES on 05b3116e — res companion to pokebedrock-beh#727

Delta since ca2160c0

  • 11 new forms.tradeMachine.* keys (claim-block minimum, trade summary, Pokémon success) added identically to all 7 locales. Placement and English-placeholder pattern in non-en files match the existing block. Fine on their own.

New blocker

  • None of these 11 keys exist on beh#727 (feature/trade-machine @ 0ba5793d) or beh main — langKeys.ts doesn't declare them and nothing calls t(...) with them. Push the beh side so the arities line up: error.claimBlocksMinimum 1, label.minimumClaimBlocks 1, success.tradedPokemon 0, summary.nothing 0, summary.players 2, summary.received 2, summary.score.claimBlocks|pokeDollars|tokens 1, summary.title 0, summary.traded 1. Otherwise this ships dead strings.

Still open (existing thread on texts/de_DE.lang)

  • Non-en forms.tradeMachine.button.acceptLocked still Accept Trade (%1s) vs beh arity 0. Unchanged on this head.

Policy / CI

  • Don't merge ahead of beh#727. build-and-test green; model-preview still pending.
  • Open res issues: none, so no Fixes/Could Fix.
**REQUEST_CHANGES** on `05b3116e` — res companion to `pokebedrock-beh#727` **Delta since `ca2160c0`** - 11 new `forms.tradeMachine.*` keys (claim-block minimum, trade summary, Pokémon success) added identically to all 7 locales. Placement and English-placeholder pattern in non-en files match the existing block. Fine on their own. **New blocker** - None of these 11 keys exist on beh#727 (`feature/trade-machine` @ `0ba5793d`) or beh `main` — `langKeys.ts` doesn't declare them and nothing calls `t(...)` with them. Push the beh side so the arities line up: `error.claimBlocksMinimum` 1, `label.minimumClaimBlocks` 1, `success.tradedPokemon` 0, `summary.nothing` 0, `summary.players` 2, `summary.received` 2, `summary.score.claimBlocks|pokeDollars|tokens` 1, `summary.title` 0, `summary.traded` 1. Otherwise this ships dead strings. **Still open** (existing thread on `texts/de_DE.lang`) - Non-en `forms.tradeMachine.button.acceptLocked` still `Accept Trade (%1s)` vs beh arity 0. Unchanged on this head. **Policy / CI** - Don't merge ahead of beh#727. `build-and-test` green; `model-preview` still pending. - Open res issues: none, so no Fixes/Could Fix.
@ -11781,0 +11842,4 @@
forms.tradeMachine.error.machineInUse=§cYou cannot break a Trade Machine that is in use!
forms.tradeMachine.error.pokemonUnavailable=§cA Pokemon in this trade is no longer available!
forms.tradeMachine.title.tradingWith=Trading with "%1"
forms.tradeMachine.error.claimBlocksMinimum=§cYou must trade at least %1 Claim Blocks!
Member

These 11 new keys (11845–11855) have no matching declarations in beh#727's langKeys.ts at 0ba5793d, and nothing in beh calls them yet. Land the beh side with the arities from the review body, or drop the keys until it does.

These 11 new keys (11845–11855) have no matching declarations in beh#727's `langKeys.ts` at `0ba5793d`, and nothing in beh calls them yet. Land the beh side with the arities from the review body, or drop the keys until it does.
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 34s
Model Preview / model-preview (pull_request) Successful in 1m15s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/trade-machine:feature/trade-machine
git switch feature/trade-machine

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feature/trade-machine
git switch feature/trade-machine
git rebase main
git switch main
git merge --ff-only feature/trade-machine
git switch feature/trade-machine
git rebase main
git switch main
git merge --no-ff feature/trade-machine
git switch main
git merge --squash feature/trade-machine
git switch main
git merge --ff-only feature/trade-machine
git switch main
git merge feature/trade-machine
git push origin main
Sign in to join this conversation.
No reviewers
bot
No labels
No milestone
No project
No assignees
3 participants
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
pokebedrock/pokebedrock-res!14
No description provided.