Repository navigation
Add commit marking - #187
Merged
Merged
Conversation
YSzEthan
referenced
this pull request
in YSzEthan/serie-ys
Oct 18, 2026
- 按 a 標記選取的 commit(mark_toggle),user command 以 {{marked_hash}} 取得,可做「標記 vs 目前選取」的比較
- 熱鍵不用 upstream 的 m,因為 m 在此已是 go_to_parent
- 未標記就用 {{marked_hash}} 時回 Err 不執行,不展開成空字串(git log {{marked_hash}}..{{target_hash}} 會變成 HEAD..abc,結果錯又不報錯)
- shell 路徑也支援 {{marked_hash}};user command 檢視在切換標記後重跑指令
- 標記以 * 顯示在 marker 欄;緊湊模式看不到該欄,改以狀態列通知
- refresh 後標記的 commit 還在就保留
- Working changes 列不可標記
YSzEthan
referenced
this pull request
in YSzEthan/serie-ys
Oct 18, 2026
…來源 (#155) (#156) (#157) (#158) (#159) (#160) * build: Ratatui 升到 0.30.2 並更新相容依賴 (#155) - ratatui 0.30.0 → 0.30.2 - cargo update 升級 lockfile 內所有 semver 相容版本 - deprecated 的 Cell::set_skip 改用 set_diff_option(CellDiffOption::Skip) * fix: 重新開始搜尋時保留已套用的 query (#156) - start_search 從 Applied 進入時保留 query、搜尋選項、MatchSet 與畫面位置,游標移到尾端 - 輸入中找不到可選的 match 時 match_index 歸零 - 以空 query 套用搜尋時改走 cancel_search - 移植 upstream 的測試並補上增量比對與 filter 全藏命中的案例 * build: 升級 base64、garde、umbra、notify 等跨版本依賴,graph 測試改為按需複製 repo (#157) - 升級 rstest 0.27.0、base64 0.23.1(關掉 default features 只留 std,排除 simd-unsafe)、 toml_edit 0.25.17、garde 0.23.0、umbra 0.6.0、notify 8.2.0、notify-debouncer-mini 0.7.0; 都沒有需要改的程式碼 - notify 與 notify-debouncer-mini 必須一起升,debouncer 0.7 依賴 notify 8 - 不升 signal-hook 0.4:crossterm 0.29 綁死 0.3,升了依賴樹會同時有兩個版本, 沒有實際好處,等 crossterm 升級再跟 - tests/graph.rs 的 copy_git_dir 只在設了 SERIE_TEST_DUMP_GRAPH_REPOS 時才複製測試 repo, 避免每次 cargo test 寫出約 8MB - dircpy 換成只用標準函式庫的 copy_dir 並從 dev-dependencies 移除;來源檔在複製途中被 git gc --auto 清掉(NotFound)時略過 - CONTRIBUTING.md 補上 SERIE_TEST_DUMP_GRAPH_REPOS=1 cargo test 的用法 * feat: 移植 upstream commit marking,熱鍵用 a (#187) (#159) - 按 a 標記選取的 commit(mark_toggle),user command 以 {{marked_hash}} 取得,可做「標記 vs 目前選取」的比較 - 熱鍵不用 upstream 的 m,因為 m 在此已是 go_to_parent - 未標記就用 {{marked_hash}} 時回 Err 不執行,不展開成空字串(git log {{marked_hash}}..{{target_hash}} 會變成 HEAD..abc,結果錯又不報錯) - shell 路徑也支援 {{marked_hash}};user command 檢視在切換標記後重跑指令 - 標記以 * 顯示在 marker 欄;緊湊模式看不到該欄,改以狀態列通知 - refresh 後標記的 commit 還在就保留 - Working changes 列不可標記 * fix: Branches 分頁改以 GitHub 為資料來源,gh view 支援 f fetch (#158) - 清單與 OPEN PR 判斷改走單一 GraphQL query,不再依賴本機 origin ref, 也拿掉 gh pr list 的 1000 筆上限;翻頁上限 20 頁,超過標示截斷 - 行數仍用本機 diff,但改吃 GitHub 回傳的 oid;local_commits 一次 cat-file --batch-check 查出本機有哪些 commit,沒有的 diff_stat 為 None, 卡片提示按 f fetch - gh view 三個分頁支援 f;手動 fetch 成功與背景 auto-fetch 完成後 重新載入 Branches * fix: 修正 Branches 重載被吞掉、gh api 變數型別轉換與文件範例按鍵衝突 - fetch 完成時若 Branches 正在載入,改為排隊,載入回來後再重跑 - fetch_branch_page 的 owner/name 改用 `-f`,避免 `123`/`true` 被轉型 - user-command 文件範例改用 `e`,避免與 mark_toggle 的 `a` 衝突
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.
No description provided.