Repository navigation
fix(herdr): list memory notes apart and finish the extras follow-ups - #972
Merged
Merged
Conversation
Follow-ups from the review of #961, which added extras to the panel. Memory notes were counted twice. `extras memory init` saves a `memory` extra, so `extras list` returns the memory folder as an extra while `extras memory list` returns each note in it. The Extras count and Overview's resource total counted both. Notes now have no sync state of their own: they are listed under MEMORY NOTES in the Extras tab, apart from the sync groups, and are not counted, as in the dashboard, which lists the memory extra among extras and its notes on a page of their own. For the same reason a pending or failed memory read no longer marks notes "sync status unknown" or holds the Extras count at "…". An extra's target was matched in any case, so on a case-sensitive POSIX machine an extra in ~/.claude/rules was named after a target in ~/.Claude/skills. Case is now folded only when the scope's project folder or target paths are Windows paths. One extra waiting on two folders of one target, such as ~/.claude/rules and ~/.claude/commands, added two to that target's count while Overview said one resource waits. It now counts once per target. A folder extra's preview stopped at 40 files without saying so. It now reads one name past the 40 shown and says when the list goes on; a SKILL.md past the cut is still shown first. The README and recipe intros now name extras with the other kinds, and the Library line in learn/with-herdr.md and its four translations describes the notes section. zh-Hans now says the source, not a source file, is missing, since a folder extra's source is a folder. Refs #930
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Type
proposals/only — see CONTRIBUTING.md)approvedlabel)Linked Issue
Follow-up to #961, which closed #930.
Change
The follow-ups the #961 review left for the maintainers:
extras memory initsaves amemoryextra, so the memory folder appeared as an extra and each of its notes as a row too, and both were counted. As in the dashboard, thememoryextra stays among the extras and counts; its notes go under a MEMORY NOTES section in the Extras tab, with a muted dot, no sync state and no count. A pending or failed memory read no longer shows notes as "sync status unknown" or holds the Extras count at "…".~/.Claude/skillsand~/.claude/rulesare different folders.~/.claude/rulesand~/.claude/commands).SKILL.mdpast the cut is still shown first.learn/with-herdr.mdand its ja, ko, zh-Hans and zh-Hant copies describe the notes section. The feat(herdr): show extras and memory notes in the panel #961 translations were checked; zh-Hans now says the source, not a source file, is missing.Not covered
panels.png(and the generatedpreview.png) still shows the panel before extras; it needs a redraw from the design board.Checks run
make checkin a devcontainer with this worktree mounted: passes (Go tests, lint, docs check, 159 Herdr tests).python3 scripts/herdr/package-mod.py --check: up to date.herdr-app checkon both mod folders: passes.Checklist
make check) — for code changes