8000 feat: add v0.6.0 dpp render template by ashleythedeveloper Β· Pull Request #284 Β· uncefact/tests-untp Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add v0.6.0 dpp render template #284

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

Merged
merged 2 commits into from
Jun 12, 2025

Conversation

ashleythedeveloper
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation Update
  • 🎨 Style
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ”₯ Performance Improvements
  • βœ… Test
  • πŸ€– Build
  • πŸ” CI
  • πŸ“¦ Chore (Release)
  • ⏩ Revert

Description

This PR introduces a render template for the v0.6.0 Digital Product Passport data model. To illustrate the features of this render template, I've attached images demonstrating the basic rendering of a Digital Product Passport. To explore additional features, such as parameterised colours, fonts, font weights, responsive design and dynamic rendering of elements based on the presence of non-required values, you can use the live preview functionality in the Render Template Studio.

Mobile & Desktop Screenshots/Recordings

Screenshot 2025-06-11 at 10 12 20β€―pm Screenshot 2025-06-11 at 10 12 28β€―pm Screenshot 2025-06-11 at 10 12 34β€―pm

Added tests?

  • πŸ‘ yes
  • πŸ™… no, because they aren't needed
  • πŸ™‹ no, because I need help

Added to documentation?

  • πŸ“– Mock App docs site
  • πŸ“œ README.md
  • πŸ“• storybook
  • πŸ™… no documentation needed

Copy link
github-actions bot commented Jun 11, 2025

Code Coverage Report

Lines Statements Branches Functions
Coverage: 83%
82.05% (3668/4470) 69.52% (876/1260) 73.97% (435/588)
Title Lines Statements Branches Functions
All packages Coverage: 83%
82.05% (3668/4470) 69.52% (876/1260) 73.97% (435/588)
Components Coverage: 84%
84.03% (516/614) 69.36% (120/173) 77.23% (95/123)
Mock app Coverage: 71%
71.95% (372/517) 53.23% (74/139) 68.14% (77/113)
Services Coverage: 81%
79.29% (1038/1309) 64.88% (255/393) 75.71% (106/140)
UNTP test suite Coverage: 85%
85.75% (1090/1271) 81.35% (144/177) 67.21% (41/61)
VC test suite Coverage: 100%
100% (20/20) 100% (2/2) 100% (4/4)
UNTP Playground Coverage: 88%
86.02% (665/773) 74.86% (283/378) 76.82% (116/151)

@ashleythedeveloper ashleythedeveloper merged commit 83350e3 into next Jun 12, 2025
1 of 2 checks passed
@ashleythedeveloper ashleythedeveloper deleted the feat/add_0.6.0_dpp_render_template branch June 12, 2025 04:29
Copy link
Contributor
@absoludity absoludity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ash. Looks good visually. My main concern is the same as we discussed on the DFR template: I feel pretty strongly against presenting "Conformance: Yes" as well as the underlying conformance boolean property, but I've documented that at uncefact/spec-untp#415

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.

2 participants
0