feat: PC Box 管理系统 + 全英文名统一 + 队伍补位机制

- 新增 PC Box tab(左侧 party + 右侧 box 网格,支持 party↔box 拾取/放置/交换)
- 空格键抓取/放下,左键在 col=0 时切到 party 面板
- 使用 useTabHeaderFocus 避免左右键被 Tabs 组件拦截
- 所有 1025 只精灵统一使用 Dex 英文名,移除中英混搭
- compactParty 补位机制:不允许前置空位,队伍最少保留一只
- PC Box tab 移至第二位(Buddy → PC Box → Pokédex → Egg)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
claude-code-best
2026-04-22 17:21:24 +08:00
parent 9930a53e51
commit 02783e4f5d
9 changed files with 623 additions and 74 deletions

View File

@@ -112,7 +112,7 @@ export function PokedexView({ buddyData }: PokedexViewProps) {
<Text>{isActive ? <Text color={YELLOW}></Text> : ' '}</Text>
<Text color={GRAY}>#{String(species.dexNumber).padStart(3, '0')} </Text>
<Text color={WHITE} bold={isActive}>
{(species.names as Record<string, string>).zh ?? species.name}
{species.name}
</Text>
<Text>
{' '}