Fix/settings window#42
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughSummary by CodeRabbitリリースノート
Walkthroughこのプルリクエストは、Settings 画面を開くためのアイコンボタンをヘッダーに追加し、macOS と Windows の両環境でメニューからの設定画面アクセスを実装しました。フロントエンド UI スタイル、UI 実装、バックエンド event handling を統合しています。 ChangesSettings ボタン機能実装
Sequence DiagramsequenceDiagram
participant macOSMenu as macOS Menu
participant EventEmitter as Event Emitter
participant Frontend as Frontend App
participant Modal as Settings Modal
macOSMenu->>EventEmitter: Emit open_settings
EventEmitter->>Frontend: open_settings イベント受信
Frontend->>Modal: showSettings = true で開く
rect rgba(100, 150, 200, 0.5)
participant WindowsMenu as Windows Menu
participant Webview as Webview Window
WindowsMenu->>Webview: buildMenu(appStruct) 適用
Webview->>Frontend: メニューから Settings 選択可能に
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Windows 環境で「Preferences / 設定」画面が開けない問題(Issue #38)を解消するため、Wails 側のメニュー設定を Windows のウィンドウに紐付け、フロント側にも設定を開く導線を追加するPRです。
Changes:
- Preferences メニュークリック時の
open_settingsイベント送出を同期実行に変更(goroutine 제거) - Windows のウィンドウにメニューを明示的に設定して Preferences を利用可能に
- フロントのトップバーに Settings アイコンボタンを追加し、CSS を追加
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| main.go | Preferences メニューから open_settings を確実に送出し、Windows ウィンドウにもメニューを設定 |
| frontend/src/App.tsx | Settings を開くトップバーのアイコンボタンを追加 |
| frontend/src/App.css | アイコンボタン用の .btn-icon スタイルを追加 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Windows: application.WindowsWindow{ | ||
| Menu: buildMenu(appStruct), | ||
| }, |
|
@coderabbitai review |
✅ Action performedReview finished.
|
設定画面が開けない問題を解決
resolved #38