-
Notifications
You must be signed in to change notification settings - Fork 753
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
Hubspot connect & settings #1139
Hubspot connect & settings #1139
Conversation
<div v-if="form.members || form.organizations" class="p-2 rounded bg-blue-50 flex items-center mb-3"> | ||
<span class="ri-information-line text-blue-900 mr-2 text-base h-4 flex items-center" /> | ||
<span class="text-[11px] text-blue-900 leading-4.5">We recommend creating custom properties in Hubspot for every crowd.dev attribute. | ||
<a href="#" target="_blank" class="underline text-blue-900 font-medium">Read more</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is currently not linking to anywhere, maybe it was forgotten?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added link
frontend/src/integrations/hubspot/components/hubspot-settings-drawer.vue
Show resolved
Hide resolved
</div> | ||
</template> | ||
|
||
<div v-if="activeView === 'member'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a suggestion, but currently this component is really big which could also affect performance. Since these two sections of the member and organizations are pretty similar, could they be moved to a separate component where it would only have one el-collapse-item
and would render content depending on the active view?
It seems that this way there is a lot of duplicated code for both views
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for suggestion i moved property mapping to separate component
Changes proposed ✍️
What
🤖 Generated by Copilot at 424f7af
This pull request adds a new component and service for the Hubspot integration. It allows users to connect to Hubspot, book a call, and map attributes between Hubspot and Crowd.dev entities. It also updates the config file, deletes an unused component, and adds some TypeScript types and interfaces.
🤖 Generated by Copilot at 424f7af
Why
How
🤖 Generated by Copilot at 424f7af
AppHubspotConnect
to render a slot for connecting and setting up the Hubspot integration (link)AppHubspotSettingsDrawer
to show a drawer with options to map attributes between Hubspot and Crowd.dev entities (link)script setup
syntax, Vuex helpers, and props, refs, and methods to define the component logic and data (link)HubspotApiService
to provide methods to interact with the backend endpoints for the Hubspot integration (link)hubspotOnboard
tohubspotConnect
in theIntegrationService
class and the Vuex action that calls it (link, link)HubspotBookCall
(link)Checklist ✅
Feature
,Improvement
, orBug
.