[PR #6394] [MERGED] Clear three ledger rows that are no longer missing #6843

Closed
opened 2026-11-03 06:27:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: chore/port-map-stale-rows


📝 Commits (1)

  • 73e19ff Clear three ledger rows that are no longer missing

📊 Changes

3 files changed (+3 additions, -3 deletions)

View changed files

📝 tools/port_map/client2-019.tsv (+1 -1)
📝 tools/port_map/game2-010.tsv (+1 -1)
📝 tools/port_map/rest-003.tsv (+1 -1)

📄 Description

Three tools/port_map rows still said missing for behaviour that main already has. Each was
checked against the code, not the old note:

  • CreateWorldScreen.keyPressed -> title.rs::confirm_key_size. Enter (and keypad Enter) reaches
    confirm_key_size, and with no button focused Mode::Create falls through to
    create_action(), which returns Action::Create. The row's note described an older
    startup_menu shape that no longer exists.
  • KeyMapping.setAll -> game.rs::handle_window_event_inner. WindowEvent::Focused(false)
    clears physical_keys and physical_buttons and drops drag_button, and
    ModifiersChanged reconciles the held set, so nothing sticks across alt-tab.
  • EnchantmentHelper.createBook -> creative.rs::from_json. The search tab's stacks are read
    from creative-inventory.json, and the prepared export carries 171 enchanted book stacks
    (vanilla CreativeModeTabs generates them), which item_data::parse_stack keeps with their
    components.

Proven: cargo check -q -p horizon-client-lib --lib is unaffected (data files only); the
three claims are from reading the code paths above and, for the books, from counting
enchanted_book entries in the prepared creative-inventory.json (171).

Not proven: no in-game check; these are ledger verdicts, not behaviour changes.


🔄 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/pull/6394 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/port-map-stale-rows` --- ### 📝 Commits (1) - [`73e19ff`](https://github.com/horizon-rust/horizon/commit/73e19ffba74bf14790dccc9dd1d856a248a630d8) Clear three ledger rows that are no longer missing ### 📊 Changes **3 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-019.tsv` (+1 -1) 📝 `tools/port_map/game2-010.tsv` (+1 -1) 📝 `tools/port_map/rest-003.tsv` (+1 -1) </details> ### 📄 Description Three `tools/port_map` rows still said `missing` for behaviour that main already has. Each was checked against the code, not the old note: - `CreateWorldScreen.keyPressed` -> `title.rs::confirm_key_size`. Enter (and keypad Enter) reaches `confirm_key_size`, and with no button focused `Mode::Create` falls through to `create_action()`, which returns `Action::Create`. The row's note described an older `startup_menu` shape that no longer exists. - `KeyMapping.setAll` -> `game.rs::handle_window_event_inner`. `WindowEvent::Focused(false)` clears `physical_keys` and `physical_buttons` and drops `drag_button`, and `ModifiersChanged` reconciles the held set, so nothing sticks across alt-tab. - `EnchantmentHelper.createBook` -> `creative.rs::from_json`. The search tab's stacks are read from `creative-inventory.json`, and the prepared export carries 171 enchanted book stacks (vanilla `CreativeModeTabs` generates them), which `item_data::parse_stack` keeps with their components. **Proven:** `cargo check -q -p horizon-client-lib --lib` is unaffected (data files only); the three claims are from reading the code paths above and, for the books, from counting `enchanted_book` entries in the prepared `creative-inventory.json` (171). **Not proven:** no in-game check; these are ledger verdicts, not behaviour changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:27:53 +07:00
Sign in to join this conversation.
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#6843
No description provided.