Skip to content

試験的 modal dialog component#718

Open
Hidetaro7 wants to merge 3 commits intomainfrom
feat-modal-dialog
Open

試験的 modal dialog component#718
Hidetaro7 wants to merge 3 commits intomainfrom
feat-modal-dialog

Conversation

@Hidetaro7
Copy link
Copy Markdown
Contributor

No description provided.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented May 22, 2025

Deploying jumpu-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 32f0779
Status: ✅  Deploy successful!
Preview URL: https://9b73ff8a.jumpu-ui.pages.dev
Branch Preview URL: https://feat-modal-dialog.jumpu-ui.pages.dev

View logs

@Hidetaro7 Hidetaro7 requested a review from Copilot May 22, 2025 10:56
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces a trial implementation of a modal dialog component with updated documentation and configuration for Jumpu UI.

  • Added a new modal dialog demo and code snippet in the documentation
  • Updated the VitePress configuration to include a link to the modal dialog documentation

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/docs/components/modal-dialog.md New documentation and code snippet for a trial modal dialog component
packages/docs/.vitepress/config.mts Updated navigation configuration to include the modal dialog page
Files not reviewed (2)
  • packages/tailwindcss/src/components/modal-dialog.css: Language not supported
  • packages/tailwindcss/src/style.css: Language not supported
Comments suppressed due to low confidence (1)

packages/docs/.vitepress/config.mts:88

  • [nitpick] The component is titled 'Modal-Dialog' in the documentation, but the navigation link in the config uses 'ModalDialog'. Consider aligning the naming convention for consistency.
{text: "ModalDialog", link: "/modal-dialog" },

onclick="if(event.target !== document.querySelector('.dialog-content')){event.target.close()}"
>
<button
onclick="document.querySelector('#dialog-1').close()"
Copy link

Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The close button targets '#dialog-1' but the associated element in this code block (starting on line 21) is missing the corresponding id. Consider adding an id="dialog-1" attribute on the element for proper functionality.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: やってる

Development

Successfully merging this pull request may close these issues.

3 participants