main ← dev/decorate-quote-collapsed-content-properly
opened 10:05PM - 21 Jul 25 UTC
This PR refactors the `PostCookedHtml` and `PostQuotedContent` components to enh…ance how quoted posts are rendered and decorated. It introduces a new `className` prop for customizing the class of cooked HTML, and ensures collapsed quote content is consistently decorated with appropriate styles and structure.
Key changes:
- Adds a `className` argument to `PostCookedHtml`, allowing quoted content to have a distinct class for easier styling.
- Updates `PostQuotedContent` to render collapsed and expanded quoted content through `PostCookedHtml`, ensuring consistent decoration and disabling selection barriers for quoted posts.
- Refines decorator application logic in `PostCookedHtml` to conditionally apply selection barriers.
- Improves CSS by targeting quoted content within blockquotes, ensuring top and bottom margins are correctly removed from child elements.
- Updates acceptance tests to support both classic and glimmer post stream modes, verifying composer actions and quoted content behavior across modes.