mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-06 18:06:36 +08:00
Restore BatchActionResultModal usage in forward.tsx
- Add BatchOperationFailure type import - Add BatchActionResultModal component import - Add BatchResultModalState interface and empty state constant - Add batchResultModal state - Add presentBatchOutcome callback for unified batch operation result handling - Update handleBatchDelete to use presentBatchOutcome - Add BatchActionResultModal rendering at end of component
This commit is contained in:
@@ -22,6 +22,7 @@ PR #322 (https://github.com/Sagit-chu/flvx/pull/322) 原本移除了三个功能
|
|||||||
- [x] 恢复 `config.tsx` 中的更新通道选择功能
|
- [x] 恢复 `config.tsx` 中的更新通道选择功能
|
||||||
- [x] 恢复 `use-dashboard-data.ts` 中的 `expiryReminderDismissed` 过滤逻辑
|
- [x] 恢复 `use-dashboard-data.ts` 中的 `expiryReminderDismissed` 过滤逻辑
|
||||||
- [x] 恢复 `batch-actions.ts` 中的 `BatchOperationFailure` 相关处理
|
- [x] 恢复 `batch-actions.ts` 中的 `BatchOperationFailure` 相关处理
|
||||||
|
- [x] 恢复 `forward.tsx` 中的 `BatchActionResultModal` 使用
|
||||||
- [x] 提交并推送修改
|
- [x] 提交并推送修改
|
||||||
|
|
||||||
## 修改的文件
|
## 修改的文件
|
||||||
@@ -32,8 +33,9 @@ PR #322 (https://github.com/Sagit-chu/flvx/pull/322) 原本移除了三个功能
|
|||||||
- `vite-frontend/src/pages/config.tsx` - 添加更新通道选择功能
|
- `vite-frontend/src/pages/config.tsx` - 添加更新通道选择功能
|
||||||
- `vite-frontend/src/pages/dashboard/use-dashboard-data.ts` - 恢复 `expiryReminderDismissed` 过滤逻辑
|
- `vite-frontend/src/pages/dashboard/use-dashboard-data.ts` - 恢复 `expiryReminderDismissed` 过滤逻辑
|
||||||
- `vite-frontend/src/pages/forward/batch-actions.ts` - 恢复批量操作失败处理
|
- `vite-frontend/src/pages/forward/batch-actions.ts` - 恢复批量操作失败处理
|
||||||
|
- `vite-frontend/src/pages/forward.tsx` - 恢复 `BatchActionResultModal` 组件使用
|
||||||
|
|
||||||
## 注意事项
|
## 注意事项
|
||||||
|
|
||||||
- `version-footer.tsx` 保持简化版本显示(不恢复)
|
- `version-footer.tsx` 保持简化版本显示(不恢复)
|
||||||
- `batch-action-result-modal.tsx` 未被 PR 修改,无需恢复
|
- `batch-action-result-modal.tsx` 组件文件未被 PR 删除,无需恢复(只需恢复 forward.tsx 中的使用)
|
||||||
+577
-176
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user