feat: 바텀시트 '관심있어요' 버튼 분리 — interested 상태 DB 저장 + 어드민 표시
- "관심있어요!" 클릭 → status='interested' (기존: dismissed와 동일했음) - "다음에요" / 드래그 닫기 → status='dismissed' - dismiss API에 action 파라미터 추가 - AI CRM 대시보드: interested 배지(주황) + 통계 카드 반영 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -147,6 +147,7 @@
|
||||
letter-spacing: -0.2px;
|
||||
}
|
||||
.badge-active { background: #dcfce7; color: #16a34a; }
|
||||
.badge-interested { background: #fef3c7; color: #d97706; }
|
||||
.badge-dismissed { background: #f1f5f9; color: #64748b; }
|
||||
.badge-expired { background: #fee2e2; color: #dc2626; }
|
||||
.badge-trigger {
|
||||
@@ -275,8 +276,8 @@
|
||||
<div class="stat-value green">{{ stats.active_count or 0 }}</div>
|
||||
</div>
|
||||
<div class="stat-card">
|
||||
<div class="stat-label">고객 반응 (닫기)</div>
|
||||
<div class="stat-value orange">{{ stats.dismissed_count or 0 }}</div>
|
||||
<div class="stat-label">관심있어요</div>
|
||||
<div class="stat-value orange">{{ stats.interested_count or 0 }}</div>
|
||||
</div>
|
||||
<div class="stat-card">
|
||||
<div class="stat-label">오늘 생성</div>
|
||||
@@ -332,7 +333,9 @@
|
||||
<div class="msg-ellipsis" title="{{ rec.recommendation_message }}">{{ rec.recommendation_message }}</div>
|
||||
</td>
|
||||
<td>
|
||||
{% if rec.status == 'active' and (not rec.expires_at or rec.expires_at > now) %}
|
||||
{% if rec.status == 'interested' %}
|
||||
<span class="badge badge-interested">관심있어요</span>
|
||||
{% elif rec.status == 'active' and (not rec.expires_at or rec.expires_at > now) %}
|
||||
<span class="badge badge-active">Active</span>
|
||||
{% elif rec.status == 'dismissed' %}
|
||||
<span class="badge badge-dismissed">Dismissed</span>
|
||||
|
||||
Reference in New Issue
Block a user