Add Tier 2 email features: AI draft, Calendar→Email announce, delivery status, engagement badges; v1.1.24
- EmailPage: useLocation to accept pre-filled compose from Calendar; delivery status pill on sent bubbles; AI Draft button calling ANTHROPIC_API_KEY endpoint - CalendarPage: useNavigate + announceEpisode(); ✉ Announce button in episode edit popover - ContactsPage: emailStatus types; unreplied badge; best delivery status pill; engagement score stars - server/routes/contact.js: POST /api/admin-contact-submissions/:id/draft-reply → Anthropic claude-haiku-4-5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+39
@@ -10706,6 +10706,45 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Delivery status pills (contacts page) */
|
||||
.ct-delivery-pill {
|
||||
border-radius: 10px;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 500;
|
||||
padding: 0.15rem 0.5rem;
|
||||
}
|
||||
|
||||
.ct-delivery-pill--clicked { background: #1a2e1a; color: #4ade80; }
|
||||
.ct-delivery-pill--opened { background: #1a2535; color: #60a5fa; }
|
||||
.ct-delivery-pill--delivered { background: #1e1e1e; color: #a0a0a0; }
|
||||
.ct-delivery-pill--sent { background: #1a1a1a; color: #6b6560; }
|
||||
|
||||
.ct-badge--unreplied {
|
||||
background: #3d1a0a;
|
||||
color: #fb923c;
|
||||
}
|
||||
|
||||
.ct-engage-badge {
|
||||
color: #f59e0b;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
/* Delivery status pills (email page) */
|
||||
.em-delivery-pill {
|
||||
border-radius: 10px;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 500;
|
||||
padding: 0.15rem 0.5rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.em-delivery-pill--clicked { background: #1a2e1a; color: #4ade80; }
|
||||
.em-delivery-pill--opened { background: #1a2535; color: #60a5fa; }
|
||||
.em-delivery-pill--delivered { background: #1e1e1e; color: #a0a0a0; }
|
||||
.em-delivery-pill--sent { background: #1a1a1a; color: #6b6560; }
|
||||
.em-delivery-pill--bounced { background: #2e1a1a; color: #f87171; }
|
||||
|
||||
/* Flash message */
|
||||
.ct-flash {
|
||||
background: #1a2a1a;
|
||||
|
||||
Reference in New Issue
Block a user