Repository navigation
Restore sticky demo banner; replace native controls with shadcn components - #481
Merged
Merged
Conversation
…hadcn components Co-Authored-By: Max Farrell <maxffarrell@gmail.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
…estions Co-Authored-By: Max Farrell <maxffarrell@gmail.com>
…ptions Co-Authored-By: Max Farrell <maxffarrell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restores the old-style demo banner and replaces every native browser control with shadcn-svelte components.
Demo banner: full-width bar at the top again,
sticky top-0so it stays visible while scrolling.New
ui/confirm-dialogcomponent: vendored AlertDialog wrapper exposing a promise-styleconfirmDialog(options)API — supportstitle,description, a singleinput(label/placeholder/defaultValue) for the oldprompt()use cases, andconfirm/cancellabels. Mounted in the(app)layout, portal layout, and kiosk page.Native → shadcn, ~40 call sites:
confirm()→confirmDialog({ title, description, confirm: { text }, onConfirm })— billing, schedule, settings, members, checkins, dashboard, kiosk, portalprompt()→confirmDialogwithinput; multi-question flows (shop stock levels, shift times) chain sequential dialogs<details>/<summary>→Collapsible.Root/Trigger/Content(member PAR-Q history, portal course sessions)window.prompt('Copy this link')→ dialog showing the link in a selectable inputLink to Devin session: https://app.devin.ai/sessions/8bdde52330224d498b5a5f647522e89f
Open in Devin Desktop: https://app.devin.ai/desktop/session/8bdde52330224d498b5a5f647522e89f?variant=devin
Requested by: @maxffarrell
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work