forge cli: unresolved filter drops only resolved comments, position-less ones stay labelled
This commit is contained in:
parent
219d85a15d
commit
1dc18d41d4
2 changed files with 34 additions and 26 deletions
|
|
@ -607,11 +607,11 @@ List a PR's reviews, or submit one
|
|||
* `--request-changes` — Request changes on the PR (submit a `REQUEST_CHANGES` review)
|
||||
* `--comment` — Leave a comment review (submit a COMMENT review)
|
||||
* `-m`, `--body <BODY>` — Optional body / message for the review (used with --approve, --request-changes, or --comment)
|
||||
* `--only <ONLY>` — When listing: narrow the inline comments shown (and leave out the reviews with none left). `unresolved` = still open on the current head, that is neither resolved nor outdated: what a re-review has to check
|
||||
* `--only <ONLY>` — When listing: narrow the inline comments shown (and leave out the reviews with none left). `unresolved` keeps every comment nobody has resolved yet: what a re-review has to check
|
||||
|
||||
Possible values:
|
||||
- `unresolved`:
|
||||
Neither resolved nor outdated
|
||||
Not resolved yet. Comments without a position stay in: one might sit on a line a push moved or on the whole file, and hiding it could hide a live finding
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -77,8 +77,8 @@ hive-forge pr edit 42 --base main # retarget a stacked PR onto main
|
|||
hive-forge pr 42 # PR metadata as JSON
|
||||
hive-forge pr create --title "..." --head my-branch --push # also `git push forge my-branch`
|
||||
hive-forge pr create --title "..." --head my-branch --label area/ops # repeatable, same as issue create
|
||||
hive-forge pr reviews 42 # list reviews; each inline comment as `[#id path:line] text`, tagged (resolved by X) / (outdated)
|
||||
hive-forge pr reviews 42 --only unresolved # only inline comments still open on the current head
|
||||
hive-forge pr reviews 42 # list reviews; each inline comment as `[#id path:line] text`, tagged (resolved by X) / (no position)
|
||||
hive-forge pr reviews 42 --only unresolved # every inline comment nobody has resolved yet
|
||||
hive-forge pr timeline 42 # review rows list their line comments (id, path:line, state) too
|
||||
hive-forge pr reviews 42 --approve # submit APPROVED review
|
||||
hive-forge pr reviews 42 --request-changes -m "msg" # submit REQUEST_CHANGES review
|
||||
|
|
|
|||
Loading…
Reference in a new issue