sentry-wizard icon indicating copy to clipboard operation
sentry-wizard copied to clipboard

Should have option to create new project right after login in wizard cli

Open edem-cyber opened this issue 2 years ago • 1 comments

Environment MacOS

What version are you running? @sentry/wizard": "^3.20.5"

Steps to Reproduce Run npx @sentry/wizard

Expected Feature Should have an option to either create a new sentry project or select one of the created projects from the account after login

Actual Feature After a successful login, we immediately get a list of projects in the account to select from.

Sentry Wizard will help you to configure your project
Thank you for using Sentry :)
? What platform do you want to set up? Next.js
Skipping connection to Sentry due files already patched

┌   Sentry Next.js Wizard 
│
◇   ────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                   │
│  The Sentry Next.js Wizard will help you set up Sentry for your application.                      │
│  Thank you for using Sentry :)                                                                    │
│                                                                                                   │
│  Version: 3.20.5                                                                                  │
│                                                                                                   │
│  This wizard sends telemetry data and crash reports to Sentry. This helps us improve the Wizard.  │
│  You can turn this off at any time by running sentry-wizard --disable-telemetry.                  │
│                                                                                                   │
├───────────────────────────────────────────────────────────────────────────────────────────────────╯
│
◇  Are you using Sentry SaaS or self-hosted Sentry?
│  Sentry SaaS (sentry.io)
│
◇  Do you already have a Sentry account?
│  Yes
│
●  If the browser window didnt open automatically, please open the following link to log into Sentry:
│  
│  https://sentry.io/account/settings/wizard/x3fcpenmpq06ydot9yjvrn7at5cn5zytspe1lslpd3n1yzodpnlpzexe4gp5lya1/
│
◇  Login complete.
│
◆  Select your Sentry project.
│  ○ user-pn/node

edem-cyber avatar Mar 07 '24 09:03 edem-cyber

Hey @edem-cyber thanks for writing in! I agree this would be a nice feature. I'm not sure if we have the necessary API endpoints for this but it's something to explore in the future. Especially because we have to rework project selection anyway at some point (https://github.com/getsentry/sentry-wizard/issues/357).

I'm gonna backlog this for the moment. PRs are also welcome :)

Lms24 avatar Mar 08 '24 12:03 Lms24