Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Template DSL to support placement prop #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kharrop
Copy link
Contributor

@kharrop kharrop commented Mar 7, 2025

Closes #190

Should be merged AFTER player-ui/player#614 since that introduces the placement functionality in the core template logic.

A separate ticket will be created to address inferring placement order based on JSX positioning.

Change Type (required)

Indicate the type of change your pull request is:

  • patch
  • minor
  • major

Release Notes

Adds support to passing placement to <Template /> and added a test that confirms the prop gets passed down accordingly.

📦 Published PR as canary version: 0.9.1--canary.196.4186

Try this version out locally by upgrading relevant packages to 0.9.1--canary.196.4186

@kharrop
Copy link
Contributor Author

kharrop commented Mar 7, 2025

/canary

Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.12%. Comparing base (eecfb8d) to head (b4d9f65).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
+ Coverage   67.10%   67.12%   +0.02%     
==========================================
  Files          87       87              
  Lines        9123     9129       +6     
  Branches     1272     1274       +2     
==========================================
+ Hits         6122     6128       +6     
  Misses       2976     2976              
  Partials       25       25              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support New Template API in Template DSL Component
3 participants