Remove .DS_Store from version control and update .gitignore. Enhance BatchCaseDetailDrawer and BatchRunCompletedView components to support error handling and improved UI for displaying test case statuses. Add functionality for editing and rerunning test cases. Update TestCasesPage to handle initial case selection. Refactor related components for better maintainability.
This commit is contained in:
@@ -156,12 +156,15 @@ function ModeMenuItem({
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
onClick={onSelect}
|
||||
disabled={!available}
|
||||
aria-disabled={!available}
|
||||
title={available ? undefined : `${title}模式即将支持`}
|
||||
onClick={available ? onSelect : undefined}
|
||||
className={cn(
|
||||
"flex w-full items-start gap-2.5 rounded-lg px-2.5 py-2 text-left transition-colors",
|
||||
available
|
||||
? "hover:bg-surface-strong"
|
||||
: "opacity-70 hover:bg-surface-strong/60",
|
||||
: "cursor-not-allowed opacity-55",
|
||||
selected && "bg-surface-strong/80",
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user