Skip to content

Commit 313b981

Browse files
committed
Update member to contact in app
1 parent cdab4a9 commit 313b981

File tree

77 files changed

+241
-241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+241
-241
lines changed

backend/src/database/initializers/suggested-tasks.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"body": "Engage with at least 5 posts on Eagle Eye today"
55
},
66
{
7-
"name": "Reach out to influential members",
8-
"body": "Connect with new members with over 10k followers"
7+
"name": "Reach out to influential contacts",
8+
"body": "Connect with new contacts with over 10k followers"
99
},
1010
{
11-
"name": "Reach out to poorly engaged members",
12-
"body": "Connect with members with low activity in the last 30 days"
11+
"name": "Reach out to poorly engaged contacts",
12+
"body": "Connect with contacts with low activity in the last 30 days"
1313
},
1414
{
1515
"name": "Check for negative reactions",

backend/src/database/repositories/__tests__/taskRepository.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ describe('TaskRepository tests', () => {
329329
expect(tasks.rows.map((i) => i.name).sort()).toStrictEqual([
330330
'Check for negative reactions',
331331
'Engage with relevant content',
332-
'Reach out to influential members',
333-
'Reach out to poorly engaged members',
332+
'Reach out to influential contacts',
333+
'Reach out to poorly engaged contacts',
334334
'Setup your team',
335335
'Setup your workpace integrations',
336336
])

backend/src/services/__tests__/tenantService.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ describe('TenantService tests', () => {
221221
expect(suggestedTasks.rows.map((i) => i.name).sort()).toStrictEqual([
222222
'Check for negative reactions',
223223
'Engage with relevant content',
224-
'Reach out to influential members',
225-
'Reach out to poorly engaged members',
224+
'Reach out to influential contacts',
225+
'Reach out to poorly engaged contacts',
226226
'Setup your team',
227227
'Setup your workpace integrations',
228228
])

backend/src/types/quickstartGuideTypes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ const connectIntegrationGuide: QuickstartGuide = {
3636
}
3737

3838
const enrichMemberGuide: QuickstartGuide = {
39-
title: 'Enrich a member',
40-
body: 'Get more insights about members by enriching them with attributes such as emails, seniority, OSS contributions and much more.',
39+
title: 'Enrich a contact',
40+
body: 'Get more insights about contacts by enriching them with attributes such as emails, seniority, OSS contributions and much more.',
4141
videoLink: 'https://www.loom.com/share/8fdbdd2c0d4c4ab59ae845248b1db04f',
42-
buttonLink: '/members',
42+
buttonLink: '/contacts',
4343
buttonText: 'Try enrichment',
4444
completed: false,
4545
disabledInSampleData: true,

frontend/src/i18n/en.js

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ const en = {
6969
integrations: 'Integrations',
7070
info: 'Custom Attributes',
7171
activities: 'Activities',
72-
members: 'Members',
72+
members: 'Contacts',
7373
latestMetrics: 'LatestMetrics',
74-
membersToMerge: 'Members To Merge',
74+
membersToMerge: 'Contacts To Merge',
7575
benchmarkRepos: 'BenchmarkRepos',
7676
createdAt: 'Created at',
7777
updatedAt: 'Updated at',
@@ -142,33 +142,33 @@ const en = {
142142
},
143143
member: {
144144
name: 'member',
145-
label: 'Members',
146-
menu: 'Members',
145+
label: 'Contacts',
146+
menu: 'Contacts',
147147
exporterFileName: 'member_export',
148148
list: {
149-
menu: 'Members',
150-
title: 'Members',
149+
menu: 'Contacts',
150+
title: 'Contacts',
151151
},
152152
create: {
153-
success: 'Member successfully saved',
154-
error: 'There was an error creating the member',
153+
success: 'Contact successfully saved',
154+
error: 'There was an error creating the contact',
155155
},
156156
update: {
157-
success: 'Member successfully saved',
158-
error: 'There was an error updating the member',
157+
success: 'Contact successfully saved',
158+
error: 'There was an error updating the contact',
159159
},
160160
destroy: {
161-
success: 'Member successfully deleted',
161+
success: 'Contact successfully deleted',
162162
},
163163
destroyAll: {
164-
success: 'Member(s) successfully deleted',
164+
success: 'Contact(s) successfully deleted',
165165
},
166166
edit: {
167-
title: 'Edit Member',
167+
title: 'Edit Contact',
168168
},
169169
merge: {
170-
title: 'Merge Member',
171-
success: 'Members merged successfully',
170+
title: 'Merge Contact',
171+
success: 'Contacts merged successfully',
172172
},
173173
attributes: {
174174
error: 'Custom Attributes could not be created',
@@ -179,7 +179,7 @@ const en = {
179179
fullName: 'Full Name',
180180
jobTitle: 'Job title',
181181
company: 'Company',
182-
member: 'Member',
182+
member: 'Contact',
183183
score: 'Score',
184184
estimatedReach: 'Estimated Reach',
185185
numberActivities: '# of Activities',
@@ -205,7 +205,7 @@ const en = {
205205
noMerge: 'NoMerge',
206206
crowdInfo: 'CrowdInfo',
207207
reach: 'Reach',
208-
joinedAt: 'Member since',
208+
joinedAt: 'Contact since',
209209
createdAt: 'Created at',
210210
updatedAt: 'Updated at',
211211
createdAtRange: 'Created at',
@@ -216,10 +216,10 @@ const en = {
216216
placeholders: {},
217217
hints: {},
218218
new: {
219-
title: 'New Member',
219+
title: 'New Contact',
220220
},
221221
view: {
222-
title: 'View Member',
222+
title: 'View Contact',
223223
},
224224
},
225225

@@ -300,7 +300,7 @@ const en = {
300300
platform: 'Platform',
301301
project: 'Project',
302302
info: 'Custom Attributes',
303-
member: 'Member',
303+
member: 'Contact',
304304
isContribution: 'Key Action',
305305
crowdInfo: 'CrowdInfo',
306306
createdAt: 'Created at',
@@ -384,8 +384,8 @@ const en = {
384384
triggers: {
385385
new_activity:
386386
'New activity happened in your community',
387-
new_member: 'New member joined your community',
388-
member_attributes_match: 'Member attributes match condition(s)',
387+
new_member: 'New contact joined your community',
388+
member_attributes_match: 'Contact attributes match condition(s)',
389389
organization_attributes_match: 'Organization attributes match condition(s)',
390390
},
391391
},
@@ -435,13 +435,13 @@ const en = {
435435
cubejs: {
436436
tooltip: {
437437
Activities: 'Activity',
438-
Members: 'Member',
438+
Members: 'Contact',
439439
Conversations: 'Conversation',
440440
Organizations: 'Organization',
441441
},
442442
cubes: {
443443
Activities: 'Activities',
444-
Members: 'Members',
444+
Members: 'Contacts',
445445
Conversations: 'Conversations',
446446
Organizations: 'Organizations',
447447
},
@@ -454,15 +454,15 @@ const en = {
454454
channel: '[Activities] Channel',
455455
},
456456
Members: {
457-
count: '[Members] Count',
458-
cumulativeCount: '[Members] Cumulative Count',
459-
score: '[Members] Engagement Level',
460-
location: '[Members] Location',
461-
organization: '[Members] Organization',
462-
joinedAt: '[Members] Joined Date',
457+
count: '[Contacts] Count',
458+
cumulativeCount: '[Contacts] Cumulative Count',
459+
score: '[Contacts] Engagement Level',
460+
location: '[Contacts] Location',
461+
organization: '[Contacts] Organization',
462+
joinedAt: '[Contacts] Joined Date',
463463
},
464464
MemberTags: {
465-
count: '[Members] # of Tags',
465+
count: '[Contacts] # of Tags',
466466
},
467467
Conversations: {
468468
count: '[Conversations] Count',
@@ -558,7 +558,7 @@ const en = {
558558
readonly: {
559559
label: 'Read-only',
560560
description:
561-
'Read access to Community Members, Activities, Conversations, and Reports',
561+
'Read access to Community Contacts, Activities, Conversations, and Reports',
562562
},
563563
},
564564

frontend/src/integrations/devto/components/devto-connect-drawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
class="text-2xs font-light mb-2 text-gray-600"
8181
>
8282
Monitor articles from individual users, such as
83-
team members or community advocates
83+
team contacts or community advocates
8484
</span>
8585
<el-form-item
8686
v-for="user in users"

frontend/src/integrations/github/components/github-connect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const connect = () => {
2828
titleClass: 'text-lg pt-2',
2929
message:
3030
`Only GitHub users with admin permissions are able to connect crowd.dev's GitHub integration.
31-
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>`,
31+
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>`,
3232
icon: 'ri-information-line',
3333
confirmButtonText: 'I\'m the GitHub organization admin',
3434
cancelButtonText: 'Invite organization admin to this workspace',

frontend/src/integrations/hubspot/components/hubspot-settings-drawer.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
<article class="border border-gray-200 rounded-t py-4 px-5 flex justify-between">
3030
<div>
3131
<h5 class="text-sm font-semibold pb-1">
32-
Members
32+
Contacts
3333
</h5>
3434
<p class="text-2xs text-gray-500 leading-4.5">
35-
<span class="font-semibold">Data-in</span>: Existing members will automatically be enriched with data
35+
<span class="font-semibold">Data-in</span>: Existing contacts will automatically be enriched with data
3636
points
3737
from HubSpot contacts every 8 hours.
38-
<span class="font-semibold">Data-out</span>: To send members to HubSpot, use Automations or select
39-
members manually.
38+
<span class="font-semibold">Data-out</span>: To send contacts to HubSpot, use Automations or select
39+
contacts manually.
4040
</p>
4141
</div>
4242
<div>
@@ -102,7 +102,7 @@
102102
class="ri-arrow-down-s-line text-lg text-gray-500 mr-3 h-5 flex items-center transition-all transform"
103103
:class="{ 'rotate-180': activeView === 'member' }"
104104
/>
105-
<span class="text-xs font-medium">Member attributes</span>
105+
<span class="text-xs font-medium">Contact attributes</span>
106106
</div>
107107
<div
108108
v-if="form.members"

frontend/src/modules/activity/components/activity-form-drawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="-mt-4">
99
<app-form-item
1010
class="mb-4"
11-
label="Member"
11+
label="Contact"
1212
:validation="$v.member"
1313
:required="true"
1414
:error-messages="{

frontend/src/modules/activity/config/filters/member/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { DEFAULT_MEMBER_FILTERS } from '@/modules/member/store/constants';
99

1010
const member: MultiSelectAsyncFilterConfig = {
1111
id: 'member',
12-
label: 'Member',
12+
label: 'Contact',
1313
iconClass: 'ri-account-circle-line',
1414
type: FilterConfigType.MULTISELECT_ASYNC,
1515
options: {
@@ -37,7 +37,7 @@ const member: MultiSelectAsyncFilterConfig = {
3737
}))),
3838
},
3939
itemLabelRenderer(value: MultiSelectAsyncFilterValue, options: MultiSelectAsyncFilterOptions, data: any): string {
40-
return itemLabelRendererByType[FilterConfigType.MULTISELECT_ASYNC]('Member', value, options, data);
40+
return itemLabelRendererByType[FilterConfigType.MULTISELECT_ASYNC]('Contact', value, options, data);
4141
},
4242
apiFilterRenderer({ value, include }: MultiSelectAsyncFilterValue): any[] {
4343
const filter = {

0 commit comments

Comments
 (0)