Skip to content

Fix pool mode selection and long target labels - #146

Merged
dop42 merged 1 commit into
mainfrom
fix/pool-menu-actions-and-target-layout
Oct 24, 2026
Merged

dop42 merged 1 commit into
mainfrom
fix/pool-menu-actions-and-target-layout

Conversation

@dop42

@dop42 dop42 commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Selecting a pool mode closed the menu without requesting a game: the menu treats close=true rows without their own act callback as close-only items, so the pool-level handler never received a selection. Use menu-wide closeOnSelect with regular action rows, and accept only select callbacks so confirmation navigation cannot execute commands.

Keep long target labels beside their icon, selection count and checkbox in a non-wrapping heading; truncate overflowing labels with an ellipsis while descriptions retain their own line. Rebuild the shipped UI bundle and document both behaviors.

Validation: the new enabled-client regression clicks the actual menu page, checks the emitted create request and feeds back a real match snapshot to verify camera entry; it reproduces the missing request before this change. Callback cost remains below 5,000 instructions. All 68 Lua audits, sandbox scan, UI lifecycle checks, typecheck and build pass. Chromium verified nine target layouts at widths 160/224/320px. Full Lua suite: 6,722 checks, zero failures. GitHub checks must pass before merging.

Not yet verified in game: reconnect and select solo practice to confirm camera entry, then inspect long target labels. Follow-up #142; documentation site tracking: opx77-framework/opx77_doc#19.

@dop42 dop42 added the needs-in-game-test Written and tested offline; must be checked on a live Open77 client label Oct 24, 2026
@dop42
dop42 merged commit 9931382 into main Oct 24, 2026
3 checks passed
@dop42
dop42 deleted the fix/pool-menu-actions-and-target-layout branch October 24, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-in-game-test Written and tested offline; must be checked on a live Open77 client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant