Comments (4)
This is great @tierninho!
For the "Should still show?" for gh pr list
I think not showing closed PRs makes sense there.
For "Should we show if closed?" for gh pr checkout 1
I think it makes sense to still allow a checkout even if the branch is closed.
from cli.
@tierninho This is really thorough, thank you!
gh pr list 11
orgh pr list aaaa
| still shows all three areas | on the fence about this
The gh pr list
command doesn't take any extra arguments. When you pass 11
or aaaa
, the argument is ignored. Would you prefer that an error message is shown instead? We could easily do that.
Closed PR | โYou have no pull requests to reviewโ | Should still show?
Good question! For now we're focusing on open PRs only.
gh pr show 2
| Still open if an issue?
Good catch. Not sure if we should avoid opening the browser if we detect that "2" is an issue instead of a PR in this case. For now I'd vote that we leave the current behavior and see if we get user feedback on this one?
All other feedback on show
, checkout
, create
commands: fully agree! Especially when it comes to failing fast during create
instead of allowing an API call to go through and ending up with a 422 error that we could have avoided earlier. โจ
from cli.
Would you prefer that an error message is shown instead? We could easily do that.
Let's leave alone for now see if we get user feedback on this one, too.
Good catch. Not sure if we should avoid opening the browser if we detect that "2" is an issue instead of a PR in this case. For now I'd vote that we leave the current behavior and see if we get user feedback on this one?
๐
from cli.
Closing this for now as the product is evolving.
from cli.
Related Issues (20)
- Referencing the upstream/remote PR branch HOT 3
- `gh repo clone https://github.com/xxx/yyy` should respect `git_protocol` config rather than using the protocol scheme HOT 4
- Hi, sorry for the inconvenience, and thank you for reporting. Our input prompt widget currently does not support navigation via escape sequences (other than moving the cursor character-by-character), but I think this is something we should absolutely add. Which terminal or console app do you use: Windows Terminal, powershell.exe, Command Prompt, or something else? HOT 1
- Undocumented behaviour of the `-w` flag for `gh run list` HOT 2
- `gh cs` - Choose the only codespace if only one exists HOT 2
- Make `gh cs` aware it is inside a codespace HOT 7
- Update GitHub CLI release process to generate artifact attestations HOT 1
- Allow filtering workflow runs by date range in gh run list HOT 2
- giving message when run any gh commad: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. HOT 1
- gh attestation verify fails with a reusable workflow. HOT 6
- Download attachment/file from an issue/pr HOT 2
- Should checkmark on successful `pr merge` be styled as `magenta` or `green`? HOT 2
- Failed to verify the artifact: failed to fetch attestations for subject HOT 5
- Support for <ctrl>-jk (alternatively to arrows) for navigating options HOT 2
- failed to authenticate via web browser: Post "https://github.com/login/device/code": unexpected EOF HOT 1
- `gh repo fork` no longer respects the git protocol of the original repo when `git_protocol` is not configured HOT 2
- gh cli returns different (and incorrect) first entry than what is returned from the ui HOT 5
- gh auth login should not print ansi codes with TERM=dumb HOT 4
- Created debs and rpms should have a changelog HOT 1
- GH should not require git repository to exist where operation does not affect one HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.