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.
🔍 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.
<!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.