Zach S
10/27/2025, 11:22 PMgt submit :
⢠I never want the "keep as draft"/"publish" dialog - please don't ask me to click! Make it a draft please!
⢠after clicking "keep as draft" please don't ask me to click "go to top of stack" or "go to inbox" - I don't know who dreamed this up, but if I wanted to go to my inbox I can easily do that
Dialog after dialog feels like a hellscape to me. I don't want to click once let alone twice!
I'm sure you'll tell me there's a gt submit option to just submit as draft that avoids this (there better be!) but the default webapp behavior definitely should not be this!Pylon
10/27/2025, 11:22 PMZach S
10/27/2025, 11:23 PMgt submit --help does not indicate any ways around this FYIZach S
10/27/2025, 11:24 PMgt submit documents -v --view as:
-v, --view Open the PR in your browser after submitting. [boolean] [default: false]
...but mine always opens my browser, so default: false seems wrong to me.
Am I missing something?Joan La Rosa
10/27/2025, 11:52 PMZach S
10/28/2025, 1:01 AMPylon
10/28/2025, 1:35 AM-d ! If you want to skip the web browser submit you can use the --no-interactive option.
(I believe the gt config Joan is mentioning is the in "Submit settings" to enable setting PR metadata in the CLI rather than the web browser.)Zach S
10/28/2025, 1:44 AMgt submit -d --no-interactive. I think that's what I usually want.Zach S
10/28/2025, 1:45 AMZach S
10/28/2025, 2:09 AMgt submit -d --no-interactive , you get a nice little link
Edit your stack at <https://app.graphite.dev/submit/><org>/<repo>/<pr#>
and when you click that cursed link it triggers the double dialog! It's waiting and I'm afraid there's no way to avoid it.Zach S
10/28/2025, 2:10 AMgt submit -d --no- <TAB> does not autocomplete to --no-interactive. This option is not just absent from gt submit --help, but is not known to your autocomplete.
I wish gt was better documentedPylon
10/28/2025, 12:03 PM--no-interactive is a global option not a command specific one. You can print all the commands and options via gt help --all