mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-26 01:22:31 +02:00
fix: change tour message
This commit is contained in:
@@ -416,7 +416,7 @@ function Placeholder(props) {
|
||||
|
||||
{props.pos.type !== textWidget && !props.isSignYourself && (
|
||||
<i
|
||||
data-tut="reactourLinkUser"
|
||||
data-tut="assignSigner"
|
||||
className="fa-regular fa-user signUserIcon"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
@@ -182,7 +182,8 @@ export default function reportJson(id) {
|
||||
btnIcon: "fa fa-plus",
|
||||
redirectUrl: "placeHolderSign",
|
||||
selector: "reactourSecond",
|
||||
message: "onclick use button to create document from template."
|
||||
message:
|
||||
"Click the ‘Use’ button to create a new document from an existing template."
|
||||
},
|
||||
{
|
||||
btnLabel: "Edit",
|
||||
@@ -191,7 +192,8 @@ export default function reportJson(id) {
|
||||
btnIcon: "fa fa-plus",
|
||||
redirectUrl: "template",
|
||||
selector: "reactourThird",
|
||||
message: "onclick edit button you can edit template."
|
||||
message:
|
||||
"Use the ‘Edit’ button to add signer roles, modify fields, and update your template. Changes will apply to all future documents created from this template but won’t affect existing documents."
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ function Opensigndrive() {
|
||||
selector: '[data-tut="reactourFirst"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`click on folder path you can re-redirect to see of that folder list of document.`}
|
||||
message={`Click on the breadcrumb links to easily navigate through the folder hierarchy and view the documents within each folder.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -101,7 +101,7 @@ function Opensigndrive() {
|
||||
selector: '[data-tut="reactourSecond"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`click on add button you can see option of to create new folder and create new document.`}
|
||||
message={`Click the add button to create a new folder or document.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -112,7 +112,7 @@ function Opensigndrive() {
|
||||
selector: '[data-tut="reactourThird"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`you can sort your document list using Date or Name.`}
|
||||
message={`Sort your documents by Date or Name using this menu.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -123,7 +123,7 @@ function Opensigndrive() {
|
||||
selector: '[data-tut="reactourForth"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`click on this menu you can change document list in table format.`}
|
||||
message={`Click on this menu to display the documents in list view.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -135,7 +135,7 @@ function Opensigndrive() {
|
||||
selector: '[data-tut="reactourFifth"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`this document list is render according to selected sort and icon show document status.`}
|
||||
message={`The document list is displayed according to the selected sorting option. Icons next to each document indicate its current status.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -146,9 +146,7 @@ function Opensigndrive() {
|
||||
selector: '[data-tut="reactourSixth"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`on right click on document you can see four option (Download,Rename,Move,Delete) and onclick on document
|
||||
you can navigate next page to see status of document
|
||||
.`}
|
||||
message={`Right-click on a document to see options such as Download, Rename, Move, and Delete. Click on the document to open it.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -159,9 +157,7 @@ function Opensigndrive() {
|
||||
selector: '[data-tut="reactourSeventh"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`on right click on folder you can see option (Rename) and onclick on folder
|
||||
you can navigate next page to see document list exist in that folder
|
||||
.`}
|
||||
message={`Right-click on any folder to see options. Choose ‘Rename’ to change the folder’s name or click on the folder to navigate through its contents.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
|
||||
@@ -853,9 +853,10 @@ function PlaceHolderSign() {
|
||||
};
|
||||
setIsSendAlert(alert);
|
||||
} else if (filterPrefill.length === signersdata.length) {
|
||||
const IsSignerNotExist = filterPrefill?.some((x) => !x.signerObjId);
|
||||
if (IsSignerNotExist) {
|
||||
const IsSignerNotExist = filterPrefill?.filter((x) => !x.signerObjId);
|
||||
if (IsSignerNotExist && IsSignerNotExist?.length > 0) {
|
||||
setSignerExistModal(true);
|
||||
setSelectWidgetId(IsSignerNotExist[0]?.placeHolder?.[0]?.pos?.[0]?.key);
|
||||
} else {
|
||||
saveDocumentDetails();
|
||||
}
|
||||
@@ -997,7 +998,6 @@ function PlaceHolderSign() {
|
||||
</span>
|
||||
<RWebShare
|
||||
data={{
|
||||
// text: "Like humans, flamingos make friends for life",
|
||||
url: data.url,
|
||||
title: "Sign url"
|
||||
}}
|
||||
@@ -1220,22 +1220,12 @@ function PlaceHolderSign() {
|
||||
position: "top",
|
||||
style: { fontSize: "13px" }
|
||||
},
|
||||
{
|
||||
selector: '[data-tut="reactourLinkUser"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`Use this icon to assign a new signer or change the existing one for the placeholder.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
position: "top",
|
||||
style: { fontSize: "13px" }
|
||||
},
|
||||
|
||||
{
|
||||
selector: '[data-tut="reactourFour"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`Clicking "Send" button will share the document with all the recipients.It will also send out emails to everyone on the recipients list.`}
|
||||
message={`Clicking "Send" will save the document. In the next step you can customize the emails to be sent out to the recipients or copy the signing links and share those with the recipients yourself.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -1549,6 +1539,15 @@ function PlaceHolderSign() {
|
||||
}
|
||||
};
|
||||
|
||||
const signerAssignTour = [
|
||||
{
|
||||
selector: '[data-tut="assignSigner"]',
|
||||
content:
|
||||
" Please assign a new signer to use this icon for the placeholder. ",
|
||||
position: "top",
|
||||
style: { fontSize: "13px" }
|
||||
}
|
||||
];
|
||||
return (
|
||||
<>
|
||||
<Title title={state?.title ? state.title : "New Document"} />
|
||||
@@ -1598,6 +1597,13 @@ function PlaceHolderSign() {
|
||||
closeWithMask={false}
|
||||
/>
|
||||
)}
|
||||
<Tour
|
||||
onRequestClose={() => setSignerExistModal(false)}
|
||||
steps={signerAssignTour}
|
||||
isOpen={signerExistModal}
|
||||
rounded={5}
|
||||
closeWithMask={false}
|
||||
/>
|
||||
{/* this component used to render all pdf pages in left side */}
|
||||
<RenderAllPdfPage
|
||||
signPdfUrl={pdfDetails[0].URL}
|
||||
@@ -2029,7 +2035,7 @@ function PlaceHolderSign() {
|
||||
)}
|
||||
</DndProvider>
|
||||
<div>
|
||||
<ModalUi
|
||||
{/* <ModalUi
|
||||
headerColor={"#dc3545"}
|
||||
isOpen={signerExistModal}
|
||||
title={"Users required"}
|
||||
@@ -2057,7 +2063,7 @@ function PlaceHolderSign() {
|
||||
Close
|
||||
</button>
|
||||
</div>
|
||||
</ModalUi>
|
||||
</ModalUi> */}
|
||||
<ModalUi
|
||||
headerColor={"#dc3545"}
|
||||
isOpen={isAlreadyPlace.status}
|
||||
|
||||
@@ -62,7 +62,9 @@ const Report = () => {
|
||||
selector: "[data-tut=reactourFirst]",
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`onclick add button you can create new template.`}
|
||||
message={
|
||||
"Click the ‘Add’ button to create a new template. Templates are reusable documents designed to quickly generate new documents with the same structure and varying signers. For example, an HR template for onboarding could have predefined roles like ‘HR Manager’ and ‘New Employee’. Each time you use the template, you can assign the ‘New Employee’ role to different incoming staff members, while the ‘HR Manager’ role remains constant, facilitating a seamless onboarding process for each recruit."
|
||||
}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
|
||||
@@ -765,7 +765,7 @@ const TemplatePlaceholder = () => {
|
||||
selector: '[data-tut="reactourSecond"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`Drag a widget placeholder onto the PDF to choose your desired signing location.`}
|
||||
message={`Drag or click on a field to add it to the document.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
@@ -787,7 +787,7 @@ const TemplatePlaceholder = () => {
|
||||
selector: '[data-tut="reactourFour"]',
|
||||
content: () => (
|
||||
<TourContentWithBtn
|
||||
message={`Clicking "Save" button will save the template and will ask you if you want to create a new document using this template.`}
|
||||
message={`Clicking ‘Save’ will store the current template. After saving, you’ll be prompted to create a new document from this template if you wish.`}
|
||||
isChecked={handleDontShow}
|
||||
/>
|
||||
),
|
||||
|
||||
@@ -24,6 +24,7 @@ export default async function getInvoices(request) {
|
||||
invoiceCls.skip(skip);
|
||||
invoiceCls.descending('createdAt');
|
||||
const invoices = await invoiceCls.find({ useMasterKey: true });
|
||||
console.log('invoices', invoices);
|
||||
if (invoices?.length > 0) {
|
||||
const _invoices = JSON.parse(JSON.stringify(invoices));
|
||||
return { status: 'success', result: _invoices };
|
||||
|
||||
Reference in New Issue
Block a user