-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
44 additions
and
316 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
core/client/src/entities/board/ui/__tests__/BoardPreviewCard.spec.ts
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
core/client/src/entities/board/ui/__tests__/__snapshots__/BoardPreviewCard.spec.ts.snap
This file was deleted.
Oops, something went wrong.
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
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: 6 additions & 6 deletions
12
core/client/src/entities/template/ui/__tests__/__snapshots__/TemplateItem.spec.ts.snap
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,13 +1,13 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`tests for TemplateItem.vue > should render correctly 1`] = ` | ||
"<div class="item"> | ||
<div class="main_content"> | ||
<ui-badge-stub variant="outline" style="margin-bottom: 12px;"></ui-badge-stub> | ||
<div class="text"> | ||
<p class="text-sm">Base Kanban</p><span class="text-xs">Create a basic project with "Base Kanban" template</span> | ||
"<div class="relative flex flex-col justify-between items-start h-fit w-100% border border-solid border-neutral-200 rounded-lg cursor-pointer dark:bg-neutral-700/40 dark:border-neutral-600"> | ||
<div class="py-2 px-3"> | ||
<ui-badge-stub variant="outline" class="mb-3 !bg-blue-100 text-blue-500 !dark:bg-blue-800 !dark:text-blue-100 !dark:border-blue-800"></ui-badge-stub> | ||
<div class="flex flex-col gap-1.5 mb-3"> | ||
<p class="text-sm">Base Kanban</p><span class="text-xs text-neutral-500 overflow-hidden text-ellipsis line-clamp-2 break-words dark:text-neutral-400">Create a basic project with "Base Kanban" template</span> | ||
</div> | ||
<div class="bottom"><span class="text-xs">June 12, 2024</span><img src="https://avatars.githubusercontent.com/u/121057011?v=4"></div> | ||
<div class="flex items-center w-full justify-between"><span class="text-xs text-neutral-600 dark:text-neutral-300">June 12, 2024</span><img src="https://avatars.githubusercontent.com/u/121057011?v=4" class="w-5 h-5 rounded-full"></div> | ||
</div> | ||
</div>" | ||
`; |
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,21 +1,8 @@ | ||
<template> | ||
<div class="text-sm" :class="[$style.avatar]"> | ||
<div | ||
class="flex items-center justify-center h-30px w-30px select-none overflow-hidden text-sm | ||
bg-neutral-100 text-neutral-950 rounded-full" | ||
> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<style module lang="scss"> | ||
.avatar { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 30px; | ||
width: 30px; | ||
user-select: none; | ||
overflow: hidden; | ||
background-color: var(--zinc-100); | ||
color: var(--zinc-950); | ||
border-radius: 50%; | ||
cursor: pointer; | ||
} | ||
</style> |
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
Oops, something went wrong.