继续收口编辑器空态与暗色动作按钮

视觉小说实体列表空态复用 PlatformEmptyState
角色素材工作室局部按钮改为委托 PlatformActionButton
RPG大编辑器局部按钮改为委托 PlatformActionButton
更新 PlatformUiKit 收口文档与团队决策记录
This commit is contained in:
2026-06-11 01:52:47 +08:00
parent 06bf03a28c
commit 402b847c7f
7 changed files with 59 additions and 23 deletions

View File

@@ -1055,7 +1055,11 @@ test('基本设定面板只编辑六个角色维度名称', async () => {
expect(screen.queryByLabelText('正向信号')).toBeNull();
expect(screen.queryByLabelText('战斗体现')).toBeNull();
await user.click(screen.getByRole('button', { name: //u }));
const saveButton = screen.getByRole('button', { name: //u });
expect(saveButton.className).toContain('platform-action-button--editor-dark');
expect(saveButton.className).toContain('rounded-full');
await user.click(saveButton);
expect(savedProfileRef.current?.attributeSchema.slots[0]?.name).toBe('潮骨');
});