Skip to content

UX: Use sentence case for video strings and fix the preview placeholder - #109

Merged
ZogStriP merged 1 commit into
dev-video-rendering-cleanupfrom
ux-video-strings-sentence-case
Oct 23, 2026
Merged

ZogStriP merged 1 commit into
dev-video-rendering-cleanupfrom
ux-video-strings-sentence-case

Conversation

@ZogStriP

@ZogStriP ZogStriP commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Previously, the plugin's video strings used Proper Case, unlike the rest of Discourse, and the ingest error misspelled "ingest". The composer preview also wrapped the video placeholder in a <p>, which can't contain a <div>, so browsers closed the paragraph early and left empty paragraphs around the placeholder.

This change switches those strings to sentence case, fixes the typo, and renders the preview placeholder without the wrapping <p>.

The Discourse Video admin settings category is left as is, since it is the plugin's name.

Part of a stack of PRs, to be merged in order:

  1. FIX: Show a poster for Mux videos and play them inline on mobile #103
  2. FIX: Update the right posts when a Mux video becomes ready #104
  3. DEV: Simplify the webhook, playback lookup and their specs #105
  4. PERF: Cut per-post queries and table scans for post videos #106
  5. FIX: Render each video in a post with its own status #107
  6. DEV: Simplify video rendering and consolidate its tests #108
  7. UX: Use sentence case for video strings and fix the preview placeholder #109 👈 this PR
  8. FIX: Show video changes in posts without reloading the topic #110
  9. PERF: Load video streams only once playback starts #111
  10. DEV: Move video rendering into a module #112
  11. FIX: Restore video embeds in chat messages #113

Previously, the plugin's video strings used Proper Case, unlike the
rest of Discourse, and the ingest error misspelled "ingest". The
composer preview also wrapped the video placeholder in a `<p>`, which
can't contain a `<div>`, so browsers closed the paragraph early and left
empty paragraphs around the placeholder.

This change switches those strings to sentence case, fixes the typo,
and renders the preview placeholder without the wrapping `<p>`.
@ZogStriP
ZogStriP merged commit 8fbe4a6 into main Oct 23, 2026
7 checks passed
@ZogStriP
ZogStriP deleted the ux-video-strings-sentence-case branch October 23, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants