monosus / super-static

0 stars 0 forks source link

dialogの作成 #45

Closed github-actions[bot] closed 8 months ago

github-actions[bot] commented 8 months ago

This is a draft PR for branch feature_issue-43 related to the issue #43.

Summary by CodeRabbit

- New Feature: モーダルダイアログとポップオーバーの実装を改善し、新たなインタラクティブ要素を追加しました
- Refactor: HTML構造を更新し、コードの可読性と保守性を向上させました
- Style: ダイアログとポップオーバーのスタイリングを更新し、ユーザー体験を向上させました
- Chore: スタイルリントの設定を更新し、非同期のコマンド実行処理を改善しました
github-actions[bot] commented 8 months ago

Image description CodeRabbit

ウォークスルー:
この変更セットでは、ダイアログとポップオーバーの実装に焦点を当てています。主な変更点は、新たなパッケージの追加、HTML要素の属性名の変更、Reactの型定義の修正、CSSスタイルの調整、HTML構造の更新、そしてlint設定の改善です。

変更点:

ファイル 要約
modal-dialog-popup.md, package.json, src/components/ui/Modal/index.tsx, src/components/utils/InsertHtml.tsx, src/pages/_global.tsx, src/types/declaration.d.ts ダイアログとポップオーバーの実装に関する詳細な考察。新たなパッケージ@oddbird/popover-polyfillの追加、HTML要素の属性名の変更、Reactの型定義の修正が含まれる。
src/assets/state.css, src/components/ui/Modal/Modal.css CSSのダイアログ関連のスタイルを追加および変更。ダイアログの開閉状態に応じたスタイルも定義されている。
src/pages/about.tsx, src/pages/include/inc.tsx, src/pages/index.tsx HTMLの構造が変更。新しいボタン、リンク、ダイアログボックスの追加と、既存のHtmlAppendedLinkコンポーネントの再利用が行われている。
tools/lint/.stylelintrc.json, tools/lint/linting.ts スタイルリントの設定ファイルに変更を加え、非同期のコマンド実行処理を改善。複数のエラーがある場合でも一度に全てをキャッチできるようになっている。

Uplevel your code reviews with CodeRabbit Pro ### CodeRabbit Pro If you like this project, please support us by purchasing the [Pro version](https://coderabbit.ai). The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.