Kynan Ware
9de48154de
Add missing TODO comments for featuredetection if-statements
...
Add greppable TODO identifiers above all if-statements that reference
featuredetection struct fields, as required by the featuredetection
linter. This ensures every feature detection branch is tagged for
future cleanup when GHES gains support.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 14:24:32 -07:00
Babak K. Shandiz
1cd4840199
fix(pr/shared): delegate query compilation to search package
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-11-20 13:35:24 +00:00
Babak K. Shandiz
02dc03c8e2
docs(pr list): mention advanced issue search syntax support
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-09-08 18:36:46 +01:00
Babak K. Shandiz
7b4ace9f54
docs(issue pr): fix incorrect formatting
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-09-02 10:14:59 +01:00
Babak K. Shandiz
87bd76c5aa
docs: add cleanup/future TODO marks for advanced issue search changes
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-09-01 13:55:49 +01:00
Babak K. Shandiz
33f1f6ea68
docs(pr list): explain use of advanced issue search syntax
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-09-01 13:40:46 +01:00
Babak K. Shandiz
b4213ac136
test(issue/pr list): assert integration with advanced issue search
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-08-31 21:11:55 +01:00
Babak K. Shandiz
6d148400a8
refactor(issue/pr list): support advanced issue search
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-08-31 18:29:24 +01:00
Babak K. Shandiz
aa64bb5708
docs(pr list): mention --head does not support <owner>:<branch> syntax
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-28 12:55:11 +01:00
Babak K. Shandiz
b70f9c1dda
Add example usage of --head option
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-13 14:30:32 +01:00
Andy Feller
d2cd14b4cd
Remove out of scope changes, update list commands
...
After discussing this with the team, the `gh config` changes to display `accessible_colors` have been removed from this branch being outside of acceptance criteria. This will be moved to a separate issue along with any other work needed to finalize the public preview such as `gh help` entries for `GH_ACCESSIBLE_COLORS` environment variable.
List commands that use ColorScheme.Gray have been updated to use ColorScheme.Muted.
2025-03-31 11:58:30 -04:00
William Martin
f8d9aac7e5
Merge pull request #10512 from cli/wm-kw/fix-pr-checkout-for-forks
...
Fix checkout when URL arg is from fork and cwd is upstream
2025-02-28 13:31:59 +01:00
William Martin
11b9496e17
Fix checkout when URL arg is from fork and cwd is upstream
2025-02-27 16:56:11 +01:00
Azeem Sajid
33c30d5bd1
Inconsistent format of examples in help text
2025-02-27 16:26:25 +05:00
Kynan Ware
026672e79e
Merge branch 'trunk' into nil/fix-2329
2025-02-01 12:37:44 -07:00
Azeem Sajid
978d3fce87
[gh issue/pr list] Improve help text
2025-01-30 13:05:18 +05:00
nilvng
55598d0a2c
feat: integrate new PRLister into pr list command
2024-12-15 18:04:51 +11:00
nilvng
5109336963
issue #2329 : include PR status in the prompt's options
2024-12-09 21:22:00 +11:00
nilvng
1832c1a767
issue #2329 : fix the linting issue
2024-11-17 14:58:38 +11:00
nilvng
7d7c240f4b
feat: let user select pr to checkout
2024-11-03 11:38:58 +11:00
Heath Stewart
81f3526740
Fix tests
2024-08-16 10:11:52 -07:00
Yukai Chou
d7b8ecf33d
Unify use of tab indent in non-test source files
...
Found with
rg '(^ | \t|\t )' -g '*.go' -g '!*_test.go'
Mixed indent exceptions:
- wrapped long list items with extra 2-space indent
- code snippets using space indent
- commented code lines having "\t*// \t+" prefix
2024-08-03 00:35:30 +08:00
William Martin
e775bc64b8
Fix PR and Issue list
...
Separate the GQL and JSON decoded types that we use for queries.
2023-11-27 17:00:10 +01:00
Sam Coe
5023b61909
Remove uses of FuzzyAgoAbbr in tables ( #8222 )
2023-10-22 17:33:49 +02:00
Heath Stewart
7738b6187c
Add headers to all tables ( #8157 )
2023-10-20 11:20:02 +02:00
Benjamin Chadwick
82662685e3
Autocomplete branch flags ( #6031 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-03-29 16:09:44 +00:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh ( #6346 )
2022-10-17 15:15:39 +02:00
Natthakit Susanthitanon
4c3b123db6
Return empty error before starting a pager program ( #6419 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-10-13 19:08:13 +02:00
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
satotake
b3ab76818c
Refactor issue list and pr list tests
...
following #6085
* Inject fake `Now` function to tests of `issue list` / `pr list`
* Remove `regexp` from the tests
2022-08-25 00:01:29 +09:00
Nate Smith
1da31c8b8f
Merge pull request #6085 from satotake/add-age-to-pr
...
Add age field to `pr list` / `pr view`
2022-08-23 11:55:29 -05:00
Sam Coe
6a8deb1f5a
Integrate latest go-gh packages ( #6084 )
2022-08-18 09:04:13 +03:00
satotake
837fac0da3
Add age column to pr list
2022-08-17 01:23:53 +09:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Sam Coe
db85b1d3cb
Properly handle issue and pr state options when building search queries ( #5513 )
2022-04-25 20:18:58 +02:00
Roshan Padaki
13342cb272
Don't error on list commands when no results found ( #5479 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-25 17:55:52 +00:00
Sam Coe
8a0c1f903c
Change issue close color from red to purple ( #5436 )
2022-04-11 11:50:55 +02:00
Sam Coe
31da9b1360
Replace old search utility with new search ( #5366 )
2022-04-06 16:44:52 +02:00
Sam Coe
6fbe6d9c20
Add ability to filter issue and pr searches by app ( #5370 )
2022-03-29 21:58:29 +02:00
Mislav Marohnić
112ca8bf91
Merge remote-tracking branch 'origin' into docs-improvements
2022-02-21 15:24:18 +01:00
Mislav Marohnić
286ba5e8dc
issue/pr list: clarify search syntax
2022-02-18 18:39:30 +01:00
Mislav Marohnić
19563c4a74
Use StringEnumFlag helper in more places
2022-02-18 12:52:47 +01:00
Christian Gregg
c5dbf20ed4
Alias list as ls for all commands ( #5214 )
...
I always get tripped up whenever trying to list my codespaces, adding
`ls` as an alias to `list` feels natural enough.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 13:53:42 +01:00
Josh Gross
c2a9c5a74b
Support filtering pull requests authored by GitHub Apps ( #5180 )
2022-02-15 19:36:06 +01:00
Alan Donovan
f4491c7a80
Add FlagErrorf; encapsulate FlagError.error
2021-10-21 11:40:20 -04:00
Mislav Marohnić
f6b33572fd
Merge pull request #4279 from SiarheiFedartsou/sf-pr-list-head-filter
...
Add `--head` filter to `gh pr list`
2021-10-14 20:54:56 +02:00
Sam
02ed5a9666
Merge pull request #4316 from SiarheiFedartsou/sf-pulls-draft
...
Add `--draft` and `--non-draft` filters to `gh pr list`
2021-09-20 12:07:52 -07:00
Sam Coe
d14715f1e3
Convert bool to string early for pr list draft flag
2021-09-20 11:29:37 -07:00
Siarhei Fedartsou
6a34f53c6c
Change pr list --draft UX
2021-09-17 22:05:47 +03:00
Siarhei Fedartsou
1926971a76
Remove non-relevant test
2021-09-12 21:04:03 +03:00