You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `repo scan add`: replaces old scan; adds --pattern (glob filter on
basename) and --confirm/-i (interactive per-repo y/N prompt via
bubbletea); removes --dry-run; silently skips already-tracked repos
- `repo scan list`: shows discovered repos with tracked/untracked
status using the same RenderTable layout as repo ls; supports
--tracked and --untracked filters
- `ui.Confirm`: new bubbletea-backed y/N prompt in internal/ui
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
`repo scan list -p <pattern> --tracked -g <group> <dir>` assigns all
already-tracked repos matching the pattern to the given group, closing
the gap where `scan add -g` skips repos that are already in config.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both action functions shared identical arg-check/config-load boilerplate
and filepath.Abs/scanForRepos loop. Extracting helpers eliminates the
duplication and reduces the two action functions to their distinct logic.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cmd/completions.go: extract makeCompleter variadic factory — the three
completer functions shared identical config-load/loop boilerplate and
now each reduce to a one-liner.
internal/tui/selection.go: extract toggleMode helper — handleSelectToggle
and handleSingleToggle shared 29 identical lines for cursor save/restore
and table restyle; the only difference was target mode and whether to
snapshot m.selected.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
We reviewed changes in 0d1f3a7...a9f7178 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
❌ Patch coverage is 78.21782% with 44 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.52%. Comparing base (0d1f3a7) to head (a9f7178).
The reason will be displayed to describe this comment to others. Learn more.
suspicious assignment to a by-value method receiver
A method that modifies its receiver value can have undesired behavior. The
modification can also be the root of a bug because the actual value receiver
could be a copy of that used at the calling site. This rule warns when a method
modifies its receiver.
The reason will be displayed to describe this comment to others. Learn more.
Type "confirmModel" has both value and pointer receivers
(Go's FAQ)[https://go.dev/doc/faq#methods_on_values_or_pointers] recommends
that method receivers should be consistent. If some of the methods of the type
must have pointer receivers, the rest should too, so the method set is
consistent regardless of how the type is used. This is because value and
pointer receivers have different method sets.
The reason will be displayed to describe this comment to others. Learn more.
Type "confirmModel" has both value and pointer receivers
(Go's FAQ)[https://go.dev/doc/faq#methods_on_values_or_pointers] recommends
that method receivers should be consistent. If some of the methods of the type
must have pointer receivers, the rest should too, so the method set is
consistent regardless of how the type is used. This is because value and
pointer receivers have different method sets.
The reason will be displayed to describe this comment to others. Learn more.
Type "confirmModel" has both value and pointer receivers
(Go's FAQ)[https://go.dev/doc/faq#methods_on_values_or_pointers] recommends
that method receivers should be consistent. If some of the methods of the type
must have pointer receivers, the rest should too, so the method set is
consistent regardless of how the type is used. This is because value and
pointer receivers have different method sets.
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
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.