Add Tier 2 remaining features: publishing pipeline, broadcasts, audit log, drip trigger, today banner; v1.1.25
- CalendarPage: productionStatus field on episodes (idea→recorded→edited→scheduled→published), color dot on chips, dropdown in edit popover; "publishing today" banner with draft announcement button - EmailPage: Broadcasts drawer (plain-text → Resend Broadcasts API); Audit Log drawer showing activity history; em-status-msg--ok style - ContactsPage: ▶ Drip button in edit mode syncs contact to Resend audience and triggers drip automation - server: appendAuditEntry() logged on reply-sent, email-sent, submission-deleted, contacts-merged, contacts-imported, broadcast-sent, drip-triggered; GET /api/admin-audit-log; POST /api/admin-broadcasts/send; POST /api/admin-contacts/trigger-drip; AUDIT_LOG_FILE persisted to data/audit-log.json Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+90
@@ -10730,6 +10730,90 @@
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
/* Production status dot on episode chips */
|
||||
.cal-prod-status-dot {
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
flex-shrink: 0;
|
||||
height: 6px;
|
||||
margin-left: 2px;
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
/* Publishing today banner */
|
||||
.cal-publish-banner {
|
||||
align-items: center;
|
||||
background: #131f13;
|
||||
border-bottom: 1px solid #1e3a1e;
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.6rem;
|
||||
padding: 0.6rem 1.25rem;
|
||||
}
|
||||
|
||||
.cal-publish-banner-icon { font-size: 1.1rem; }
|
||||
|
||||
.cal-publish-banner-text {
|
||||
color: #4ade80;
|
||||
flex: 1;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 500;
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
/* Broadcast form */
|
||||
.em-broadcast-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.em-broadcast-body { min-height: 200px; resize: vertical; }
|
||||
|
||||
/* Audit log */
|
||||
.em-audit-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.em-audit-item {
|
||||
align-items: baseline;
|
||||
background: #141414;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.em-audit-action {
|
||||
background: #2a2a2a;
|
||||
border-radius: 10px;
|
||||
color: #c0b8a8;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
padding: 0.1rem 0.5rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.em-audit-details {
|
||||
color: #9a9088;
|
||||
flex: 1;
|
||||
font-size: 0.8rem;
|
||||
min-width: 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.em-audit-date {
|
||||
color: #6b6560;
|
||||
font-size: 0.72rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.em-status-msg--ok { color: #4ade80; }
|
||||
|
||||
/* Delivery status pills (email page) */
|
||||
.em-delivery-pill {
|
||||
border-radius: 10px;
|
||||
@@ -10745,6 +10829,12 @@
|
||||
.em-delivery-pill--sent { background: #1a1a1a; color: #6b6560; }
|
||||
.em-delivery-pill--bounced { background: #2e1a1a; color: #f87171; }
|
||||
|
||||
.ct-drip-msg {
|
||||
color: #60a5fa;
|
||||
font-size: 0.78rem;
|
||||
margin: 0.25rem 0 0;
|
||||
}
|
||||
|
||||
/* Flash message */
|
||||
.ct-flash {
|
||||
background: #1a2a1a;
|
||||
|
||||
Reference in New Issue
Block a user