Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

No description provided.

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13030

Copy link
Contributor

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.

Pull Request Overview

Refactors HTTP request handling across multiple integration plugins by extracting duplicate request logic into a centralized utility function. This improves code maintainability and fixes inconsistent error handling for Gmail integration disconnections.

  • Centralizes HTTP request logic in a new shared utility function
  • Removes duplicate request implementations across telegram, gmail, and calendar plugins
  • Adds improved response handling for empty/non-JSON responses

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/integration-client/src/request.ts New centralized HTTP request utility with comprehensive error handling
packages/integration-client/src/index.ts Exports the new request utility
plugins/telegram-resources/src/api.ts Replaces local request implementation with shared utility
plugins/gmail-resources/src/api.ts Replaces local request implementation with shared utility
plugins/calendar-resources/src/api.ts Replaces local request implementation with shared utility
plugins/setting-resources/src/components/integrations/Integrations.svelte Removes debug console.log statements

ArtyomSavchenko and others added 2 commits August 7, 2025 11:41
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Artyom Savchenko <armisav@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Artyom Savchenko <armisav@gmail.com>
@BykhovDenis BykhovDenis merged commit d1fd7d9 into develop Aug 7, 2025
14 checks passed
@BykhovDenis BykhovDenis deleted the qfix/mail-disconnect branch August 7, 2025 06:00
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.

3 participants