-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): insert message "no tests found" in ui (#7366)
- Loading branch information
1 parent
191ef9e
commit 92da490
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
packages/ui/client/components/dashboard/TestsFilesContainer.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
<script setup lang="ts"> | ||
import { finished } from '~/composables/client/state' | ||
import { explorerTree } from '~/composables/explorer' | ||
</script> | ||
|
||
<template> | ||
<div gap-0 flex="~ col gap-4" h-full justify-center items-center> | ||
<!-- <div bg-header rounded-lg p="y4 x2"> --> | ||
<template v-if="explorerTree.summary.files === 0 && finished"> | ||
<div class="text-gray-5"> | ||
No tests found | ||
</div> | ||
</template> | ||
<section aria-labelledby="tests" m="y-4 x-2"> | ||
<TestsEntry /> | ||
</section> | ||
<TestFilesEntry /> | ||
<!-- </div> --> | ||
</div> | ||
</template> |