feat(media): CSS-only native carousel buttons and position markers #341
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.40) × (1 − Review Confidence (0.46)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 310 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 97% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.343
Real PR Conversation Timeline
1 comments
"Review active on #341"
general
weight: 0.35
coderabbitai[bot]
Summary
syn-media-rail--controlsnative previous/next buttons andsyn-media-rail--markerslabeled scroll markers to the existing optionalsyntyr.media.cssmodule (no JavaScript, no core-bundle expansion).data-syn-scroll-label.Validation
python3 -m unittest discover -s tests -q: 1,188 tests, OK (1 skipped).NODE_PATH=/home/davidporkka/.local/share/browser-automation/node_modules node tests/media_native_controls_browser.cjs: PASS native next button advancing (0→188px), labeled marker and keyboard/scrollbar fallback, JavaScript disabled.python3 scripts/build.py --check,python3 scripts/build_component_gallery.py --check,python3 scripts/build_cloudflare_site.py --check, docs render check, exported API/editor adapters, native tests and release policy checks: PASS.Compatibility and scope
Generated buttons/markers currently require capable browsers; the base rail remains usable in Firefox/Safari, but native button/marker parity has not been verified in those engines. No mandatory JS, no autoplay/infinite scrolling, and no change to published alpha.4. This is an experimental alpha.5 candidate. No auto-merge requested.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Added optional, JavaScript-free carousel buttons and position markers for media rails in supported browsers. Rails remain scrollable with existing fallback behavior where these features are unavailable.
Updated the featured-story example to demonstrate both options, with labels for each item.
Documentation
Added usage guidance covering browser support, accessibility, localization, and feature limitations. Clarified that these options are experimental.
Tests
* Added checks for carousel behavior, fallback scrolling, and example markup.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->