Code Monkey home page Code Monkey logo

Comments (4)

probablycorey avatar probablycorey commented on May 22, 2024 1

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.

mislav avatar mislav commented on May 22, 2024

@tierninho This is really thorough, thank you!

gh pr list 11 or gh 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.

tierninho avatar tierninho commented on May 22, 2024

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.

tierninho avatar tierninho commented on May 22, 2024

Closing this for now as the product is evolving.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.