Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow passing or and project slug parameters #671

Merged
merged 9 commits into from
Sep 19, 2024

Conversation

obostjancic
Copy link
Member

@obostjancic obostjancic commented Sep 12, 2024

Part of getsentry/sentry#77381

Adds --org and --project parameters that narrow down options in project selection step.
If there is only one project matching the provided slugs it gets automatically selected.
If no projects match the passed slugs wizard falls back to the current behaviour

Copy link

github-actions bot commented Sep 12, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 3a6909e

@obostjancic obostjancic linked an issue Sep 12, 2024 that may be closed by this pull request
@obostjancic obostjancic changed the title feat: preselect project feat: add projectSlug parameter Sep 16, 2024
@obostjancic obostjancic changed the title feat: add projectSlug parameter feat: allow passing or and project slug parameters Sep 18, 2024
@obostjancic obostjancic self-assigned this Sep 19, 2024
@obostjancic obostjancic marked this pull request as ready for review September 19, 2024 08:52
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for adding this!

Side-note: We could also make adjustments to our endpoint/view to take the potentially passed params into account to reduce the loading time. Right now, this change would still load a lot of unnecessary data. I'll add a note to #357, which - despite its name - is all about reworking the project selection flow.

CHANGELOG.md Outdated Show resolved Hide resolved
obostjancic and others added 2 commits September 19, 2024 13:48
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
@obostjancic obostjancic merged commit b7d9335 into master Sep 19, 2024
13 checks passed
@obostjancic obostjancic deleted the ogi/feat/onboarding-preselect-project branch September 19, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forward args to the wizard from onboarding
2 participants