feedback1 draft-info: the strategy draft shows the briefing's disabled bonds and banned operators again (GitHub issue #8 item 1)

One component, public/js/ui/matchInfo.js: matchInfoModel (the drawn set D and
the mode's inactive bonds via disabledBondSets, the briefing's bond order,
banned operators by tier, bannedPerBond) and the briefing's bond rows, legend
and banned-operator grid. The briefing renders it; the band draft opens it
read-only in a dialog (查看禁用盟约与干员 under the order list; 关闭, a tap
outside or Esc close it; its footer repeats the turn and the countdown; a turn
change closes it, the end of the draft unmounts it); the in-game 本局信息 tab
reads the same model, so its banned operators are listed by tier too. In the
dialog every size has a px floor, so phones keep readable text and a
scrollable body.

Tests: test/ui/match-info.test.js; opt-in test/ui/match-info.e2e.test.js
(SP_E2E=1: solo 标准 on desktop, co-op 绝境 with a desktop and a phone).
This commit is contained in:
sganggs committed 2026-10-03 16:08:32 +08:00
1 parent 842e1e13c4
commit 7188e0af89
8 files changed
+847 -56

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
/* ==========================================================================================
screens/briefing.css — INFO_CHECK briefing (js/screens/briefing.js) + the pre-game step header
shared with the band draft (js/ui/matchChrome.js StepHeader). Research 06 §4.1 / §11.6.
The bond rows, the legend and the banned operators (.brief-bonds / .brief-legend / .brief-banned) are
js/ui/matchInfo.js MatchInfo — also shown by the band draft's 本局信息 dialog (css/screens/draft.css .minfo-dlg).
========================================================================================== */
/* ---- shared pre-game backdrop + header ---- */