From de95b296a00006fa954c790703ce38214e7dd069 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:56:40 -0700 Subject: [PATCH] Change: open not edit (#7942) --- src-ui/messages.xlf | 168 +++++++++--------- src-ui/src/app/app.module.ts | 2 + .../global-search.component.html | 8 +- .../document-card-large.component.html | 2 +- .../document-card-small.component.html | 4 +- 5 files changed, 93 insertions(+), 91 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index fa644ca36..6eb03d736 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -2235,11 +2235,11 @@ src/app/components/manage/mail/mail.component.ts - 160 + 158 src/app/components/manage/mail/mail.component.ts - 240 + 238 src/app/components/manage/management-list/management-list.component.ts @@ -2265,7 +2265,7 @@ src/app/components/document-detail/document-detail.component.ts - 824 + 825 @@ -2408,26 +2408,10 @@ src/app/components/admin/users-groups/users-groups.component.html 73 - - src/app/components/app-frame/global-search/global-search.component.html - 59 - - - src/app/components/app-frame/global-search/global-search.component.html - 76 - src/app/components/common/input/permissions/permissions-form/permissions-form.component.html 53 - - src/app/components/document-list/document-card-large/document-card-large.component.html - 57 - - - src/app/components/document-list/document-card-small/document-card-small.component.html - 129 - src/app/components/manage/custom-fields/custom-fields.component.html 35 @@ -2558,19 +2542,19 @@ src/app/components/document-detail/document-detail.component.ts - 848 + 849 src/app/components/document-detail/document-detail.component.ts - 1139 + 1140 src/app/components/document-detail/document-detail.component.ts - 1177 + 1178 src/app/components/document-detail/document-detail.component.ts - 1218 + 1219 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -2590,11 +2574,11 @@ src/app/components/manage/mail/mail.component.ts - 162 + 160 src/app/components/manage/mail/mail.component.ts - 242 + 240 src/app/components/manage/management-list/management-list.component.ts @@ -2956,6 +2940,22 @@ src/app/components/app-frame/global-search/global-search.component.html 56 + + src/app/components/app-frame/global-search/global-search.component.html + 59 + + + src/app/components/app-frame/global-search/global-search.component.html + 76 + + + src/app/components/document-list/document-card-large/document-card-large.component.html + 57 + + + src/app/components/document-list/document-card-small/document-card-small.component.html + 129 + Filter documents @@ -3137,7 +3137,7 @@ src/app/components/document-detail/document-detail.component.ts - 801 + 802 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -5916,7 +5916,7 @@ src/app/components/document-detail/document-detail.component.ts - 1195 + 1196 src/app/guards/dirty-saved-view.guard.ts @@ -6185,56 +6185,56 @@ An error occurred loading content: src/app/components/document-detail/document-detail.component.ts - 342,344 + 337,339 Document changes detected src/app/components/document-detail/document-detail.component.ts - 365 + 366 The version of this document in your browser session appears older than the existing version. src/app/components/document-detail/document-detail.component.ts - 366 + 367 Saving the document here may overwrite other changes that were made. To restore the existing version, discard your changes or close the document. src/app/components/document-detail/document-detail.component.ts - 367 + 368 Ok src/app/components/document-detail/document-detail.component.ts - 369 + 370 Next document src/app/components/document-detail/document-detail.component.ts - 476 + 477 Previous document src/app/components/document-detail/document-detail.component.ts - 486 + 487 Close document src/app/components/document-detail/document-detail.component.ts - 494 + 495 src/app/services/open-documents.service.ts @@ -6245,57 +6245,57 @@ Save document src/app/components/document-detail/document-detail.component.ts - 501 + 502 Error retrieving metadata src/app/components/document-detail/document-detail.component.ts - 543 + 544 Error retrieving suggestions. src/app/components/document-detail/document-detail.component.ts - 568 + 569 Document saved successfully. src/app/components/document-detail/document-detail.component.ts - 715 + 716 src/app/components/document-detail/document-detail.component.ts - 729 + 730 Error saving document src/app/components/document-detail/document-detail.component.ts - 733 + 734 src/app/components/document-detail/document-detail.component.ts - 774 + 775 Do you really want to move the document "" to the trash? src/app/components/document-detail/document-detail.component.ts - 802 + 803 Documents can be restored prior to permanent deletion. src/app/components/document-detail/document-detail.component.ts - 803 + 804 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -6306,7 +6306,7 @@ Move to trash src/app/components/document-detail/document-detail.component.ts - 805 + 806 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -6317,7 +6317,7 @@ Reprocess confirm src/app/components/document-detail/document-detail.component.ts - 844 + 845 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -6328,70 +6328,70 @@ This operation will permanently recreate the archive file for this document. src/app/components/document-detail/document-detail.component.ts - 845 + 846 The archive file will be re-generated with the current settings. src/app/components/document-detail/document-detail.component.ts - 846 + 847 Reprocess operation will begin in the background. Close and re-open or reload this document after the operation has completed to see new content. src/app/components/document-detail/document-detail.component.ts - 856 + 857 Error executing operation src/app/components/document-detail/document-detail.component.ts - 867 + 868 Page Fit src/app/components/document-detail/document-detail.component.ts - 936 + 937 Split confirm src/app/components/document-detail/document-detail.component.ts - 1137 + 1138 This operation will split the selected document(s) into new documents. src/app/components/document-detail/document-detail.component.ts - 1138 + 1139 Split operation will begin in the background. src/app/components/document-detail/document-detail.component.ts - 1154 + 1155 Error executing split operation src/app/components/document-detail/document-detail.component.ts - 1163 + 1164 Rotate confirm src/app/components/document-detail/document-detail.component.ts - 1175 + 1176 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -6402,49 +6402,49 @@ This operation will permanently rotate the original version of the current document. src/app/components/document-detail/document-detail.component.ts - 1176 + 1177 Rotation will begin in the background. Close and re-open the document after the operation has completed to see the changes. src/app/components/document-detail/document-detail.component.ts - 1192 + 1193 Error executing rotate operation src/app/components/document-detail/document-detail.component.ts - 1204 + 1205 Delete pages confirm src/app/components/document-detail/document-detail.component.ts - 1216 + 1217 This operation will permanently delete the selected pages from the original document. src/app/components/document-detail/document-detail.component.ts - 1217 + 1218 Delete pages operation will begin in the background. Close and re-open or reload this document after the operation has completed to see the changes. src/app/components/document-detail/document-detail.component.ts - 1232 + 1233 Error executing delete pages operation src/app/components/document-detail/document-detail.component.ts - 1241 + 1242 @@ -7681,147 +7681,147 @@ Error retrieving mail accounts src/app/components/manage/mail/mail.component.ts - 81 + 79 Error retrieving mail rules src/app/components/manage/mail/mail.component.ts - 95 + 93 OAuth2 authentication success src/app/components/manage/mail/mail.component.ts - 103 + 101 OAuth2 authentication failed, see logs for details src/app/components/manage/mail/mail.component.ts - 114 + 112 Saved account "". src/app/components/manage/mail/mail.component.ts - 138 + 136 Error saving account. src/app/components/manage/mail/mail.component.ts - 150 + 148 Confirm delete mail account src/app/components/manage/mail/mail.component.ts - 158 + 156 This operation will permanently delete this mail account. src/app/components/manage/mail/mail.component.ts - 159 + 157 Deleted mail account src/app/components/manage/mail/mail.component.ts - 168 + 166 Error deleting mail account. src/app/components/manage/mail/mail.component.ts - 178 + 176 Saved rule "". src/app/components/manage/mail/mail.component.ts - 197 + 195 Error saving rule. src/app/components/manage/mail/mail.component.ts - 208 + 206 Rule "" enabled. src/app/components/manage/mail/mail.component.ts - 224 + 222 Rule "" disabled. src/app/components/manage/mail/mail.component.ts - 225 + 223 Error toggling rule. src/app/components/manage/mail/mail.component.ts - 229 + 227 Confirm delete mail rule src/app/components/manage/mail/mail.component.ts - 238 + 236 This operation will permanently delete this mail rule. src/app/components/manage/mail/mail.component.ts - 239 + 237 Deleted mail rule src/app/components/manage/mail/mail.component.ts - 248 + 246 Error deleting mail rule. src/app/components/manage/mail/mail.component.ts - 257 + 255 Permissions updated src/app/components/manage/mail/mail.component.ts - 279 + 277 Error updating permissions src/app/components/manage/mail/mail.component.ts - 284 + 282 src/app/components/manage/management-list/management-list.component.ts diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 06acf7c07..08b3348e7 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -145,6 +145,7 @@ import { asterisk, braces, bodyText, + boxArrowInRight, boxArrowUp, boxArrowUpRight, boxes, @@ -252,6 +253,7 @@ const icons = { asterisk, braces, bodyText, + boxArrowInRight, boxArrowUp, boxArrowUpRight, boxes, diff --git a/src-ui/src/app/components/app-frame/global-search/global-search.component.html b/src-ui/src/app/components/app-frame/global-search/global-search.component.html index 1e51dc1b6..2f5104547 100644 --- a/src-ui/src/app/components/app-frame/global-search/global-search.component.html +++ b/src-ui/src/app/components/app-frame/global-search/global-search.component.html @@ -49,14 +49,14 @@ [disabled]="disablePrimaryButton(type, item)" (mouseenter)="onButtonHover($event)"> @if (type === DataType.Document) { - +  Open } @else if (type === DataType.SavedView) {  Open } @else if (type === DataType.Workflow || type === DataType.CustomField || type === DataType.Group || type === DataType.User || type === DataType.MailAccount || type === DataType.MailRule) { -  Edit +  Open } @else {  Filter documents @@ -72,8 +72,8 @@  Download } @else { - -  Edit + +  Open } } diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index 41de0e49d..c8adc759d 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -54,7 +54,7 @@  More like this -  Edit +  Open