1
0
forked from boos/BoosAPI

Add tests for centered modal adoption, search modal results, and accounts batch actions

- Implement tests for the CenteredModal component to ensure it follows the shared modal shell pattern.
- Add comprehensive tests for the SearchModal results, including API interactions and UI behavior.
- Create tests for accounts batch actions, verifying the functionality of refreshing balances and selecting accounts via row clicks.
- Introduce tests for the accounts centered modal to confirm the use of CenteredModal for add/edit/rebind flows.
- Add tests for the accounts edit panel to ensure proper rendering and functionality when opening the edit modal.
- Implement tests for the accounts tokens header to verify the reuse of the accounts page header in the tokens segment.
- Create tests for the system proxy settings, ensuring the correct saving of the proxy URL.
- Add tests for the tokens actions layout to confirm the proper layout and styling of token row actions.
- Implement tests for the tokens batch actions, including deletion of selected tokens and row selection behavior.
- Introduce tests for the tokens focus navigation to ensure the correct highlighting of focused token rows.
This commit is contained in:
cita
2026-03-07 18:04:05 +08:00
parent c31bbcbb51
commit c437d93715
65 changed files with 3984 additions and 486 deletions
+2 -2
View File
@@ -273,7 +273,7 @@ export const zhToEnSupplemental: Record<string, string> = {
'令牌不存在或不属于通道账号': 'The token does not exist or does not belong to the channel account',
'令牌不可用': 'Token not available',
'令牌不能为空': 'Token cannot be empty',
'令牌管理': 'Token management',
'令牌管理': 'Account tokens',
'令牌失效': 'Token expired',
'令牌数': 'Number of tokens',
'令牌同步成功': 'Token synchronization successful',
@@ -696,7 +696,7 @@ export const zhToEnSupplemental: Record<string, string> = {
'账号 ID 无效': 'Invalid account ID',
'账号不存在': 'Account does not exist',
'账号访问令牌可能过期或无效,需更新认证信息。': 'The account access token may be expired or invalid, and the authentication information needs to be updated.',
'账号管理': 'Account management',
'账号管理': 'Connection management',
'账号或站点已禁用': 'Account or site has been disabled',
'账号路由': 'Account routing',
'账号缺少访问令牌,无法创建站点令牌': 'The account is missing an access token and cannot create a site token.',