Conversation
…izations-C-1795-C-1794
…izations-C-1795-C-1794
…izations-C-1795-C-1794
…1795-C-1794' into feature/hubspot-integration
…izations-C-1795-C-1794
To make sorting more consistent
…1795-C-1794' into feature/hubspot-integration
…crowd.dev into feature/hubspot-integration
Base automatically changed from
enhancement/support-object-members-and-organizations-C-1795-C-1794
to
main
July 18, 2023 11:08
…crowd.dev into feature/hubspot-integration
gaspergrom
approved these changes
Jul 26, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed ✍️
What
🤖 Generated by Copilot at bb69b00
This pull request adds support for Hubspot integration to the Crowd application. It implements the backend and frontend logic for connecting to Hubspot, onboarding the integration, updating the properties, and getting the mappable fields. It also updates the data sink worker service to handle new data types and new fields for the organization and member data. It modifies several files in the
backend,frontend, andservicesfolders, and adds new files for the Hubspot helper functions and components.
🤖 Generated by Copilot at bb69b00
Why
How
🤖 Generated by Copilot at bb69b00
enabled: falseproperty from theconfig.jsfile (link)hubspotto the list of integrations supported by theCROWD_NANGO_INTEGRATIONSenvironment variable in the.env.dist.localfile (link)custom-environment-variables.jsonfile (link)IntegrationServiceclass in theintegrationService.tsfile (link, link, link)hubspotmodule, thehubspotConfigobject, and theHubspotServiceclass (link, link)helpersfolder under theintegrationAPI (link, link, link, link)hubspotConnect.ts,hubspotGetMappableFields.ts,hubspotOnboard.ts, andhubspotUpdateProperties.ts(link, link, link, link)IntegrationService, and send success responses with the payloads (link, link, link, link)integrationAPI index file using thesafeWrapandrequirefunctions (link)hubspot-book-call.vuecomponent to replace the static link to Calendly with a dynamic slot that receives aconnectfunction as a prop (link)app-hacker-news-connect-drawerthat renders a drawer with the instructions and status of the Hubspot connection (link)drawerVisibledata property to the visibility of the drawer using av-modeldirective (link)hubspotConnectAPI endpoint (link)config.jsfile for the Hubspot integration, such as thename, theicon, thedescription, thesteps, and thefields(link)IntegrationServiceclass in theintegration-service.jsfile that calls thehubspotGetMappableFieldsAPI endpoint and returns the response data (link)integrationstore module in theintegration-store.jsfile that dispatches thehubspotGetMappableFieldsmethod of theIntegrationServiceand commits the result to thehubspotMappableFieldsstate property (link)MemberRepositoryclass in themember.repo.tsfile that updates the Hubspot properties of a member in the database (link)organization.data.tsfile to reflect the Hubspot integration data (link, link, link, link, link, link, link)getInsertCacheOrganizationColumnSetfunction (link)member.repo.tsfile to import theOrganizationRepositoryclass and use the Hubspot integration data (link, link, link, link, link, link)activity.service.tsfile to use the Hubspot integration data (link)dataSink.service.tsfile to use the Hubspot integration data (link)processDatamethod to handle the Hubspot integration data (link)member.service.tsfile to use the Hubspot integration data (link)OrganizationServiceclass (link)MemberServiceclass that updates the Hubspot properties of a member using theMemberRepositoryclass (link)organization.service.tsfile to use the Hubspot integration data (link, link, link, link, link)findOrCreatemethod to update the Hubspot properties of an organization using theMemberServiceclass (link)OrganizationServiceclass that updates the Hubspot properties of an organization using theOrganizationRepositoryclass (link)publishobject in theprocessDatamethod of theIntegrationDataServiceclass in theintegrationDataService.tsfile to handle the Hubspot integration data (link)IntegrationDataServiceclass that publishes the Hubspot integration data to the data sink service using thepublishobject (link)Checklist ✅
Feature,Improvement, orBug.