-
-
Notifications
You must be signed in to change notification settings - Fork 0
Multi-page demo #53
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: main
Are you sure you want to change the base?
Multi-page demo #53
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
👋 Hello @glenn-jocher, thank you for submitting a
For more guidance, please refer to our Contributing Guide. If you have any questions, feel free to leave a comment and the team will be happy to help. Thank you for contributing to Ultralytics! 🚀 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
Add the missing HTML5 DOCTYPE to demo-multi.html to keep the new multi-page demo rendering in standards mode like the existing single-page version.
💬 Posted 1 inline comment
| @@ -0,0 +1,176 @@ | |||
| <!-- Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license --> | |||
|
|
|||
| <html lang="en" data-theme="light"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<!DOCTYPE html> declaration. Without it, browsers can fall back to quirks mode, which causes inconsistent layout/box-model behavior compared to the single-page demo. Add the HTML5 DOCTYPE before the opening <html> tag so both demos render in standards mode.
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Adds a reusable shared stylesheet and a new multi-page web demo to validate that the Ultralytics Chat widget persists across page navigations.
📊 Key Changes
examples/web/demo-multi.html, a dedicated multi-page chat widget demo that exercises navigation between pages while keeping the chat pill/session alive.examples/web/demo.css, replacing the large inline<style>block indemo.htmlwith a<link>reference.demo.htmltoolbar to include a navigation button linking to the new multi-page demo, and cross-links from the multi-page demo back to the single-page demo.🎯 Purpose & Impact
<head>/<body>and might disrupt the chat widget DOM.