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

Redesigns Home account footer into new header bar #3861

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

eamodio
Copy link
Member

@eamodio eamodio commented Dec 12, 2024

Adds a popover for account information and integration connection and status

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 7 out of 17 changed files in this pull request and generated 1 suggestion.

Files not reviewed (10)
  • docs/telemetry-events.md: Evaluated as low risk
  • src/constants.integrations.ts: Evaluated as low risk
  • src/plus/gk/account/__debug__accountDebug.ts: Evaluated as low risk
  • src/plus/gk/account/subscriptionService.ts: Evaluated as low risk
  • src/plus/integrations/authentication/models.ts: Evaluated as low risk
  • src/plus/integrations/integrationService.ts: Evaluated as low risk
  • src/webviews/home/protocol.ts: Evaluated as low risk
  • src/webviews/home/homeWebview.ts: Evaluated as low risk
  • src/webviews/apps/home/stateProvider.ts: Evaluated as low risk
  • src/webviews/apps/home/home.ts: Evaluated as low risk
Comments skipped due to low confidence (1)

src/webviews/apps/plus/shared/components/home-header.ts:36

  • The commented-out code block should be either removed or uncommented if it is intended to be used.
/* .actions {

['prs', 'Pull Requests'],
['issues', 'Issues'],
]);
function getIntegrationDetails(integration: IntegrationState): string {
Copy link
Preview

Copilot AI Dec 12, 2024

Choose a reason for hiding this comment

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

The getIntegrationDetails function should handle the case where integration.supports might be empty or contain invalid values.

Suggested change
function getIntegrationDetails(integration: IntegrationState): string {
const features = integration.supports.map(feature => featureMap.get(feature)).filter(Boolean) as string[];

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
@eamodio eamodio force-pushed the feature/home-header branch 2 times, most recently from bedef5c to 7bcdd16 Compare December 12, 2024 17:50
  - Adds popover for account information
  - Adds popover for integration connection and status
@eamodio eamodio force-pushed the feature/home-header branch from 7bcdd16 to cba28ec Compare December 12, 2024 18:17
@eamodio eamodio merged commit e729ed3 into main Dec 12, 2024
3 checks passed
@d13
Copy link
Member

d13 commented Dec 12, 2024

This was approved by me.

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.

2 participants