Repository navigation
feat: メニューバーを作り直し、Google 画像検索とヘルプを足す(FR-612) - #97
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
変更
フェーズ4c のまとまり G(タスク26、27e、27f。6章、FR-612、NFR-14)。
menu.rsの構成をlayout()に分け、6章の表と照らす単体テストを付けたsrc/editMenu.ts)。キーと同じ操作・同じ条件になるwindows.rsのmenu_states()(単体テストあり)。画像の操作は詳細パネル・右クリックと同じ条件、設定…などはギャラリーが手前のときだけlens.google.com/uploadbyurl?url=…を、なければ画像を PNG にしてクリップボードに写しlens.google.comを既定のブラウザで開く。アプリ自身は通信しない。クリップボードは既存のobjc2-app-kit(NSPasteboard)で書き、Tauri のプラグインは足していないdocs/user-guide.mdとdocs/images/を Vite がビルドのたびに画面に入れ、別ウインドウ(help)に出す。Markdown の変換にmarked(MIT、依存なし)を足した。見出しへのリンクはウインドウの中で移り、外へのリンクは既定のブラウザで開く。相対リンクは GitHub の URL にする(2026-11-28、利用者と決めた。requirements.md に追記)src/help/guide.test.ts(本物のガイドで見出し・目次のリンク先・画像がそろう)とcheck-docs.mjs(ガイドの画像がdocs/images/にある)docs/user-guide.mdに「メニューバー」「Google 画像検索で出典を探す」を足した。6章の構成と今の画面の文言に食い違いはなかった理由
画面で使えるキー操作をすべてメニューからも選べるようにし、出典を探す入口と、ネットワークなしで読めるヘルプをアプリに入れるため。
確かめたこと
cargo fmt --check、cargo clippy -- -D warnings、cargo test、npm run lint、npm test、npm run test:e2eが通るcontext-menu-google.png、help.png、help-anchor.png.claude/tmp/verify-kura/runs/menu-2/evidence/settings.jsonが切り替わる。すべてを選択、検索、設定…、アイデアボードを開く、ボードに追加…、ライブラリを切り替える…、Kura を終了も動く利用者に確かめてほしいこと
🤖 Generated with Claude Code