관리자 추천 티어표 카드 표시 누락분 반영
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# 업데이트 로그
|
# 업데이트 로그
|
||||||
|
|
||||||
|
## 2026-04-03 v1.4.52
|
||||||
|
- 관리자 전체 티어표 카드 컴포넌트의 `추천 지정 / 추천 해제` 버튼과 `추천 노출중` 배지, 추천 개수 통계 표시가 실제 릴리스 커밋에 함께 포함되도록 누락 파일을 다시 묶었다.
|
||||||
|
|
||||||
## 2026-04-03 v1.4.51
|
## 2026-04-03 v1.4.51
|
||||||
- 주제별 공개 티어표 목록을 `추천 티어표`와 `전체 공개 티어표`로 분리해, 관리자가 추천 지정한 글은 상단 강조 섹션에 먼저 보여주고 아래 일반 목록에서는 중복 노출되지 않도록 정리했다.
|
- 주제별 공개 티어표 목록을 `추천 티어표`와 `전체 공개 티어표`로 분리해, 관리자가 추천 지정한 글은 상단 강조 섹션에 먼저 보여주고 아래 일반 목록에서는 중복 노출되지 않도록 정리했다.
|
||||||
- 관리자 `전체 티어표 관리` 카드에 `추천 지정 / 추천 해제` 버튼과 `추천 노출중` 배지를 추가하고, 상단 통계에도 추천 개수를 함께 표시하도록 보강했다.
|
- 관리자 `전체 티어표 관리` 카드에 `추천 지정 / 추천 해제` 버튼과 `추천 노출중` 배지를 추가하고, 상단 통계에도 추천 개수를 함께 표시하도록 보강했다.
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ const props = defineProps({
|
|||||||
adminTierListTotal: { type: Number, required: true },
|
adminTierListTotal: { type: Number, required: true },
|
||||||
adminTierListStats: { type: Object, required: true },
|
adminTierListStats: { type: Object, required: true },
|
||||||
openAdminTierListManageModal: { type: Function, required: true },
|
openAdminTierListManageModal: { type: Function, required: true },
|
||||||
|
toggleAdminTierListFeatured: { type: Function, required: true },
|
||||||
moveAdminTierListPage: { type: Function, required: true },
|
moveAdminTierListPage: { type: Function, required: true },
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
@@ -128,6 +129,7 @@ const props = defineProps({
|
|||||||
<div class="panel__title">전체 티어표 관리</div>
|
<div class="panel__title">전체 티어표 관리</div>
|
||||||
<div class="tierAdminHeaderStats">
|
<div class="tierAdminHeaderStats">
|
||||||
<span class="pill">전체 {{ props.adminTierListStats.total || 0 }}개</span>
|
<span class="pill">전체 {{ props.adminTierListStats.total || 0 }}개</span>
|
||||||
|
<span class="pill pill--accent">추천 {{ props.adminTierListStats.featuredCount || 0 }}개</span>
|
||||||
<span class="pill pill--soft">공개 {{ props.adminTierListStats.publicCount || 0 }}개</span>
|
<span class="pill pill--soft">공개 {{ props.adminTierListStats.publicCount || 0 }}개</span>
|
||||||
<span class="pill pill--soft">비공개 {{ props.adminTierListStats.privateCount || 0 }}개</span>
|
<span class="pill pill--soft">비공개 {{ props.adminTierListStats.privateCount || 0 }}개</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -156,6 +158,7 @@ const props = defineProps({
|
|||||||
|
|
||||||
<div class="tierAdminCard__stats">
|
<div class="tierAdminCard__stats">
|
||||||
<span class="pill" :class="tierList.isPublic ? 'pill--public' : 'pill--private'">{{ props.tierListVisibilityLabel(tierList) }}</span>
|
<span class="pill" :class="tierList.isPublic ? 'pill--public' : 'pill--private'">{{ props.tierListVisibilityLabel(tierList) }}</span>
|
||||||
|
<span v-if="tierList.isFeatured" class="pill pill--accent">추천 노출중</span>
|
||||||
<span class="pill">전체 아이템 {{ tierList.itemCount }}개</span>
|
<span class="pill">전체 아이템 {{ tierList.itemCount }}개</span>
|
||||||
<span class="pill" :class="{ 'pill--accent': tierList.extraItemCount > 0 }">추가 아이템 {{ tierList.extraItemCount }}개</span>
|
<span class="pill" :class="{ 'pill--accent': tierList.extraItemCount > 0 }">추가 아이템 {{ tierList.extraItemCount }}개</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -177,6 +180,14 @@ const props = defineProps({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tierAdminSection__actions">
|
<div class="tierAdminSection__actions">
|
||||||
|
<button
|
||||||
|
class="btn btn--small"
|
||||||
|
:class="tierList.isFeatured ? 'btn--ghost' : 'btn--primary'"
|
||||||
|
:disabled="!tierList.isPublic && !tierList.isFeatured"
|
||||||
|
@click="props.toggleAdminTierListFeatured(tierList)"
|
||||||
|
>
|
||||||
|
{{ tierList.isFeatured ? '추천 해제' : '추천 지정' }}
|
||||||
|
</button>
|
||||||
<button class="btn btn--ghost btn--small" @click="props.openAdminTierListManageModal(tierList)">관리</button>
|
<button class="btn btn--ghost btn--small" @click="props.openAdminTierListManageModal(tierList)">관리</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user