Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions backend/src/database/initializers/suggested-tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"body": "Engage with at least 5 posts on Eagle Eye today"
},
{
"name": "Reach out to influential members",
"body": "Connect with new members with over 10k followers"
"name": "Reach out to influential contacts",
"body": "Connect with new contacts with over 10k followers"
},
{
"name": "Reach out to poorly engaged members",
"body": "Connect with members with low activity in the last 30 days"
"name": "Reach out to poorly engaged contacts",
"body": "Connect with contacts with low activity in the last 30 days"
},
{
"name": "Check for negative reactions",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ describe('TaskRepository tests', () => {
expect(tasks.rows.map((i) => i.name).sort()).toStrictEqual([
'Check for negative reactions',
'Engage with relevant content',
'Reach out to influential members',
'Reach out to poorly engaged members',
'Reach out to influential contacts',
'Reach out to poorly engaged contacts',
'Setup your team',
'Setup your workpace integrations',
])
Expand Down
4 changes: 2 additions & 2 deletions backend/src/services/__tests__/tenantService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ describe('TenantService tests', () => {
expect(suggestedTasks.rows.map((i) => i.name).sort()).toStrictEqual([
'Check for negative reactions',
'Engage with relevant content',
'Reach out to influential members',
'Reach out to poorly engaged members',
'Reach out to influential contacts',
'Reach out to poorly engaged contacts',
'Setup your team',
'Setup your workpace integrations',
])
Expand Down
6 changes: 3 additions & 3 deletions backend/src/types/quickstartGuideTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ const connectIntegrationGuide: QuickstartGuide = {
}

const enrichMemberGuide: QuickstartGuide = {
title: 'Enrich a member',
body: 'Get more insights about members by enriching them with attributes such as emails, seniority, OSS contributions and much more.',
title: 'Enrich a contact',
body: 'Get more insights about contacts by enriching them with attributes such as emails, seniority, OSS contributions and much more.',
videoLink: 'https://www.loom.com/share/8fdbdd2c0d4c4ab59ae845248b1db04f',
buttonLink: '/members',
buttonLink: '/contacts',
buttonText: 'Try enrichment',
completed: false,
disabledInSampleData: true,
Expand Down
64 changes: 32 additions & 32 deletions frontend/src/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ const en = {
integrations: 'Integrations',
info: 'Custom Attributes',
activities: 'Activities',
members: 'Members',
members: 'Contacts',
latestMetrics: 'LatestMetrics',
membersToMerge: 'Members To Merge',
membersToMerge: 'Contacts To Merge',
benchmarkRepos: 'BenchmarkRepos',
createdAt: 'Created at',
updatedAt: 'Updated at',
Expand Down Expand Up @@ -142,33 +142,33 @@ const en = {
},
member: {
name: 'member',
label: 'Members',
menu: 'Members',
label: 'Contacts',
menu: 'Contacts',
exporterFileName: 'member_export',
list: {
menu: 'Members',
title: 'Members',
menu: 'Contacts',
title: 'Contacts',
},
create: {
success: 'Member successfully saved',
error: 'There was an error creating the member',
success: 'Contact successfully saved',
error: 'There was an error creating the contact',
},
update: {
success: 'Member successfully saved',
error: 'There was an error updating the member',
success: 'Contact successfully saved',
error: 'There was an error updating the contact',
},
destroy: {
success: 'Member successfully deleted',
success: 'Contact successfully deleted',
},
destroyAll: {
success: 'Member(s) successfully deleted',
success: 'Contact(s) successfully deleted',
},
edit: {
title: 'Edit Member',
title: 'Edit Contact',
},
merge: {
title: 'Merge Member',
success: 'Members merged successfully',
title: 'Merge Contact',
success: 'Contacts merged successfully',
},
attributes: {
error: 'Custom Attributes could not be created',
Expand All @@ -179,7 +179,7 @@ const en = {
fullName: 'Full Name',
jobTitle: 'Job title',
company: 'Company',
member: 'Member',
member: 'Contact',
score: 'Score',
estimatedReach: 'Estimated Reach',
numberActivities: '# of Activities',
Expand All @@ -205,7 +205,7 @@ const en = {
noMerge: 'NoMerge',
crowdInfo: 'CrowdInfo',
reach: 'Reach',
joinedAt: 'Member since',
joinedAt: 'Contact since',
createdAt: 'Created at',
updatedAt: 'Updated at',
createdAtRange: 'Created at',
Expand All @@ -216,10 +216,10 @@ const en = {
placeholders: {},
hints: {},
new: {
title: 'New Member',
title: 'New Contact',
},
view: {
title: 'View Member',
title: 'View Contact',
},
},

Expand Down Expand Up @@ -300,7 +300,7 @@ const en = {
platform: 'Platform',
project: 'Project',
info: 'Custom Attributes',
member: 'Member',
member: 'Contact',
isContribution: 'Key Action',
crowdInfo: 'CrowdInfo',
createdAt: 'Created at',
Expand Down Expand Up @@ -384,8 +384,8 @@ const en = {
triggers: {
new_activity:
'New activity happened in your community',
new_member: 'New member joined your community',
member_attributes_match: 'Member attributes match condition(s)',
new_member: 'New contact joined your community',
member_attributes_match: 'Contact attributes match condition(s)',
organization_attributes_match: 'Organization attributes match condition(s)',
},
},
Expand Down Expand Up @@ -435,13 +435,13 @@ const en = {
cubejs: {
tooltip: {
Activities: 'Activity',
Members: 'Member',
Members: 'Contact',
Conversations: 'Conversation',
Organizations: 'Organization',
},
cubes: {
Activities: 'Activities',
Members: 'Members',
Members: 'Contacts',
Conversations: 'Conversations',
Organizations: 'Organizations',
},
Expand All @@ -454,15 +454,15 @@ const en = {
channel: '[Activities] Channel',
},
Members: {
count: '[Members] Count',
cumulativeCount: '[Members] Cumulative Count',
score: '[Members] Engagement Level',
location: '[Members] Location',
organization: '[Members] Organization',
joinedAt: '[Members] Joined Date',
count: '[Contacts] Count',
cumulativeCount: '[Contacts] Cumulative Count',
score: '[Contacts] Engagement Level',
location: '[Contacts] Location',
organization: '[Contacts] Organization',
joinedAt: '[Contacts] Joined Date',
},
MemberTags: {
count: '[Members] # of Tags',
count: '[Contacts] # of Tags',
},
Conversations: {
count: '[Conversations] Count',
Expand Down Expand Up @@ -558,7 +558,7 @@ const en = {
readonly: {
label: 'Read-only',
description:
'Read access to Community Members, Activities, Conversations, and Reports',
'Read access to Community Contacts, Activities, Conversations, and Reports',
},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
class="text-2xs font-light mb-2 text-gray-600"
>
Monitor articles from individual users, such as
team members or community advocates
team contacts or community advocates
</span>
<el-form-item
v-for="user in users"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const connect = () => {
titleClass: 'text-lg pt-2',
message:
`Only GitHub users with admin permissions are able to connect crowd.dev's GitHub integration.
If you are an organization member, you will need an approval from the GitHub workspace admin. <a href="https://docs.crowd.dev/docs/github-integration" target="_blank">Read more</a>`,
If you are an organization contact, you will need an approval from the GitHub workspace admin. <a href="https://docs.crowd.dev/docs/github-integration" target="_blank">Read more</a>`,
icon: 'ri-information-line',
confirmButtonText: 'I\'m the GitHub organization admin',
cancelButtonText: 'Invite organization admin to this workspace',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
<article class="border border-gray-200 rounded-t py-4 px-5 flex justify-between">
<div>
<h5 class="text-sm font-semibold pb-1">
Members
Contacts
</h5>
<p class="text-2xs text-gray-500 leading-4.5">
<span class="font-semibold">Data-in</span>: Existing members will automatically be enriched with data
<span class="font-semibold">Data-in</span>: Existing contacts will automatically be enriched with data
points
from HubSpot contacts every 8 hours.
<span class="font-semibold">Data-out</span>: To send members to HubSpot, use Automations or select
members manually.
<span class="font-semibold">Data-out</span>: To send contacts to HubSpot, use Automations or select
contacts manually.
</p>
</div>
<div>
Expand Down Expand Up @@ -102,7 +102,7 @@
class="ri-arrow-down-s-line text-lg text-gray-500 mr-3 h-5 flex items-center transition-all transform"
:class="{ 'rotate-180': activeView === 'member' }"
/>
<span class="text-xs font-medium">Member attributes</span>
<span class="text-xs font-medium">Contact attributes</span>
</div>
<div
v-if="form.members"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="-mt-4">
<app-form-item
class="mb-4"
label="Member"
label="Contact"
:validation="$v.member"
:required="true"
:error-messages="{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { DEFAULT_MEMBER_FILTERS } from '@/modules/member/store/constants';

const member: MultiSelectAsyncFilterConfig = {
id: 'member',
label: 'Member',
label: 'Contact',
iconClass: 'ri-account-circle-line',
type: FilterConfigType.MULTISELECT_ASYNC,
options: {
Expand Down Expand Up @@ -37,7 +37,7 @@ const member: MultiSelectAsyncFilterConfig = {
}))),
},
itemLabelRenderer(value: MultiSelectAsyncFilterValue, options: MultiSelectAsyncFilterOptions, data: any): string {
return itemLabelRendererByType[FilterConfigType.MULTISELECT_ASYNC]('Member', value, options, data);
return itemLabelRendererByType[FilterConfigType.MULTISELECT_ASYNC]('Contact', value, options, data);
},
apiFilterRenderer({ value, include }: MultiSelectAsyncFilterValue): any[] {
const filter = {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/auth/auth-socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const connectSocket = (token) => {
Message.closeAll();
Message.error(
`Failed to enrich ${pluralize(
'member',
'contact',
parsed.failedEnrichedMembers,
true,
)}.`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<el-tooltip
:disabled="canSyncMembers"
content="Please enable Members syncing in HubSpot integration settings to use this feature"
content="Please enable Contacts syncing in HubSpot integration settings to use this feature"
placement="bottom"
>
<el-checkbox
Expand All @@ -11,7 +11,7 @@
:disabled="!canSyncMembers"
>
<span class="text-xs" :class="canSyncMembers ? 'text-gray-900' : 'text-gray-400'">
Sync all members from the organisations matching your conditions criteria
Sync all contacts from the organisations matching your conditions criteria
</span>
</el-checkbox>
</el-tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ export const hubspotOrganizationFilters: Record<string, FilterConfig> = {

export const hubspot: AutomationTypeConfig = {
name: 'HubSpot',
description: 'Send members or organizations to HubSpot',
description: 'Send contacts or organizations to HubSpot',
icon: '/images/integrations/hubspot.png',
plan: 'Scale',
featureFlag: FeatureFlag.flags.hubspot,
emptyScreen: {
title: 'No HubSpot automations yet',
body: 'Send members or organizations to HubSpot based on certain conditions.',
body: 'Send contacts or organizations to HubSpot based on certain conditions.',
},
triggerText: 'Define the conditions that will trigger your HubSpot action.',
actionText: 'Define which action will take place in HubSpot based on the defined conditions.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ watch(() => props.trigger, () => {

const memberOptions: HubspotActionOption[] = [
{
label: 'Add member to a HubSpot contacts list',
description: 'Send member to HubSpot and add it to a contacts list.',
label: 'Add contact to a HubSpot contacts list',
description: 'Send contact to HubSpot and add it to a contacts list.',
value: HubspotAutomationAction.ADD_TO_CONTACT_LIST,
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Upgrade your plan to enable HubSpot automations
</h3>
<p class="text-sm text-center">
Send members or organizations to HubSpot based on certain conditions.
Send contacts or organizations to HubSpot based on certain conditions.
</p>
<div class="flex justify-center pt-8">
<a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const triggerOptions = computed(() => {
const enabledFor = hubspot.settings?.enabledFor || [];
return [
{
label: 'Member attributes match condition(s)',
label: 'Contact attributes match condition(s)',
value: HubspotAutomationTrigger.MEMBER_ATTRIBUTE_MATCH,
display: enabledFor.includes(HubspotEntity.MEMBERS),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
form.teamMemberActivities
"
class="text-gray-900"
label="Include activities from team members"
label="Include activities from team contacts"
/>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<app-form-item
class="pb-4"
label="Matching member platform(s)"
label="Matching contact platform(s)"
>
<el-select
v-model="form.platforms"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const triggerOptions = ref([
value: 'new_activity',
},
{
label: 'New member joined your community',
label: 'New contact joined your community',
value: 'new_member',
},
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const slack: AutomationTypeConfig = {
icon: 'https://cdn-icons-png.flaticon.com/512/3800/3800024.png',
emptyScreen: {
title: 'No Slack notifications yet',
body: 'Send Slack notifications when a new activity happens, or a new member joins your community',
body: 'Send Slack notifications when a new activity happens, or a new contact joins your community',
},
triggerText: 'Define the event that triggers your Slack notification.',
actionText: 'Receive a notification in your Slack workspace every time the event is triggered.',
Expand Down
Loading