Repository navigation
Podcast doc: two-tab Guest intake / Internal Team & Host UX & server-side isolation - #492
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Hub intake
c0008987(Alexeyt2749u,t3824u,t3825u): restores the original Google Doc two-tab layout on/podcast-docs/sdoc-*, enforces strict server-side isolation so guests never see or receive internal material, and collapses already-confirmed recording times into a compact one-line bar with aChangetoggle.Changes
backend/src/sponsorDocs/templates.ts,backend/src/routes/sponsorDocs.ts):tab: 'guest', 6 sections): Recording Time, About You (bio + photo preview), Topics, Links & Preparation Materials, optional Episode Story, optional Notes. Preserves every existing DynamoDB content key.tab: 'internal', internal: true, 3 un-buried sections):1) Run Sheet & Interview Questions(coldOpen,introScript,interviewQuestions,closingScript),2) Event Description & Episode Plan(goal,audience,keyMessages),3) Guest Research & Host Notes(sourceLinks,keyInsights,openQuestions,hostNotes).speakerContentViewto an explicit non-internal field allowlist; strippedemailDeliveryandhostContextfrom guest payloads; preserved guestPUTwrite isolation (includeInternal: false).hostContext(cardId,sponsored,qna) to podcast staff doc payloads.frontend/src/surfaces/operations/sponsor-doc-podcast.js,sponsor-docs.js,sponsor-doc-guest-schedule.js,sponsor-docs.css):.dk-tabs(Guest intake|Internal · Team & Host), withHost view (Questions)(Guest Snapshot with portrait/bio/links, proportional Run Sheet & Questions, highlightedTopics to Avoidcallout, and one-click Live Audience Q&A loader) andEdit prep & research, plus collapsible Markdown export.View questionsbutton, zero raw Markdown dump, zero"sponsor"wording, and?tab=/?view=query params ignored & stripped.t3824u/t3825u) — Compact Recording Time: WheneventMetadata.state === "confirmed",1) Recording Timecollapses to one compact line (Confirmedbadge + Berlin schedule + conditional local time) with aChangebutton; slot radios, compact timezone row, andSave time choicestay hidden untilChangeis clicked (Cancelor saving collapses back). Alternative slots use a tighter 2-column desktop layout (<= 640pxsingle-column).390px) responsive layout with zero horizontal overflow.422adcbe/57e5de7c): one doc per card,?code=in calendar invite, staffView questionsmode (?view=questions), one-click live Q&A preview, photo preview, sponsored flag.Verification
npm run test:frontend:coverage: 1008 pass / 0 fail (5 existing skips in unrelated suite); dakit vendor/borders/colors/scale all PASS; 81.69% coverage.npm run typecheck:backend&npm run build:backend: clean + frontend artifact verified.npm run test:backend: 2491 pass / 0 fail (1 existing skip);npm run test:cli: 629 pass / 0 fail;npm run test:mcp: 20 pass / 0 fail.podcast-guest-form.spec.js,podcast-page.spec.js,webinar-speaker-materials.spec.js,sponsor-newsletters.spec.js): 14/14 pass (plus 49/49 earlier across full related suite).