updates
This commit is contained in:
parent
f992fbb5a6
commit
ab85dc5d55
|
|
@ -37,8 +37,12 @@
|
||||||
variant="flat"
|
variant="flat"
|
||||||
prepend-icon="mdi-file-document-plus"
|
prepend-icon="mdi-file-document-plus"
|
||||||
:size="mobile ? 'default' : 'large'"
|
:size="mobile ? 'default' : 'large'"
|
||||||
|
class="text-center"
|
||||||
|
block
|
||||||
>
|
>
|
||||||
Generate EOI
|
<span class="d-flex align-center justify-center w-100">
|
||||||
|
Generate EOI
|
||||||
|
</span>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-btn
|
<v-btn
|
||||||
|
|
@ -110,12 +114,18 @@
|
||||||
Signature Status
|
Signature Status
|
||||||
<v-btn
|
<v-btn
|
||||||
icon="mdi-refresh"
|
icon="mdi-refresh"
|
||||||
variant="text"
|
variant="tonal"
|
||||||
size="x-small"
|
size="x-small"
|
||||||
class="ml-2"
|
class="ml-2"
|
||||||
|
color="primary"
|
||||||
@click="checkSignatureStatus"
|
@click="checkSignatureStatus"
|
||||||
:loading="isCheckingSignatures"
|
:loading="isCheckingSignatures"
|
||||||
></v-btn>
|
>
|
||||||
|
<v-icon size="x-small">mdi-refresh</v-icon>
|
||||||
|
<v-tooltip activator="parent" location="top">
|
||||||
|
Refresh signature status
|
||||||
|
</v-tooltip>
|
||||||
|
</v-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-list :density="mobile ? 'compact' : 'comfortable'">
|
<v-list :density="mobile ? 'compact' : 'comfortable'">
|
||||||
|
|
@ -141,12 +151,31 @@
|
||||||
</v-list-item-title>
|
</v-list-item-title>
|
||||||
<v-list-item-subtitle :class="mobile ? 'text-caption' : ''">{{ interest['Full Name'] }}</v-list-item-subtitle>
|
<v-list-item-subtitle :class="mobile ? 'text-caption' : ''">{{ interest['Full Name'] }}</v-list-item-subtitle>
|
||||||
<template v-slot:append>
|
<template v-slot:append>
|
||||||
<v-btn
|
<div class="d-flex gap-1">
|
||||||
icon="mdi-content-copy"
|
<v-btn
|
||||||
variant="text"
|
icon="mdi-content-copy"
|
||||||
:size="mobile ? 'small' : 'default'"
|
variant="text"
|
||||||
@click="copyLink(interest['Signature Link Client'])"
|
:size="mobile ? 'small' : 'default'"
|
||||||
></v-btn>
|
@click="copyLink(interest['Signature Link Client'])"
|
||||||
|
>
|
||||||
|
<v-icon>mdi-content-copy</v-icon>
|
||||||
|
<v-tooltip activator="parent" location="top">
|
||||||
|
Copy signature link
|
||||||
|
</v-tooltip>
|
||||||
|
</v-btn>
|
||||||
|
<v-btn
|
||||||
|
icon="mdi-open-in-new"
|
||||||
|
variant="text"
|
||||||
|
:size="mobile ? 'small' : 'default'"
|
||||||
|
@click="openLinkInNewTab(interest['Signature Link Client'])"
|
||||||
|
:disabled="!interest['Signature Link Client']"
|
||||||
|
>
|
||||||
|
<v-icon>mdi-open-in-new</v-icon>
|
||||||
|
<v-tooltip activator="parent" location="top">
|
||||||
|
Open in new tab
|
||||||
|
</v-tooltip>
|
||||||
|
</v-btn>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
|
|
@ -172,12 +201,31 @@
|
||||||
</v-list-item-title>
|
</v-list-item-title>
|
||||||
<v-list-item-subtitle :class="mobile ? 'text-caption' : ''">Oscar Faragher</v-list-item-subtitle>
|
<v-list-item-subtitle :class="mobile ? 'text-caption' : ''">Oscar Faragher</v-list-item-subtitle>
|
||||||
<template v-slot:append>
|
<template v-slot:append>
|
||||||
<v-btn
|
<div class="d-flex gap-1">
|
||||||
icon="mdi-content-copy"
|
<v-btn
|
||||||
variant="text"
|
icon="mdi-content-copy"
|
||||||
:size="mobile ? 'small' : 'default'"
|
variant="text"
|
||||||
@click="copyLink(interest['Signature Link CC'])"
|
:size="mobile ? 'small' : 'default'"
|
||||||
></v-btn>
|
@click="copyLink(interest['Signature Link CC'])"
|
||||||
|
>
|
||||||
|
<v-icon>mdi-content-copy</v-icon>
|
||||||
|
<v-tooltip activator="parent" location="top">
|
||||||
|
Copy signature link
|
||||||
|
</v-tooltip>
|
||||||
|
</v-btn>
|
||||||
|
<v-btn
|
||||||
|
icon="mdi-open-in-new"
|
||||||
|
variant="text"
|
||||||
|
:size="mobile ? 'small' : 'default'"
|
||||||
|
@click="openLinkInNewTab(interest['Signature Link CC'])"
|
||||||
|
:disabled="!interest['Signature Link CC']"
|
||||||
|
>
|
||||||
|
<v-icon>mdi-open-in-new</v-icon>
|
||||||
|
<v-tooltip activator="parent" location="top">
|
||||||
|
Open in new tab
|
||||||
|
</v-tooltip>
|
||||||
|
</v-btn>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
|
|
@ -203,12 +251,31 @@
|
||||||
</v-list-item-title>
|
</v-list-item-title>
|
||||||
<v-list-item-subtitle :class="mobile ? 'text-caption' : ''">David Mizrahi</v-list-item-subtitle>
|
<v-list-item-subtitle :class="mobile ? 'text-caption' : ''">David Mizrahi</v-list-item-subtitle>
|
||||||
<template v-slot:append>
|
<template v-slot:append>
|
||||||
<v-btn
|
<div class="d-flex gap-1">
|
||||||
icon="mdi-content-copy"
|
<v-btn
|
||||||
variant="text"
|
icon="mdi-content-copy"
|
||||||
:size="mobile ? 'small' : 'default'"
|
variant="text"
|
||||||
@click="copyLink(interest['Signature Link Developer'])"
|
:size="mobile ? 'small' : 'default'"
|
||||||
></v-btn>
|
@click="copyLink(interest['Signature Link Developer'])"
|
||||||
|
>
|
||||||
|
<v-icon>mdi-content-copy</v-icon>
|
||||||
|
<v-tooltip activator="parent" location="top">
|
||||||
|
Copy signature link
|
||||||
|
</v-tooltip>
|
||||||
|
</v-btn>
|
||||||
|
<v-btn
|
||||||
|
icon="mdi-open-in-new"
|
||||||
|
variant="text"
|
||||||
|
:size="mobile ? 'small' : 'default'"
|
||||||
|
@click="openLinkInNewTab(interest['Signature Link Developer'])"
|
||||||
|
:disabled="!interest['Signature Link Developer']"
|
||||||
|
>
|
||||||
|
<v-icon>mdi-open-in-new</v-icon>
|
||||||
|
<v-tooltip activator="parent" location="top">
|
||||||
|
Open in new tab
|
||||||
|
</v-tooltip>
|
||||||
|
</v-btn>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
|
|
@ -574,6 +641,17 @@ const copyLink = async (link: string | undefined) => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const openLinkInNewTab = (link: string | undefined) => {
|
||||||
|
if (!link) return;
|
||||||
|
|
||||||
|
try {
|
||||||
|
window.open(link, '_blank', 'noopener,noreferrer');
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Failed to open link:', error);
|
||||||
|
toast.error('Failed to open link in new tab');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const formatDate = (dateString: string) => {
|
const formatDate = (dateString: string) => {
|
||||||
if (!dateString) return '';
|
if (!dateString) return '';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,8 @@ watch(showDialog, (newValue) => {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: linear-gradient(90deg, #ff5722, #d32f2f);
|
background: linear-gradient(90deg, #ff5722, #d32f2f);
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
transition: width 0.1s ease;
|
transition: none;
|
||||||
|
will-change: width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.slider-handle {
|
.slider-handle {
|
||||||
|
|
@ -226,7 +227,8 @@ watch(showDialog, (newValue) => {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
transition: transform 0.1s ease;
|
transition: none;
|
||||||
|
will-change: transform, left;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,9 @@ export const updateInterest = async (id: string, data: Partial<Interest>, retryC
|
||||||
// Add the new signature link fields
|
// Add the new signature link fields
|
||||||
"Signature Link Client",
|
"Signature Link Client",
|
||||||
"Signature Link CC",
|
"Signature Link CC",
|
||||||
"Signature Link Developer"
|
"Signature Link Developer",
|
||||||
|
// Add the Documenso document ID field
|
||||||
|
"documensoID"
|
||||||
];
|
];
|
||||||
|
|
||||||
// Filter the data to only include allowed fields
|
// Filter the data to only include allowed fields
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue