Social Streams and Content Review
A social stream collects attendee posts and media for a project. Its configuration controls submission/display behavior, approval, watermarking and optional AI review. A post's uploaded file, processed media, moderation assessment and display visibility are separate states.
Prepare the stream
Use a project admin with the stream/post actions required for the task. Confirm the Social Streams feature and the intended attendee app are available. Create test attendees in allowed and excluded groups before inviting people to submit content.
Open Services → Social Streams where the current project's navigation exposes it. Create a named stream and choose the supported Stream Type and display configuration. Review validation rules, approval behavior, watermark settings and assets. Use a project asset for the watermark where offered; the older uploaded watermark filename is a compatibility fallback.
Bind the portal app or display app to this exact stream. Declare only its required read, submission and update actions, including the post fields and author data it legitimately needs. Access to stream metadata does not automatically authorize all post/profile fields. Test the installed app through its real portal page and principal context.
Use Apps, Portals and Widgets for installation/binding, Permissions and Dependencies for model/field scope, and Real-time Events for runtime subscriptions.
Decide what becomes visible
In Content Review, inspect Require Approval and the stream's automatic-approval behavior before opening submissions. Submit a controlled post and verify its actual visible/hidden state in both the review list and the attendee-facing display.
Manual controls include showing/hiding selected posts, deleting selected posts and hiding all posts. Hiding preserves content for review; deletion removes the selected record. Check whether a bulk operation targets selected rows or the offered wider population before confirming it.
For a controlled workflow, start with required approval and review representative posts before showing them. Verify a hidden post is excluded from the intended attendee/display query rather than merely absent from a local list.
Configure AI review
The Moderation Controls tab is feature-dependent. Enable AI Content Review requests AI analysis; automatic hiding is a separate setting. Selecting review alone does not promise that flagged content will be hidden.
Choose the offered prompts/configuration for image, caption, poster name and transcription review. Check the target environment's configured provider and processing availability. A video/audio transcription is expected only when the relevant content and transcription configuration apply.
The review surface distinguishes:
| State | Interpretation |
|---|---|
| Pending | Review/processing has not produced a completed verdict |
| Approved | A completed assessment or applicable human decision approves the content |
| Flagged | The review identified content needing attention; inspect its notes and severity |
| Failed | Review could not complete successfully; inspect the processing failure |
Open post details for AI Moderation Notes, AI Assessment, severity and image/caption/poster/transcript notes. A human reviewer can change display approval through the supported controls. The record can retain the original assessment and reviewer override; that preserves the distinction between model output and a human decision.
Do not treat failed review as approval. Verify actual visibility for approved, flagged, pending and failed states with the selected automatic-approval/automatic-hide settings. A configured AI flag is not proof that the provider completed the request.
Test posts and media
Use Content Review → New Post for a controlled admin submission, or submit through the bound attendee app. The admin form offers Posted By, Caption, Upload and approval controls; an app must use its own authorized submission contract.
For each supported media type:
- Upload a representative allowed file and inspect the resulting post record.
- Wait for relevant thumbnail/transcode/transcription work to finish.
- Inspect the post's details and the processed playback/image variant.
- Verify the watermark and transcript when configured.
- Confirm visibility in the intended attendee/display app.
The upload acknowledgment is not completion of downstream processing. Video details can expose HD/SD playback, transcription and a Download VTT File control when results exist. Test an unsupported/oversized file and processing failure to confirm the app provides a useful error state.
Use the supported runtime event helpers to refresh new/updated posts and clean up subscriptions when the app unmounts. Socket access, stream binding, record visibility and readable fields all need to agree. Test an excluded attendee and a page bound to a different stream.
Interpret post lifecycle notifications
The dependency configuration advertises the following additional event names. Each reviewed class declares its short alias explicitly and broadcasts on portal.SocialStream.{streamId}. The bundled Events reference includes the created/updated and four projected lifecycle contracts below with retained synthetic examples. The tagged-attendee event remains outside that selected catalog. Actual serialization, delivery and audience acceptance remain pending.
| Event | Payload and intended interpretation |
|---|---|
SocialStreamPostApproved | Selected post identity/timestamps, author, caption, approval and media URLs; a stream summary; attendee ID and send_notifications. Approval is a display-state signal, not a provider-delivery receipt. |
SocialStreamPostDeleted | Selected post identity/timestamps and stream/author IDs, plus attendee ID and send_notifications. Remove or reconcile the display item; this does not certify media/provider cleanup. |
SocialStreamPostUploadCompleted | Selected post identity/timestamps, stream/author IDs, approval and upload_status; stream/project IDs; attendee ID and send_notifications. It does not carry the full media projection. |
SocialStreamPostVariantCompleted | Selected identity/timestamps, author, caption, approval and media URLs, plus attendee ID. It omits the stream summary and send_notifications field present in some other events. |
AttendeeTaggedToSocialStreamPost | Its attendee ID identifies the tagged attendee, which can differ from the post's author. The class has no explicit broadcastWith projection and retains public post/stream models, notification flag and inherited idempotency key. Do not assume a small identifier-only or redacted payload. |
The observer emits approval for an initially approved post and when an updated post enters approval. The reviewed update branch also dispatches tagged-attendee events for the resolved tagged IDs. Model deletion maps to the deleted event. Upload/variant event classes are selected by media hooks; these declarations do not establish that every processing stage or external copy completed. None of these event classes filters its broadcast with a broadcastWhen approval check. An upload or variant event can therefore carry an unapproved state; a client must still apply the authorized visibility contract.
The send_notifications payload flag is not evidence that a notification was sent. In particular, the upload-completed class copies the model flag into its payload while its shouldSendNotifications() method returns true; the variant class also returns true but omits that payload flag. Do not use absence or falsity of the field as a universal workflow suppression rule. Custom workflow idempotency keys on approved/tagged events are not exactly-once socket delivery guarantees.
The selected stream-channel callback returns true under sanctum, web or admin guards without comparing the requested stream or project inside the callback. Private-channel naming and configured field permissions alone do not prove socket audience isolation. Before showing captions, media URLs or attendee identifiers, verify allowed and foreign-stream subscriptions and actual payload serialization in an authorized environment. Use host-managed subscription cleanup and reload authorized posts after reconnect; a missed deletion or repeated approval notification must not corrupt the displayed list.
Export and synchronize
The review screen offers Export Data Only, Export All, Export Approved and Export Selected. Select the intended population explicitly and inspect the completed export. A data export and a media export need not produce the same file types.
For ongoing Drive synchronization, open the stream's Integrations tab and choose Connect Google Drive. Sign in to the intended Google account in the authorization popup, review the requested access, then select/configure the destination folder and synchronization options. The signed-in platform admin who completes the connection is recorded as its connected owner; a colleague viewing the stream does not become that owner. Use the integration row's configure/reconnect actions to update folder/settings or repair an expired connection. A persistent folder cannot be configured twice for the same stream's ongoing integrations. Choose Approved Posts Only versus All Incoming Posts deliberately.
For a one-time export, Export to Drive uses an authorized integration and a destination folder; its Connect & Select Folder control provides the temporary connection/folder flow. Integration settings include status, sync trigger, sync-until time, connected owner, last sync and errors. Check the chosen folder and provider identity before enabling ongoing synchronization.
Sync Missing Posts is available for eligible integrations and is owner-controlled in the current controller. It handles missing/previously failed synchronization according to the supported destination state; repeated clicking is not a substitute for inspecting the recorded error and run status. A successful platform queue request does not prove the file reached the destination folder.
Use supported notification schedules or workflows for actions driven by post events. Scope stream-specific triggers to the intended stream; an unrelated stream's post should not trigger the action.
Acceptance and troubleshooting
Test a valid post, missing optional caption/author data, hidden/approved content, flagged/failed review, processed video, a denied file, and a viewer outside the permitted audience. Compare dashboard state with the actual display, then verify a controlled export/sync destination.
| Symptom | Check |
|---|---|
| App shows no posts | Installed stream binding, actual data, approval visibility, page access and dependency scope |
| AI assessment missing | Review feature/settings, selected prompts, content type and provider processing status |
| Flagged content remains visible | Automatic-hide setting versus analysis-only review and any reviewer override |
| Video appears uploaded but will not play | Media-processing state, generated variant, storage/rendering access and browser error |
| Display and dashboard disagree | Visibility filters, principal, post fields, latest server state and subscription refresh |
| Wrong posts exported | Selected/all/approved filter and the actual submitted population |
| Drive files missing | Integration owner/status, destination folder, sync-until time and last error |
| Post event causes unrelated notifications | Trigger stream and conditions, separate recipient scope and active workflow version |
Restricted global social-post administration
System Social Stream Posts at /system/social-stream-posts spans posts across projects. It inherits system-host super-admin, two-factor, authenticated/verified account, team-context and password-confirmation gates; index/update/delete also check super-admin status. The controller does not add a project filter or independent resource policy. Deployed ordinary-account and exact-record refusal still need acceptance. Project stream/post permissions alone do not grant this global interface.
Find the post and owning stream
Use Team, Experience, Poster, Caption, Image and Created At to locate the record, then retain its exact post/stream/project identity. Poster can append a stored attendee ID; that display is not a fresh identity or membership check. Search matches caption, stored poster name, project name and team name, not every media/metadata field or attendee profile value. The controller defaults to Created descending/ten rows, while the page config requests Updated descending; inspect the actual returned sort/context rather than treating a row's position as evidence of a new post or completed review.
The global query uses left joins for stream/project/team context. Missing context and repeated names require owning-record reconciliation, not duplication. Pagination is not a complete history. The system routes expose index, update and destroy only; this page has no project creation or submission workflow.
Inspect media and approval controls
Expand a post to view available media variants and read-only metadata. Video display prefers available HD, then SD, then original URLs, with sprite/image rendering where configured. A thumbnail or uploaded path is not proof that processing finished, the full video plays or the attendee app can retrieve the file. Inspect actual media MIME/URL availability and controlled browser/device playback through the owning workflow before declaring it ready.
Poster and caption appear as display content; the offered mutating field is Is Approved, configured for inline autosave. Do not assume expansion is an editing sandbox or that a later Save button must be pressed before a toggle takes effect. Verify the saved response and reload the same post. Although the shared update request accepts additional fields for supported integrations, their validation does not invent an editor for those fields on this page.
Verify visibility and review evidence separately
The update request stamps approval actor/time when it receives a truthy approval value and clears those approval fields when unapproving. The observer can emit post-approved and tagged-attendee events when a post transitions into approval; the controller does not disable those workflows. An approval test can therefore have real downstream effects. Use controlled content and authorized review rather than toggling a customer post to diagnose the page.
Moderation reviewer annotation has a separate context requirement. This global handler does not supply that context, so a saved approval/actor is not proof that the latest moderation log contains a reviewer override. Nor does unapproval establish a symmetric moderation-review history. Verify actual post approval, intended app/display visibility, related log state and any required workflow/provider outcome independently. See AI moderation for accumulated/current-content and diagnostic limits.
Recover uncertain changes and retire posts
The page offers individual deletion with input confirmation; selection and Delete All are disabled. The controller calls the model's soft delete, and its observed deletion hook invalidates post-count caches. This does not prove uploaded media, downstream Drive copies, logs, issued URLs or external notifications were removed, or that a normal Restore control is available. Deletion is not a repair for missing media or pending moderation. Use private recovery/retirement procedures with the project/platform owner before any approved removal.
For a missing post, check search, paging, sort, exact IDs and deleted/related state. For an uncertain approval or delete response, reload the same record and reconcile persisted state, display subscriptions/caches and any already-triggered effects before retrying. Preserve prior approval, actor/time and intended result privately. Do not repeatedly approve/unapprove, recreate the post or change another project's content to refresh a display. Captions, media, attendee IDs and metadata are not public support artifacts; share minimum sanitized diagnostics through the intended owner. No private post, approval, deletion, delivery or provider mutation was performed for this review.
Implementation reference
Reviewed against app/Models/SocialStream.php, SocialStreamPost.php, ModerationLog.php, app/Http/Controllers/Admin/Project/SocialStreamController.php, SocialStreamPostController.php, SocialStreamIntegrationController.php, resources/js/Dashboard/Pages/Admin/Projects/SocialStreams/Show.vue, its socialStream composable and testing/Feature/Api/Ver1/SocialStreamPageTokenScopeTest.php at experience-portal commit 0cab696769c165d93328253378ad7e51ec7ab62e on 2026-10-13. See AI moderation architecture for contributor detail; provider acceptance must be checked in the target deployment.
The global social-post administration supplement was source-reviewed on 2026-10-15 at platform 3b48eb675f7c8e3c4f0b87d0cd613fa7fb371093; it does not add deployed inline-save, event, moderation-review, media cleanup or publication acceptance to prior project guidance.