Skip to content

Commit f020368

Browse files
authored
Merge pull request #695 from frappe/develop
chore: Merge develop to main
2 parents bf4da21 + 0fa0ae1 commit f020368

25 files changed

+621
-483
lines changed

crm/locale/main.pot

Lines changed: 289 additions & 111 deletions
Large diffs are not rendered by default.
1.3 MB
Binary file not shown.
1.18 MB
Binary file not shown.

frontend/components.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ declare module 'vue' {
150150
MobileSidebar: typeof import('./src/components/Mobile/MobileSidebar.vue')['default']
151151
MoneyIcon: typeof import('./src/components/Icons/MoneyIcon.vue')['default']
152152
MultipleAvatar: typeof import('./src/components/MultipleAvatar.vue')['default']
153-
MultiselectInput: typeof import('./src/components/Controls/MultiselectInput.vue')['default']
154-
MultiValueInput: typeof import('./src/components/Controls/MultiValueInput.vue')['default']
153+
MultiSelectEmailInput: typeof import('./src/components/Controls/MultiSelectEmailInput.vue')['default']
155154
MuteIcon: typeof import('./src/components/Icons/MuteIcon.vue')['default']
156155
NestedPopover: typeof import('./src/components/NestedPopover.vue')['default']
157156
NoteArea: typeof import('./src/components/Activities/NoteArea.vue')['default']
@@ -193,7 +192,6 @@ declare module 'vue' {
193192
SidePanelLayout: typeof import('./src/components/SidePanelLayout.vue')['default']
194193
SidePanelLayoutEditor: typeof import('./src/components/SidePanelLayoutEditor.vue')['default']
195194
SidePanelModal: typeof import('./src/components/Modals/SidePanelModal.vue')['default']
196-
SignupBanner: typeof import('./src/components/SignupBanner.vue')['default']
197195
SLASection: typeof import('./src/components/SLASection.vue')['default']
198196
SmileIcon: typeof import('./src/components/Icons/SmileIcon.vue')['default']
199197
SortBy: typeof import('./src/components/SortBy.vue')['default']

frontend/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,15 @@
99
"serve": "vite preview"
1010
},
1111
"dependencies": {
12-
"@tiptap/extension-paragraph": "^2.4.0",
1312
"@twilio/voice-sdk": "^2.10.2",
14-
"@vueuse/core": "^10.3.0",
1513
"@vueuse/integrations": "^10.3.0",
16-
"feather-icons": "^4.28.0",
17-
"frappe-ui": "^0.1.118",
14+
"frappe-ui": "^0.1.121",
1815
"gemoji": "^8.1.0",
1916
"lodash": "^4.17.21",
2017
"mime": "^4.0.1",
2118
"pinia": "^2.0.33",
2219
"socket.io-client": "^4.7.2",
2320
"sortablejs": "^1.15.0",
24-
"tailwindcss": "^3.3.3",
2521
"vue": "^3.5.13",
2622
"vue-router": "^4.2.2",
2723
"vuedraggable": "^4.1.0"
@@ -31,6 +27,7 @@
3127
"@vitejs/plugin-vue-jsx": "^3.0.1",
3228
"autoprefixer": "^10.4.14",
3329
"postcss": "^8.4.5",
30+
"tailwindcss": "^3.4.15",
3431
"vite": "^4.4.9",
3532
"vite-plugin-pwa": "^0.15.0"
3633
}

frontend/src/components/Activities/AttachmentArea.vue

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,29 @@
4343
attachment.is_private ? __('Make public') : __('Make private')
4444
"
4545
>
46-
<Button
47-
class="!size-5"
48-
@click.stop="
49-
togglePrivate(attachment.name, attachment.is_private)
50-
"
51-
>
52-
<FeatherIcon
53-
:name="attachment.is_private ? 'lock' : 'unlock'"
54-
class="size-3 text-ink-gray-7"
55-
/>
56-
</Button>
46+
<div>
47+
<Button
48+
class="!size-5"
49+
@click.stop="
50+
togglePrivate(attachment.name, attachment.is_private)
51+
"
52+
>
53+
<FeatherIcon
54+
:name="attachment.is_private ? 'lock' : 'unlock'"
55+
class="size-3 text-ink-gray-7"
56+
/>
57+
</Button>
58+
</div>
5759
</Tooltip>
5860
<Tooltip :text="__('Delete attachment')">
59-
<Button
60-
class="!size-5"
61-
@click.stop="() => deleteAttachment(attachment.name)"
62-
>
63-
<FeatherIcon name="trash-2" class="size-3 text-ink-gray-7" />
64-
</Button>
61+
<div>
62+
<Button
63+
class="!size-5"
64+
@click.stop="() => deleteAttachment(attachment.name)"
65+
>
66+
<FeatherIcon name="trash-2" class="size-3 text-ink-gray-7" />
67+
</Button>
68+
</div>
6569
</Tooltip>
6670
</div>
6771
</div>

frontend/src/components/Activities/NoteArea.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div
3-
class="activity group flex h-48 cursor-pointer flex-col justify-between gap-2 rounded-md bg-surface-menu-bar px-4 py-3 hover:bg-surface-gray-2"
3+
class="activity group flex h-48 cursor-pointer flex-col justify-between gap-2 rounded-md bg-surface-gray-1 px-4 py-3 hover:bg-surface-gray-2"
44
>
55
<div class="flex items-center justify-between">
6-
<div class="truncate text-lg font-medium">
6+
<div class="truncate text-lg font-medium text-ink-gray-8">
77
{{ note.title }}
88
</div>
99
<Dropdown

frontend/src/components/Activities/TaskArea.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@
4242
@click.stop
4343
>
4444
<Tooltip :text="__('Change Status')">
45-
<Button variant="ghosted" class="hover:bg-surface-gray-4">
46-
<TaskStatusIcon :status="task.status" />
47-
</Button>
45+
<div>
46+
<Button variant="ghosted" class="hover:bg-surface-gray-4">
47+
<TaskStatusIcon :status="task.status" />
48+
</Button>
49+
</div>
4850
</Tooltip>
4951
</Dropdown>
5052
<Dropdown

frontend/src/components/CommunicationArea.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,11 @@ const commentEmpty = computed(() => {
175175
})
176176
177177
const emailEmpty = computed(() => {
178-
return !newEmail.value || newEmail.value === '<p></p>'
178+
return (
179+
!newEmail.value ||
180+
newEmail.value === '<p></p>' ||
181+
!newEmailEditor.value?.toEmails?.length
182+
)
179183
})
180184
181185
async function sendMail() {

0 commit comments

Comments
 (0)