feat: add sg feedback command
Created by: burmudar
This adds a sg feedback
command which opens a new discussion page in the user browser with some prepopulated fields. After some rabbit holing I decided this to be the 'MVP'
Part of #25839 (closed)
-
Initially I wanted to launch the users editor but that gets messy since we can't just blindly trust
$EDITOR
to "do the right thing" when giving a file ie. some editors requires-w
to be given so that the editor waits until the file is closed. -
Using the Github API ...
🤦🏼
Next steps
-
add --feedback
to all commands in sg in a similar way thatsg analytics
does it. -
append diagnostic information? Might have to enhance sg doctor to create a CheckReport -
append sg version
Test plan
Manual testing