Add release date and episode # columns to admin lesson list with inline date editing; use local time for release dates; v2.8.2
Publish Container / build (push) Successful in 18m28s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-07 14:46:25 -04:00
1 parent 0ff0b32b97
commit b1695b2b59
6 files changed
+58 -8

No files matched your search

+1
View File
@@ -268,6 +268,7 @@ function sanitizeColossiansStudySections(value) {
chapter: Number.isInteger(item.chapter) && item.chapter >= 1 && item.chapter <= 999 ? item.chapter : 1,
reference: typeof item.reference === 'string' ? item.reference.trim().slice(0, 40) : '',
title: typeof item.title === 'string' ? item.title.trim().slice(0, 160) : '',
episodeNumber: typeof item.episodeNumber === 'string' || typeof item.episodeNumber === 'number' ? String(item.episodeNumber).trim().slice(0, 20) : '',
audioEmbedUrl: sanitizeUrl(item.audioEmbedUrl),
passageText: typeof item.passageText === 'string' ? item.passageText.trim().slice(0, 12000) : '',
summary: typeof item.summary === 'string' ? item.summary.trim().slice(0, 600) : '',
+4 -2
View File
@@ -312,9 +312,11 @@ export function isSectionReleased(section) {
export function redactUnreleasedSection(section) {
if (!section || typeof section !== 'object') return section
if (isSectionReleased(section)) return section
// episodeNumber is an admin-only reference and is never sent to the public site
const { episodeNumber: _episodeNumber, ...publicSection } = section
if (isSectionReleased(section)) return publicSection
return {
...section,
...publicSection,
passageText: '',
commentary: '',
greekNotes: [],