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

Improves Start Work flows #3843

Merged

Conversation

axosoft-ramint
Copy link
Contributor

@axosoft-ramint axosoft-ramint commented Dec 6, 2024

Closes #3832
Closes #3833
Closes #3836

  • Adds title button to connect additional integrations.
  • Adds telemetry event startWork/title/action
  • Separates out "create branch" logic from Start Work and moves into its own telemetry even home/createBranch
  • Removes all references to "start work type" including in telemetry
  • Updates placeholder messaging
  • Adds option to connect additional integrations or manage integrations when no issues are found.
  • Adds telemetry event startWork/action
  • Fixes back button and prevents refetching issues when clicked
  • Updates freeze/resume logic into shared place and applies to all areas that use it
  • Removes launchpad description item when at least one integration is connected in the connect step

Choose a reason for hiding this comment

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

Copilot reviewed 12 out of 12 changed files in this pull request and generated no suggestions.

Copy link
Member

@eamodio eamodio left a comment

Choose a reason for hiding this comment

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

Couple of minor things can be in followup

src/constants.telemetry.ts Outdated Show resolved Hide resolved
step: 'accelerate-pr-reviews',
source: 'launchpad',
detail: 'info',
const hasConnectedIntegration = some(context.connectedIntegrations.values(), c => c);
Copy link
Member

Choose a reason for hiding this comment

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

Probably should filter to the supported integrations for Launchpad

Copy link
Contributor Author

Choose a reason for hiding this comment

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

context.connectedIntegrations is already filtered to supported Launchpad integrations where it is set up. See getConnectedIntegrations of LaunchpadProvider

@axosoft-ramint axosoft-ramint force-pushed the debt/start-work-and-launchpad-integration-flows branch from 656f4bf to 01bd71f Compare December 9, 2024 15:05
- Adds title button to connect additional integrations.
- Adds telemetry event startWork/title/action
- Separates out "create branch" logic from Start Work and moves into its own telemetry even home/createBranch
- Removes all references to "start work type" including in telemetry
- Updates placeholder messaging
- Adds option to connect additional integrations or manage integrations when no issues are found.
- Adds telemetry event startWork/action
- Fixes back button and prevents refetching issues when clicked
- Updates freeze/resume logic into shared place and applies to all areas that use it
- Removes launchpad description item when at least one integration is connected in the connect step

# Conflicts:
#	src/constants.telemetry.ts

Removes todo on comment and sets up similar event for startWork
@axosoft-ramint axosoft-ramint force-pushed the debt/start-work-and-launchpad-integration-flows branch from 01bd71f to 3dc37d4 Compare December 9, 2024 15:06
@axosoft-ramint axosoft-ramint merged commit b34cd9a into main Dec 9, 2024
3 checks passed
@axosoft-ramint axosoft-ramint deleted the debt/start-work-and-launchpad-integration-flows branch December 9, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants