You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/OpenSign/src/pages/Opensigndrive.js
+52-43Lines changed: 52 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -129,40 +129,6 @@ function Opensigndrive() {
129
129
),
130
130
position: "top",
131
131
style: {fontSize: "13px"}
132
-
},
133
-
134
-
{
135
-
selector: '[data-tut="reactourFifth"]',
136
-
content: ()=>(
137
-
<TourContentWithBtn
138
-
message={`The document list is displayed according to the selected sorting option. Icons next to each document indicate its current status.`}
139
-
isChecked={handleDontShow}
140
-
/>
141
-
),
142
-
position: "bottom",
143
-
style: {fontSize: "13px"}
144
-
},
145
-
{
146
-
selector: '[data-tut="reactourSixth"]',
147
-
content: ()=>(
148
-
<TourContentWithBtn
149
-
message={`Right-click on a document to see options such as Download, Rename, Move, and Delete. Click on the document to open it.`}
150
-
isChecked={handleDontShow}
151
-
/>
152
-
),
153
-
position: "bottom",
154
-
style: {fontSize: "13px"}
155
-
},
156
-
{
157
-
selector: '[data-tut="reactourSeventh"]',
158
-
content: ()=>(
159
-
<TourContentWithBtn
160
-
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.`}
161
-
isChecked={handleDontShow}
162
-
/>
163
-
),
164
-
position: "bottom",
165
-
style: {fontSize: "13px"}
166
132
}
167
133
];
168
134
//function for get all pdf document list
@@ -177,7 +143,43 @@ function Opensigndrive() {
177
143
if(driveDetails&&driveDetails==="Error: Something went wrong!"){
178
144
setHandleError("Error: Something went wrong!");
179
145
}elseif(driveDetails&&driveDetails.length>0){
180
-
letnewTour=tourConfigs;
146
+
constaddMoreTour=[
147
+
{
148
+
selector: '[data-tut="reactourFifth"]',
149
+
content: ()=>(
150
+
<TourContentWithBtn
151
+
message={`The document list is displayed according to the selected sorting option. Icons next to each document indicate its current status.`}
152
+
isChecked={handleDontShow}
153
+
/>
154
+
),
155
+
position: "bottom",
156
+
style: {fontSize: "13px"}
157
+
},
158
+
{
159
+
selector: '[data-tut="reactourSixth"]',
160
+
content: ()=>(
161
+
<TourContentWithBtn
162
+
message={`Right-click on a document to see options such as Download, Rename, Move, and Delete. Click on the document to open it.`}
163
+
isChecked={handleDontShow}
164
+
/>
165
+
),
166
+
position: "bottom",
167
+
style: {fontSize: "13px"}
168
+
},
169
+
{
170
+
selector: '[data-tut="reactourSeventh"]',
171
+
content: ()=>(
172
+
<TourContentWithBtn
173
+
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.`}
Copy file name to clipboardExpand all lines: apps/OpenSign/src/pages/Report.js
+36-33Lines changed: 36 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -56,39 +56,6 @@ const Report = () => {
56
56
// setIsLoader(true);
57
57
constjson=reportJson(id);
58
58
if(json){
59
-
if(id==="6TeaPr321t"){
60
-
consttourConfig=[
61
-
{
62
-
selector: "[data-tut=reactourFirst]",
63
-
content: ()=>(
64
-
<TourContentWithBtn
65
-
message={
66
-
"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."
67
-
}
68
-
isChecked={handleDontShow}
69
-
/>
70
-
),
71
-
position: "top",
72
-
style: {fontSize: "13px"}
73
-
}
74
-
];
75
-
json.actions.map((data)=>{
76
-
constnewConfig={
77
-
selector: `[data-tut="${data?.selector}"]`,
78
-
content: ()=>(
79
-
<TourContentWithBtn
80
-
message={data?.message}
81
-
isChecked={handleDontShow}
82
-
/>
83
-
),
84
-
position: "top",
85
-
style: {fontSize: "13px"}
86
-
};
87
-
tourConfig.push(newConfig);
88
-
});
89
-
setTourData(tourConfig);
90
-
}
91
-
92
59
setActions(json.actions);
93
60
setHeading(json.heading);
94
61
setReportName(json.reportName);
@@ -108,6 +75,42 @@ const Report = () => {
108
75
headers: headers,
109
76
signal: abortController.signal// is used to cancel fetch query
110
77
});
78
+
if(id==="6TeaPr321t"){
79
+
consttourConfig=[
80
+
{
81
+
selector: "[data-tut=reactourFirst]",
82
+
content: ()=>(
83
+
<TourContentWithBtn
84
+
message={
85
+
"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."
0 commit comments