-
-
Notifications
You must be signed in to change notification settings - Fork 499
feat: Add maintenance knowledge panel for Open Products Facts #12578
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
base: opf-additions
Are you sure you want to change the base?
Conversation
Co-authored-by: teolemon <[email protected]>
Co-authored-by: teolemon <[email protected]>
|
|
lib/ProductOpener/KnowledgePanels.pm: Begin Error Output Stream |



Implements a "Maintain" section knowledge panel for Open Products Facts that surfaces maintenance and repair advice for products with
epargnonsnosressources_fr_url:entaxonomy property.Implementation
Added
create_maintain_card_panel()function inKnowledgePanels.pmthat:get_inherited_property_from_categories_tags()to find maintenance URLs from category taxonomyCreated template structure:
maintain_card.tt.json- Card containermaintenance_advice_fr_epargnonsnosressources.tt.json- Panel with actionable link to government maintenance resourcesIntegrated into knowledge panels flow:
create_knowledge_panels()has_maintain_cardto root panel templateScope
Applies to 14+ product categories including smartphones, computers, appliances, and tools. Panel displays between Environment and Secondhand cards in the product page.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.