Repository navigation
feat: 絞り込みをスマートフォルダとして保存し、サイドバーから開けるようにする(FR-510) - #95
Merged
Merged
Conversation
画面の配置を決める前に、データの部分だけを残す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
スマートフォルダの移行を足して、最後の移行が hidden の列ではなくなったため。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
よく使う絞り込みを1回で開けるようにするため。古い JSON も読めるよう足りない項目は初期値で埋め、消えたタグとカテゴリは外してステータスバーで知らせる。 NameDialog はギャラリーがボードのコードを読まないよう src/ へ移した。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 に利用者が案 A で決めた配置、表示、知らせの文言と、FR-505 がまだないことを書く。 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.
変更
smart_foldersの表(MIGRATIONSの末尾に1つ)と、list_smart_folders・create_smart_folder・rename_smart_folder・delete_smart_folderのコマンドを足した(src-tauri/src/smart_folder.rs。テスト4件)src/smartFolder.tsを足した。足りない項目と形の違う項目は初期値で埋め、消えたタグとカテゴリは外して数を返す(単体テスト3件)NameDialogをsrc/board/からsrc/に移した。ギャラリーがボードのコードを読まない決まり(e2e/board.spec.ts)を守るためsrc/mocks/ipc.tsにモックを足し、e2e/smart-folder.spec.tsで保存のダイアログ、サイドバー、開き直した後、消えた条件の知らせを撮ったdocs/requirements.mdの5.5、docs/design.md、GLOSSARY.md、docs/user-guide.md、docs/tasks/phase4-check.mdの C を直したrestore.rsのテストは「最後の移行が hidden の列を足す」ことに頼っていたので、その移行を位置で探すようにした理由
よく使う絞り込みをスマートフォルダから1回で開けるようにするため(FR-510、タスク21)。画面の配置・表示・文言は 2026-11-28 に利用者が案 A で決めた。
縦横比・評価・追加した日・タグの有無(FR-505)の絞り込みはまだないので保存していない。FR-505 を作ったら保存する。古い JSON は足りない項目を初期値で埋めて読むので、開ける。
確かめたこと
cargo fmt --check、cargo clippy -- -D warnings、cargo test(446件)、npm run lint、npm test(185件)、npm run test:e2e(154件)が通るrelaunch)の後に同じ絞り込みと並べ替えになること、カテゴリを削除してから開いたときの知らせ、名前の変更、削除を確かめた。DB の行、画像の枚数(30枚のまま)、pending_opsが空であること、利用者のアプリデータの更新日時が変わらないことも確かめた。証跡はワークツリーの.claude/tmp/verify-kura/runs/fr510/evidence/🤖 Generated with Claude Code