feat: test case detail dialog
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
|||||||
} from '@nextui-org/react';
|
} from '@nextui-org/react';
|
||||||
import {
|
import {
|
||||||
ChevronDown,
|
ChevronDown,
|
||||||
|
MoveDiagonal,
|
||||||
MoreVertical,
|
MoreVertical,
|
||||||
CopyPlus,
|
CopyPlus,
|
||||||
CopyMinus,
|
CopyMinus,
|
||||||
@@ -25,7 +26,6 @@ import {
|
|||||||
CircleX,
|
CircleX,
|
||||||
CircleSlash2,
|
CircleSlash2,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { NextUiLinkClasses } from '@/src/navigation';
|
|
||||||
import { testRunCaseStatus } from '@/config/selection';
|
import { testRunCaseStatus } from '@/config/selection';
|
||||||
import { CaseType } from '@/types/case';
|
import { CaseType } from '@/types/case';
|
||||||
import { RunMessages } from '@/types/run';
|
import { RunMessages } from '@/types/run';
|
||||||
@@ -140,10 +140,11 @@ export default function TestCaseSelector({
|
|||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="light"
|
variant="light"
|
||||||
className="data-[hover=true]:bg-transparent"
|
className="group"
|
||||||
|
endContent={<MoveDiagonal size={12} className="text-transparent group-hover:text-inherit" />}
|
||||||
onPress={() => showTestCaseDetailDialog(testCase.id)}
|
onPress={() => showTestCaseDetailDialog(testCase.id)}
|
||||||
>
|
>
|
||||||
<span className={NextUiLinkClasses}>{cellValue}</span>
|
{cellValue}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
case 'priority':
|
case 'priority':
|
||||||
|
|||||||
Reference in New Issue
Block a user