Skip to content

few small recipe additions -> download button, copy button, loading state, confirm dialog #181

Description

@abhishekmamdapure

saw the note in #74 about opening an issue before sending a PR
for anything new, so here goes.

I put together four small additions to the Recipes page: a download
button, a copy-to-clipboard button, a loading/submit button, and a
confirm-before-delete dialog. Nothing new in CSS or JS actually each one is
just existing primitives (button, dialog, the built-in spinner) wired
up with attributes and APIs that are already used elsewhere in the
docs; the Clipboard API, the hidden attribute, and the same
commandfor/command dialog pattern from dialog.md. So the bundle size
doesn't move at all, it's purely additive documentation.

Image Image Image Image

Thanks for building this, its already helping us a lot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions