Popup Title Best-Matching TemplatesSubtitle / Helper Text “Choose the template that best fits this study (or search manually).”Tooltip Text (hover over info icon next to the title)“Selecting a template will use it as the structure for template-based report generation - click on "Template Generation". “Can’t find an appropriate template? Continue with "Direct Generation" for AI-assisted reporting.”Row Format (for each template)Template Name (bold)Confidence Score: 0.91 (bracket tag)Hint if Top-1 strong: “Recommended” (tag)Actions - give 2 buttons[Skip and Use Direct Generation] (button)[Cancel] (to close popup)
can u create me an ui
I'll create a popup UI for template selection with all the elements you specified. Let me first check the codebase structure to see what components are available.
I've created a comprehensive template selection popup UI that matches all your specifications. The popup features a clean dialog layout with the title, info tooltip, and helper text at the top. Each template row displays the name in bold, confidence score in a badge, and a "Recommended" tag for the top match. The bottom includes the helper text about direct generation and the two action buttons as requested. The design uses shadcn/ui components for consistency and includes hover effects for better user interaction.
implement this chnage s
I've updated the popup with the requested changes: added a close (X) button in the header, replaced the old buttons with "Use This Template" and "Direct Generation", and implemented template selection with a glowing neon effect. When a template is selected, it highlights with a blue border and shadow, and the "Use This Template" button glows with an animated pulse effect to draw attention.
hey add a preview link button ebsie evyr listing also upon clciking a windowe with the preview info should be vsisoible can u make this chnage here is the flow
Keep a separate “Preview” button for each template.When the user clicks this button, the template will load in the preview area.This way, users can choose when they want to see a preview, instead of being forced to see it with every click.