-
Notifications
You must be signed in to change notification settings - Fork 61
refine embedding page #410
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
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||||||
PR Type
Enhancement
Description
Extract embedding logic into reusable component
Reduce code duplication across embedding pages
Add support for custom HTML styling and token authentication
Refactor reporting page to use new EmbeddingPage component
Diagram Walkthrough
File Walkthrough
EmbeddingPage.svelte
New reusable embedding page componentsrc/lib/common/embedding/EmbeddingPage.svelte
+page.svelte
Refactor to use EmbeddingPage componentsrc/routes/page/agent/reporting/[reportType]/+page.svelte
addOnparameter to HeadTitle componentpluginTypes.js
Extend EmbeddingInfoModel type definitionsrc/lib/helpers/types/pluginTypes.js
htmlStyleproperty for custom element stylingappendTokenNameproperty for token authentication