Feature - Add slide-over panel as a usage pattern of huxDialog#47
Feature - Add slide-over panel as a usage pattern of huxDialog#47Copilot wants to merge 12 commits into
huxDialog#47Conversation
Agent-Logs-Url: https://github.com/markmead/hyperux/sessions/575501ea-c822-4bce-a5d3-ac7794ad131d Co-authored-by: markmead <50486078+markmead@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
hyperux | 07c7566 | Commit Preview URL Branch Preview URL |
May 26 2026, 08:58 AM |
|
@copilot Is a dedicated pattern needed, or could we use |
Looking at the implementation, So yes,
If you'd prefer to keep the footprint smaller and document slide-over as a usage pattern of |
huxSlideOver pattern based on huxDialog
|
@copilot Yes – instead of adding a new pattern, please add a demo (with documentation) to the existing |
…e pattern Agent-Logs-Url: https://github.com/markmead/hyperux/sessions/65d9145e-0fa9-4cb3-a8e2-566aabe40e9a Co-authored-by: markmead <50486078+markmead@users.noreply.github.com>
Agent-Logs-Url: https://github.com/markmead/hyperux/sessions/65d9145e-0fa9-4cb3-a8e2-566aabe40e9a Co-authored-by: markmead <50486078+markmead@users.noreply.github.com>
Done in 5046f1d.
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
huxSlideOver pattern based on huxDialogThere was a problem hiding this comment.
Pull request overview
This PR folds the “slide-over panel” experience into the existing huxDialog pattern by documenting it as a usage pattern (CSS-driven transitions/positioning) rather than maintaining a dedicated huxSlideOver Alpine component.
Changes:
- Removes the dedicated
huxSlideOverregistration and updates the demo to use the standardhuxDialogAPI. - Adds a new
SlideOverdemo component and embeds it into thehuxDialogdocumentation. - Deletes the standalone slide-over pattern page and expands
dialogsearch terms to include slide-over-related keywords.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
src/components/PatternRegistration.astro |
Removes the huxSlideOver Alpine data registration in favor of using huxDialog directly. |
src/components/demos/SlideOver.astro |
Adds a slide-over demo implemented with huxDialog + CSS x-transition classes. |
src/content/patterns/dialog.mdx |
Documents slide-over as a huxDialog usage pattern, adds demo/snippet, and updates terms/modDate. |
src/content/patterns/slide-over.mdx |
Deleted (slide-over now documented under dialog). |
|
@copilot Address the feedback. |
…ption Agent-Logs-Url: https://github.com/markmead/hyperux/sessions/9ef8feba-a5f9-4edb-80f0-e3a3d8f7e589 Co-authored-by: markmead <50486078+markmead@users.noreply.github.com>
Apply a new .prose-demo helper to demo wrapper components so they break out of the prose grid; update global.css to set grid-column behavior for demos and pre elements and add top/bottom spacing between demos. Also tidy up SlideOver/Dialog markup (formatting of attributes and closing tags) and reposition the <Demo /> include in the dialog pattern for correct rendering. These changes enable full-width demo panels and improve markup consistency.
Relocate the <Demo /> component into the prose container for several pattern docs to ensure consistent layout, styling, and spacing of demo previews. Updated files: combobox.mdx, command-palette.mdx, copy-to-clipboard.mdx, dropdown.mdx, inline-editor.mdx, resizable.mdx, scroll-spy.mdx, tabs.mdx.
Add the not-prose class to demo wrapper divs so Tailwind Typography (prose) styles don't affect the demo components (Combobox, CommandPalette, CopyToClipboard, Dialog, Dropdown, InlineEditor, Resizable, ScrollSpy, SlideOver, Tabs). Update global.css selector to apply the grid-column rule only to direct children that are not .prose-demo or pre, preventing layout rules from affecting demo containers. Also adjust SlideOver wrapper formatting.
huxDialog
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
@copilot Address the changes – review the other |
Agent-Logs-Url: https://github.com/markmead/hyperux/sessions/ef33017a-e827-4f06-b1eb-57fb51cfeddc Co-authored-by: markmead <50486078+markmead@users.noreply.github.com>
Addressed in 07c7566. I updated the slide-over backdrop to follow the same Screenshot: Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This pull request improves the visual presentation and documentation of demo components and pattern pages. The main focus is on standardizing the layout of demo sections, introducing a new slide-over panel demo for dialogs, and refining the CSS grid breakout system for better alignment and spacing.
Component and Layout Standardization:
All demo component containers now use the
prose-demo not-proseclass to ensure consistent styling and prevent prose formatting from affecting demo layouts. This change was applied toCombobox.astro,CommandPalette.astro,CopyToClipboard.astro,Dialog.astro,Dropdown.astro,InlineEditor.astro,Resizable.astro,ScrollSpy.astro, andTabs.astro. [1] [2] [3] [4] [5] [6] [7] [8] [9]The CSS for
.prose-breakoutwas updated to ensure.prose-demoblocks span the full grid width, with improved vertical spacing between demos and other content.Documentation Enhancements:
<Demo />component is now placed inside the main prose container for better alignment and consistency. [1] [2] [3] [4] [5] [6] [7] [8]Dialog Pattern Improvements:
huxDialogfor slide-over panels (drawers) with a dedicated demo and example code. Related search terms were also added. [1] [2] [3]New Demo Component:
SlideOver.astro, a comprehensive slide-over panel demo, to showcase advanced dialog usage and transitions.These changes collectively make the demos more visually distinct, improve the clarity of documentation, and provide a better developer experience for users exploring the pattern library.