|
|
@ -73,7 +73,8 @@ const renderedText = computedAsync(async () => { |
|
|
|
|
|
|
|
|
|
|
|
const { $e } = useNuxtApp() |
|
|
|
const { $e } = useNuxtApp() |
|
|
|
|
|
|
|
|
|
|
|
const expand = () => { |
|
|
|
const expand = (e) => { |
|
|
|
|
|
|
|
e.stopPropagation() |
|
|
|
truncate.value = false |
|
|
|
truncate.value = false |
|
|
|
$e('c:nocodb:feed:changelog:expand', { |
|
|
|
$e('c:nocodb:feed:changelog:expand', { |
|
|
|
title: Title, |
|
|
|
title: Title, |
|
|
@ -82,7 +83,7 @@ const expand = () => { |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="relative rounded-xl flex flex-col mt-6.25 bg-white changelog-card"> |
|
|
|
<div class="relative rounded-xl flex cursor-pointer flex-col mt-6.25 bg-white changelog-card" @click="openLink(item.Url)"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
class="w-full relative border border-black h-[334px] xl:h-[394px] w-[540px] xl:w-[638px] border-opacity-10 rounded-t-xl overflow-hidden" |
|
|
|
class="w-full relative border border-black h-[334px] xl:h-[394px] w-[540px] xl:w-[638px] border-opacity-10 rounded-t-xl overflow-hidden" |
|
|
|
> |
|
|
|
> |
|
|
@ -93,15 +94,10 @@ const expand = () => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex my-4 px-4 items-center justify-between"> |
|
|
|
<div class="flex my-4 px-4 items-center justify-between"> |
|
|
|
<div class="flex items-center"> |
|
|
|
<div class="flex items-center"> |
|
|
|
<NcBadge |
|
|
|
<NcBadge :border="false" color="brand" class="font-semibold text-[13px] mr-3 nc-title-badge cursor-pointer"> |
|
|
|
:border="false" |
|
|
|
|
|
|
|
color="brand" |
|
|
|
|
|
|
|
class="font-semibold text-[13px] mr-3 nc-title-badge cursor-pointer" |
|
|
|
|
|
|
|
@click="openLink(item.Url)" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{{ Title }} |
|
|
|
{{ Title }} |
|
|
|
</NcBadge> |
|
|
|
</NcBadge> |
|
|
|
<a |
|
|
|
<span |
|
|
|
v-for="tag in tags" |
|
|
|
v-for="tag in tags" |
|
|
|
:key="tag.text" |
|
|
|
:key="tag.text" |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
@ -109,7 +105,6 @@ const expand = () => { |
|
|
|
'bg-purple-50': tag.color === 'purple', |
|
|
|
'bg-purple-50': tag.color === 'purple', |
|
|
|
'bg-green-50': tag.color === 'green', |
|
|
|
'bg-green-50': tag.color === 'green', |
|
|
|
}" |
|
|
|
}" |
|
|
|
:href="tag.href" |
|
|
|
|
|
|
|
class="mr-3 flex gap-2 items-center px-1 rounded-md" |
|
|
|
class="mr-3 flex gap-2 items-center px-1 rounded-md" |
|
|
|
> |
|
|
|
> |
|
|
|
<component |
|
|
|
<component |
|
|
@ -131,7 +126,7 @@ const expand = () => { |
|
|
|
> |
|
|
|
> |
|
|
|
{{ tag.text }} |
|
|
|
{{ tag.text }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span class="font-medium text-sm text-gray-500"> |
|
|
|
<span class="font-medium text-sm text-gray-500"> |
|
|
|
{{ dayjs(CreatedAt).format('MMM DD, YYYY') }} |
|
|
|
{{ dayjs(CreatedAt).format('MMM DD, YYYY') }} |
|
|
@ -175,7 +170,7 @@ a { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
h2 { |
|
|
|
h2 { |
|
|
|
@apply text-nc-content-gray-emphasis text-xl leading-6 mb-0; |
|
|
|
@apply text-nc-content-gray-emphasis text-xl leading-6 !my-4; |
|
|
|
} |
|
|
|
} |
|
|
|
p { |
|
|
|
p { |
|
|
|
@apply text-nc-content-gray-emphasis leading-6; |
|
|
|
@apply text-nc-content-gray-emphasis leading-6; |
|
|
@ -190,5 +185,9 @@ a { |
|
|
|
h3 { |
|
|
|
h3 { |
|
|
|
@apply text-nc-content-gray-emphasis text-lg leading-6 mb-0; |
|
|
|
@apply text-nc-content-gray-emphasis text-lg leading-6 mb-0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
@apply !my-4; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|