Skip to content

お気に入り・用語カテゴリ設定を追加し、辞書とハイライト処理を改善 - #4

Open
YutaSakuma-hash wants to merge 3 commits into
mainfrom
feat/favorites
Open

YutaSakuma-hash wants to merge 3 commits into
mainfrom
feat/favorites

Conversation

@YutaSakuma-hash

@YutaSakuma-hash YutaSakuma-hash commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

概要

調べた用語をお気に入りとして保存し、サイドパネルで管理できるようにします。表示する用語を7カテゴリから選択でき、設定変更は開いているページのハイライトとホバー説明にも反映されます。

変更内容

  • ホバー内の☆でお気に入りを追加・解除し、サイドパネルで一覧表示・個別削除・全削除に対応。お気に入りはChromeの同期ストレージに保存。
  • サイドパネルに7カテゴリの表示設定を追加。初期状態はすべて有効で、カテゴリを無効にしてもお気に入りは保持。保存失敗時は表示を戻してエラーを通知。
  • 基礎・Web開発などの用語と別名を拡充。漢字・ひらがなを含む登録済みの用語を文章中から検出し、日本語の複合語やasync/awaitにも対応。
  • DOM更新のたびにページ全体を検索していたハイライト処理を、追加・変更されたテキストの差分検索に変更。削除・移動したノードの古いハイライトを除去し、入力欄と拡張機能自身のUIを検索対象から除外。
  • ハイライトの色を薄くし、ブラウザ拡張の型チェックと回帰テストを追加。
  • mainの変更(Feature/highlight #5、バージョン0.2.1)を取り込み、お気に入り機能と統合。Chrome 114以上を指定。

@YutaSakuma-hash
YutaSakuma-hash marked this pull request as ready for review September 10, 2026 04:18
@YutaSakuma-hash
YutaSakuma-hash marked this pull request as draft September 18, 2026 07:12
@YutaSakuma-hash YutaSakuma-hash changed the title お気に入り機能とサイドパネルを追加 お気に入り・用語カテゴリ設定を追加し、辞書とハイライト処理を改善 Sep 18, 2026
@YutaSakuma-hash
YutaSakuma-hash marked this pull request as ready for review September 18, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant