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

Manual sync for members and organizations #1146

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

gaspergrom
Copy link
Contributor

@gaspergrom gaspergrom commented Jul 20, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 064e8cf

This pull request adds HubSpot syncing functionality to the member and organization dropdown components in the frontend. It uses the HubspotApiService class to communicate with the backend and the CrowdIntegrations class to check the sync status. It also adjusts the CSS rule for the dropdown icons to include the HubSpot SVG icon.

🤖 Generated by Copilot at 064e8cf

Sync with HubSpot now
HubspotApiService helps
Autumn leaves fall fast

Why

How

🤖 Generated by Copilot at 064e8cf

  • Add new methods to HubspotApiService class to sync or stop syncing a member or an organization with HubSpot (link)
  • Add new items to member and organization dropdown menus to trigger sync or stop sync actions with HubSpot (link, link)
  • Add new imports to member and organization dropdown components to access integration configurations, HubSpot entity types, and HubSpot API service (link, link)
  • Add new computed properties and constants to member and organization dropdown components to check sync status and HubSpot connection status (link, link, link)
  • Add new branches to handleCommand methods of member and organization dropdown components to call HubSpot API service methods, update data, and show messages (link, link)
  • Add svg selector to CSS rule to apply gray color to HubSpot icon in dropdown menus (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@gaspergrom gaspergrom added the Feature Created by Linear-GitHub Sync label Jul 20, 2023
@gaspergrom gaspergrom self-assigned this Jul 20, 2023
@gaspergrom gaspergrom merged commit 5d1359b into feature/hubspot-integration Jul 20, 2023
6 checks passed
@gaspergrom gaspergrom deleted the feature/manual-sync branch July 20, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants