From 314e34c3b74d40b4a49b9116ba47fa289d5066b3 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:02:13 -0700 Subject: [PATCH] Include saved views in global search --- src-ui/messages.xlf | 1079 +++++++++-------- .../global-search.component.html | 11 +- .../global-search.component.spec.ts | 6 + .../global-search/global-search.component.ts | 3 + src-ui/src/app/data/datatype.ts | 1 + .../src/app/services/rest/search.service.ts | 2 + src/documents/tests/test_api_search.py | 13 +- src/documents/views.py | 15 +- src/locale/en_US/LC_MESSAGES/django.po | 142 +-- 9 files changed, 721 insertions(+), 551 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 134905485..9d1a30fd6 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -240,18 +240,18 @@ Document was added to Paperless-ngx. src/app/app.component.ts - 81 + 83 src/app/app.component.ts - 90 + 92 Open document src/app/app.component.ts - 83 + 85 src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html @@ -262,28 +262,109 @@ Could not add : src/app/app.component.ts - 105 + 107 Document is being processed by Paperless-ngx. src/app/app.component.ts - 120 + 122 + + + + Dashboard + + src/app/app.component.ts + 129 + + + src/app/components/app-frame/app-frame.component.html + 81 + + + src/app/components/app-frame/app-frame.component.html + 83 + + + src/app/components/dashboard/dashboard.component.html + 1 + + + + Documents + + src/app/app.component.ts + 140 + + + src/app/components/app-frame/app-frame.component.html + 88 + + + src/app/components/app-frame/app-frame.component.html + 90 + + + src/app/components/document-list/document-list.component.ts + 101 + + + src/app/components/manage/management-list/management-list.component.html + 90 + + + src/app/components/manage/management-list/management-list.component.html + 90 + + + src/app/components/manage/management-list/management-list.component.html + 90 + + + src/app/components/manage/management-list/management-list.component.html + 90 + + + + Settings + + src/app/app.component.ts + 152 + + + src/app/components/admin/settings/settings.component.html + 2 + + + src/app/components/admin/settings/settings.component.html + 323 + + + src/app/components/app-frame/app-frame.component.html + 50 + + + src/app/components/app-frame/app-frame.component.html + 228 + + + src/app/components/app-frame/app-frame.component.html + 230 Prev src/app/app.component.ts - 126 + 158 Next src/app/app.component.ts - 127 + 159 src/app/components/document-detail/document-detail.component.html @@ -294,56 +375,56 @@ End src/app/app.component.ts - 128 + 160 The dashboard can be used to show saved views, such as an 'Inbox'. Those settings are found under Settings > Saved Views once you have created some. src/app/app.component.ts - 134 + 166 Drag-and-drop documents here to start uploading or place them in the consume folder. You can also drag-and-drop documents anywhere on all other pages of the web app. Once you do, Paperless-ngx will start training its machine learning algorithms. src/app/app.component.ts - 141 + 173 The documents list shows all of your documents and allows for filtering as well as bulk-editing. There are three different view styles: list, small cards and large cards. A list of documents currently opened for editing is shown in the sidebar. src/app/app.component.ts - 146 + 178 The filtering tools allow you to quickly find documents using various searches, dates, tags, etc. src/app/app.component.ts - 153 + 185 Any combination of filters can be saved as a 'view' which can then be displayed on the dashboard and / or sidebar. src/app/app.component.ts - 159 + 191 Tags, correspondents, document types and storage paths can all be managed using these pages. They can also be created from the document edit view. src/app/app.component.ts - 164 + 196 Manage e-mail accounts and rules for automatically importing documents. src/app/app.component.ts - 172 + 204 src/app/components/manage/mail/mail.component.html @@ -354,14 +435,14 @@ Workflows give you more control over the document pipeline. src/app/app.component.ts - 180 + 212 File Tasks shows you documents that have been consumed, are waiting to be, or may have failed during the process. src/app/app.component.ts - 188 + 220 src/app/components/admin/tasks/tasks.component.html @@ -372,28 +453,28 @@ Check out the settings for various tweaks to the web app and toggle settings for saved views. src/app/app.component.ts - 196 + 228 Thank you! 🙏 src/app/app.component.ts - 204 + 236 There are <em>tons</em> more features and info we didn't cover here, but this should get you started. Check out the documentation or visit the project on GitHub to learn more or to report issues. src/app/app.component.ts - 206 + 238 Lastly, on behalf of every contributor to this community-supported project, thank you for using Paperless-ngx! src/app/app.component.ts - 208 + 240 @@ -424,10 +505,6 @@ src/app/components/common/permissions-select/permissions-select.component.html 22 - - src/app/components/document-history/document-history.component.html - 35 - Read the documentation about this setting @@ -451,7 +528,7 @@ src/app/components/document-detail/document-detail.component.html - 333 + 322 @@ -462,7 +539,7 @@ src/app/components/admin/settings/settings.component.html - 376 + 384 src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html @@ -510,7 +587,7 @@ src/app/components/document-detail/document-detail.component.html - 325 + 314 src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html @@ -567,11 +644,11 @@ src/app/components/app-frame/app-frame.component.html - 272 + 263 src/app/components/app-frame/app-frame.component.html - 275 + 266 @@ -604,7 +681,7 @@ src/app/components/admin/settings/settings.component.html - 364 + 372 src/app/components/admin/tasks/tasks.component.html @@ -640,7 +717,7 @@ src/app/components/document-detail/document-detail.component.html - 342 + 331 src/app/components/document-list/document-list.component.html @@ -667,29 +744,6 @@ 51 - - Settings - - src/app/components/admin/settings/settings.component.html - 2 - - - src/app/components/admin/settings/settings.component.html - 315 - - - src/app/components/app-frame/app-frame.component.html - 59 - - - src/app/components/app-frame/app-frame.component.html - 237 - - - src/app/components/app-frame/app-frame.component.html - 239 - - Options to customize appearance, notifications, saved views and more. Settings apply to the <strong>current user only</strong>. @@ -939,11 +993,29 @@ 196 + + Global search + + src/app/components/admin/settings/settings.component.html + 200 + + + src/app/components/app-frame/global-search/global-search.component.ts + 91 + + + + Search database only (do not include advanced search results) + + src/app/components/admin/settings/settings.component.html + 204 + + Notes src/app/components/admin/settings/settings.component.html - 200 + 208 src/app/components/document-list/document-list.component.html @@ -951,21 +1023,21 @@ src/app/services/rest/document.service.ts - 33 + 32 Enable notes src/app/components/admin/settings/settings.component.html - 204 + 212 Permissions src/app/components/admin/settings/settings.component.html - 212 + 220 src/app/components/common/edit-dialog/group-edit-dialog/group-edit-dialog.component.html @@ -981,15 +1053,15 @@ src/app/components/document-detail/document-detail.component.html - 301 + 290 src/app/components/document-list/bulk-editor/bulk-editor.component.html - 82 + 86 src/app/components/document-list/filter-editor/filter-editor.component.html - 90 + 104 src/app/components/manage/mail/mail.component.html @@ -1020,28 +1092,28 @@ Default Permissions src/app/components/admin/settings/settings.component.html - 215 + 223 Settings apply to this user account for objects (Tags, Mail Rules, etc.) created via the web UI src/app/components/admin/settings/settings.component.html - 219,221 + 227,229 Default Owner src/app/components/admin/settings/settings.component.html - 226 + 234 Objects without an owner can be viewed and edited by all users src/app/components/admin/settings/settings.component.html - 230 + 238 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -1052,18 +1124,18 @@ Default View Permissions src/app/components/admin/settings/settings.component.html - 235 + 243 Users: src/app/components/admin/settings/settings.component.html - 240 + 248 src/app/components/admin/settings/settings.component.html - 267 + 275 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -1094,11 +1166,11 @@ Groups: src/app/components/admin/settings/settings.component.html - 250 + 258 src/app/components/admin/settings/settings.component.html - 277 + 285 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -1129,14 +1201,14 @@ Default Edit Permissions src/app/components/admin/settings/settings.component.html - 262 + 270 Edit permissions also grant viewing permissions src/app/components/admin/settings/settings.component.html - 286 + 294 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -1155,74 +1227,74 @@ Notifications src/app/components/admin/settings/settings.component.html - 294 + 302 Document processing src/app/components/admin/settings/settings.component.html - 297 + 305 Show notifications when new documents are detected src/app/components/admin/settings/settings.component.html - 301 + 309 Show notifications when document processing completes successfully src/app/components/admin/settings/settings.component.html - 302 + 310 Show notifications when document processing fails src/app/components/admin/settings/settings.component.html - 303 + 311 Suppress notifications on dashboard src/app/components/admin/settings/settings.component.html - 304 + 312 This will suppress all messages about document processing status on the dashboard. src/app/components/admin/settings/settings.component.html - 304 + 312 Saved views src/app/components/admin/settings/settings.component.html - 312 + 320 src/app/components/app-frame/app-frame.component.html - 107 + 98 Show warning when closing saved views with unsaved changes src/app/components/admin/settings/settings.component.html - 318 + 326 Views src/app/components/admin/settings/settings.component.html - 322 + 330 src/app/components/document-list/document-list.component.html @@ -1233,7 +1305,7 @@ Name src/app/components/admin/settings/settings.component.html - 328 + 336 src/app/components/admin/tasks/tasks.component.html @@ -1340,14 +1412,14 @@  Appears on src/app/components/admin/settings/settings.component.html - 332,333 + 340,341 Show on dashboard src/app/components/admin/settings/settings.component.html - 335 + 343 src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html @@ -1358,7 +1430,7 @@ Show in sidebar src/app/components/admin/settings/settings.component.html - 339 + 347 src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html @@ -1369,7 +1441,7 @@ Actions src/app/components/admin/settings/settings.component.html - 343 + 351 src/app/components/admin/tasks/tasks.component.html @@ -1393,7 +1465,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html - 88 + 92 src/app/components/manage/custom-fields/custom-fields.component.html @@ -1432,7 +1504,7 @@ Delete src/app/components/admin/settings/settings.component.html - 346 + 354 src/app/components/admin/users-groups/users-groups.component.html @@ -1468,7 +1540,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html - 142 + 146 src/app/components/manage/custom-fields/custom-fields.component.html @@ -1543,7 +1615,7 @@ No saved views defined. src/app/components/admin/settings/settings.component.html - 358 + 366 @@ -1564,7 +1636,7 @@ Error retrieving users src/app/components/admin/settings/settings.component.ts - 183 + 184 src/app/components/admin/users-groups/users-groups.component.ts @@ -1575,7 +1647,7 @@ Error retrieving groups src/app/components/admin/settings/settings.component.ts - 202 + 203 src/app/components/admin/users-groups/users-groups.component.ts @@ -1586,46 +1658,46 @@ Saved view "" deleted. src/app/components/admin/settings/settings.component.ts - 410 + 412 Settings were saved successfully. src/app/components/admin/settings/settings.component.ts - 536 + 542 Settings were saved successfully. Reload is required to apply some changes. src/app/components/admin/settings/settings.component.ts - 540 + 546 Reload now src/app/components/admin/settings/settings.component.ts - 541 + 547 An error occurred while saving settings. src/app/components/admin/settings/settings.component.ts - 551 + 557 src/app/components/app-frame/app-frame.component.ts - 140 + 126 Error while storing settings on server. src/app/components/admin/settings/settings.component.ts - 585 + 591 @@ -1636,11 +1708,11 @@ src/app/components/app-frame/app-frame.component.html - 260 + 251 src/app/components/app-frame/app-frame.component.html - 262 + 253 @@ -1682,11 +1754,11 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 76 + 90 src/app/services/rest/document.service.ts - 30 + 29 @@ -1834,11 +1906,11 @@ src/app/components/app-frame/app-frame.component.html - 251 + 242 src/app/components/app-frame/app-frame.component.html - 253 + 244 @@ -1906,6 +1978,14 @@ src/app/components/admin/users-groups/users-groups.component.html 73 + + src/app/components/app-frame/global-search/global-search.component.html + 41 + + + src/app/components/app-frame/global-search/global-search.component.html + 57 + src/app/components/common/input/permissions/permissions-form/permissions-form.component.html 53 @@ -2036,15 +2116,15 @@ src/app/components/document-detail/document-detail.component.ts - 769 + 804 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 591 + 594 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 630 + 633 src/app/components/manage/custom-fields/custom-fields.component.ts @@ -2079,27 +2159,27 @@ src/app/components/document-detail/document-detail.component.ts - 771 + 806 src/app/components/document-detail/document-detail.component.ts - 1064 + 1088 src/app/components/document-detail/document-detail.component.ts - 1102 + 1126 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 632 + 635 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 665 + 668 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 684 + 687 src/app/components/manage/custom-fields/custom-fields.component.ts @@ -2185,129 +2265,76 @@ 20 - - Search documents - - src/app/components/app-frame/app-frame.component.html - 31 - - Logged in as src/app/components/app-frame/app-frame.component.html - 51 + 42 My Profile src/app/components/app-frame/app-frame.component.html - 55 + 46 Logout src/app/components/app-frame/app-frame.component.html - 62 + 53 Documentation src/app/components/app-frame/app-frame.component.html - 67 + 58 src/app/components/app-frame/app-frame.component.html - 281 + 272 src/app/components/app-frame/app-frame.component.html - 284 - - - - Dashboard - - src/app/components/app-frame/app-frame.component.html - 90 - - - src/app/components/app-frame/app-frame.component.html - 92 - - - src/app/components/dashboard/dashboard.component.html - 1 - - - - Documents - - src/app/components/app-frame/app-frame.component.html - 97 - - - src/app/components/app-frame/app-frame.component.html - 99 - - - src/app/components/document-list/document-list.component.ts - 99 - - - src/app/components/manage/management-list/management-list.component.html - 90 - - - src/app/components/manage/management-list/management-list.component.html - 90 - - - src/app/components/manage/management-list/management-list.component.html - 90 - - - src/app/components/manage/management-list/management-list.component.html - 90 + 275 Open documents src/app/components/app-frame/app-frame.component.html - 137 + 128 Close all src/app/components/app-frame/app-frame.component.html - 157 + 148 src/app/components/app-frame/app-frame.component.html - 159 + 150 Manage src/app/components/app-frame/app-frame.component.html - 168 + 159 Correspondents src/app/components/app-frame/app-frame.component.html - 174 + 165 src/app/components/app-frame/app-frame.component.html - 176 + 167 src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.html @@ -2318,11 +2345,11 @@ Tags src/app/components/app-frame/app-frame.component.html - 181 + 172 src/app/components/app-frame/app-frame.component.html - 184 + 175 src/app/components/common/input/tags/tags.component.ts @@ -2342,18 +2369,18 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 33 + 39 Document Types src/app/components/app-frame/app-frame.component.html - 190 + 181 src/app/components/app-frame/app-frame.component.html - 192 + 183 src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.html @@ -2364,11 +2391,11 @@ Storage Paths src/app/components/app-frame/app-frame.component.html - 197 + 188 src/app/components/app-frame/app-frame.component.html - 199 + 190 src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.html @@ -2379,11 +2406,11 @@ Custom Fields src/app/components/app-frame/app-frame.component.html - 204 + 195 src/app/components/app-frame/app-frame.component.html - 206 + 197 src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html @@ -2398,11 +2425,11 @@ Workflows src/app/components/app-frame/app-frame.component.html - 213 + 204 src/app/components/app-frame/app-frame.component.html - 215 + 206 src/app/components/manage/workflows/workflows.component.html @@ -2413,92 +2440,257 @@ Mail src/app/components/app-frame/app-frame.component.html - 220 + 211 src/app/components/app-frame/app-frame.component.html - 223 + 214 Administration src/app/components/app-frame/app-frame.component.html - 231 + 222 Configuration src/app/components/app-frame/app-frame.component.html - 244 + 235 src/app/components/app-frame/app-frame.component.html - 246 + 237 GitHub src/app/components/app-frame/app-frame.component.html - 291 + 282 is available. src/app/components/app-frame/app-frame.component.html - 300,301 + 291,292 Click to view. src/app/components/app-frame/app-frame.component.html - 301 + 292 Paperless-ngx can automatically check for updates src/app/components/app-frame/app-frame.component.html - 305 + 296 How does this work? src/app/components/app-frame/app-frame.component.html - 312,314 + 303,305 Update available src/app/components/app-frame/app-frame.component.html - 325 + 316 Sidebar views updated src/app/components/app-frame/app-frame.component.ts - 282 + 209 Error updating sidebar views src/app/components/app-frame/app-frame.component.ts - 285 + 212 An error occurred while saving update checking settings. src/app/components/app-frame/app-frame.component.ts - 306 + 233 + + + + Search + + src/app/components/app-frame/global-search/global-search.component.html + 6 + + + + Open + + src/app/components/app-frame/global-search/global-search.component.html + 35 + + + src/app/components/app-frame/global-search/global-search.component.html + 38 + + + + Filter documents + + src/app/components/app-frame/global-search/global-search.component.html + 44 + + + + Download + + src/app/components/app-frame/global-search/global-search.component.html + 54 + + + src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html + 55 + + + src/app/components/document-detail/document-detail.component.html + 29 + + + src/app/components/document-list/bulk-editor/bulk-editor.component.html + 118 + + + src/app/components/document-list/document-card-large/document-card-large.component.html + 64 + + + src/app/components/document-list/document-card-small/document-card-small.component.html + 102 + + + + No results + + src/app/components/app-frame/global-search/global-search.component.html + 67 + + + + Documents + + src/app/components/app-frame/global-search/global-search.component.html + 70 + + + + Saved Views + + src/app/components/app-frame/global-search/global-search.component.html + 76 + + + + Tags + + src/app/components/app-frame/global-search/global-search.component.html + 83 + + + + Correspondents + + src/app/components/app-frame/global-search/global-search.component.html + 90 + + + + Document types + + src/app/components/app-frame/global-search/global-search.component.html + 97 + + + + Storage paths + + src/app/components/app-frame/global-search/global-search.component.html + 104 + + + + Users + + src/app/components/app-frame/global-search/global-search.component.html + 111 + + + + Groups + + src/app/components/app-frame/global-search/global-search.component.html + 118 + + + + Custom fields + + src/app/components/app-frame/global-search/global-search.component.html + 125 + + + + Mail accounts + + src/app/components/app-frame/global-search/global-search.component.html + 132 + + + + Mail rules + + src/app/components/app-frame/global-search/global-search.component.html + 139 + + + + Workflows + + src/app/components/app-frame/global-search/global-search.component.html + 146 + + + + Successfully updated object. + + src/app/components/app-frame/global-search/global-search.component.ts + 167 + + + src/app/components/app-frame/global-search/global-search.component.ts + 205 + + + + Error occurred saving object. + + src/app/components/app-frame/global-search/global-search.component.ts + 170 + + + src/app/components/app-frame/global-search/global-search.component.ts + 208 @@ -2542,19 +2734,19 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 367 + 370 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 407 + 410 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 445 + 448 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 483 + 486 @@ -4016,10 +4208,24 @@ Not assigned src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts - 337 + 340 Filter drop down element to filter for documents with no correspondent/type/tag assigned + + Open filter + + src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts + 452 + + + + Keyboard shortcuts + + src/app/components/common/hotkey-dialog/hotkey-dialog.component.ts + 20 + + Remove @@ -4325,7 +4531,7 @@ Inherited from group src/app/components/common/permissions-select/permissions-select.component.ts - 63 + 61 @@ -4822,11 +5028,11 @@ src/app/components/document-list/filter-editor/filter-editor.component.ts - 115 + 125 src/app/services/rest/document.service.ts - 28 + 27 @@ -4841,7 +5047,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html - 36 + 37 src/app/components/document-list/document-list.component.html @@ -4849,11 +5055,11 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 44 + 52 src/app/services/rest/document.service.ts - 27 + 26 @@ -4863,29 +5069,6 @@ 47 - - Download - - src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html - 55 - - - src/app/components/document-detail/document-detail.component.html - 29 - - - src/app/components/document-list/bulk-editor/bulk-editor.component.html - 114 - - - src/app/components/document-list/document-card-large/document-card-large.component.html - 64 - - - src/app/components/document-list/document-card-small/document-card-small.component.html - 102 - - No documents @@ -5008,7 +5191,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 312 + 315 this string is used to separate processing, failed and added on the file upload widget @@ -5083,7 +5266,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html - 92 + 96 @@ -5112,7 +5295,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html - 95 + 99 @@ -5123,7 +5306,7 @@ src/app/components/document-detail/document-detail.component.ts - 1120 + 1144 src/app/guards/dirty-saved-view.guard.ts @@ -5166,7 +5349,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html - 50 + 52 src/app/components/document-list/document-list.component.html @@ -5174,11 +5357,11 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 54 + 64 src/app/services/rest/document.service.ts - 29 + 28 @@ -5189,7 +5372,7 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html - 64 + 67 src/app/components/document-list/document-list.component.html @@ -5197,7 +5380,7 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 64 + 76 @@ -5316,110 +5499,135 @@ 279,282 - - History - - src/app/components/document-detail/document-detail.component.html - 290 - - Save & next src/app/components/document-detail/document-detail.component.html - 327 + 316 Save & close src/app/components/document-detail/document-detail.component.html - 330 + 319 Enter Password src/app/components/document-detail/document-detail.component.html - 381 + 370 An error occurred loading content: src/app/components/document-detail/document-detail.component.ts - 328,330 + 329,331 Document changes detected src/app/components/document-detail/document-detail.component.ts - 351 + 352 The version of this document in your browser session appears older than the existing version. src/app/components/document-detail/document-detail.component.ts - 352 + 353 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 - 353 + 354 Ok src/app/components/document-detail/document-detail.component.ts - 355 + 356 + + + + Next document + + src/app/components/document-detail/document-detail.component.ts + 463 + + + + Previous document + + src/app/components/document-detail/document-detail.component.ts + 473 + + + + Close document + + src/app/components/document-detail/document-detail.component.ts + 481 + + + src/app/services/open-documents.service.ts + 116 + + + + Save document + + src/app/components/document-detail/document-detail.component.ts + 488 Error retrieving metadata src/app/components/document-detail/document-detail.component.ts - 495 + 530 Error retrieving suggestions. src/app/components/document-detail/document-detail.component.ts - 520 + 555 Document saved successfully. src/app/components/document-detail/document-detail.component.ts - 641 + 676 src/app/components/document-detail/document-detail.component.ts - 652 + 687 Error saving document src/app/components/document-detail/document-detail.component.ts - 656 + 691 src/app/components/document-detail/document-detail.component.ts - 697 + 732 Confirm delete src/app/components/document-detail/document-detail.component.ts - 724 + 759 src/app/components/manage/management-list/management-list.component.ts @@ -5434,145 +5642,138 @@ Do you really want to delete document ""? src/app/components/document-detail/document-detail.component.ts - 725 + 760 The files for this document will be deleted permanently. This operation cannot be undone. src/app/components/document-detail/document-detail.component.ts - 726 + 761 Delete document src/app/components/document-detail/document-detail.component.ts - 728 + 763 Error deleting document src/app/components/document-detail/document-detail.component.ts - 747 + 782 Redo OCR confirm src/app/components/document-detail/document-detail.component.ts - 767 + 802 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 628 + 631 This operation will permanently redo OCR for this document. src/app/components/document-detail/document-detail.component.ts - 768 + 803 Redo OCR 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 - 779 + 814 Error executing operation src/app/components/document-detail/document-detail.component.ts - 790 + 825 Page Fit src/app/components/document-detail/document-detail.component.ts - 859 + 894 Split confirm src/app/components/document-detail/document-detail.component.ts - 1062 + 1086 This operation will split the selected document(s) into new documents. src/app/components/document-detail/document-detail.component.ts - 1063 + 1087 Split operation will begin in the background. src/app/components/document-detail/document-detail.component.ts - 1078 + 1102 Error executing split operation src/app/components/document-detail/document-detail.component.ts - 1087 + 1111 Rotate confirm src/app/components/document-detail/document-detail.component.ts - 1099 + 1123 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 661 + 664 This operation will permanently rotate the original version of the current document. src/app/components/document-detail/document-detail.component.ts - 1100 + 1124 This will alter the original copy. src/app/components/document-detail/document-detail.component.ts - 1101 + 1125 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 663 + 666 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 - 1117 + 1141 Error executing rotate operation src/app/components/document-detail/document-detail.component.ts - 1129 - - - - No entries found. - - src/app/components/document-history/document-history.component.html - 10 + 1153 @@ -5597,100 +5798,100 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 34 + 40 Filter correspondents src/app/components/document-list/bulk-editor/bulk-editor.component.html - 37 + 38 src/app/components/document-list/filter-editor/filter-editor.component.html - 45 + 53 Filter document types src/app/components/document-list/bulk-editor/bulk-editor.component.html - 51 + 53 src/app/components/document-list/filter-editor/filter-editor.component.html - 55 + 65 Filter storage paths src/app/components/document-list/bulk-editor/bulk-editor.component.html - 65 + 68 src/app/components/document-list/filter-editor/filter-editor.component.html - 65 + 77 Merge src/app/components/document-list/bulk-editor/bulk-editor.component.html - 98 + 102 Include: src/app/components/document-list/bulk-editor/bulk-editor.component.html - 120 + 124 Archived files src/app/components/document-list/bulk-editor/bulk-editor.component.html - 124 + 128 Original files src/app/components/document-list/bulk-editor/bulk-editor.component.html - 128 + 132 Use formatted filename src/app/components/document-list/bulk-editor/bulk-editor.component.html - 133 + 137 Error executing bulk operation src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 229 + 232 "" src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 304 + 307 src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 310 + 313 "" and "" src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 306 + 309 This is for messages like 'modify "tag1" and "tag2"' @@ -5698,7 +5899,7 @@ and "" src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 314,316 + 317,319 this is for messages like 'modify "tag1", "tag2" and "tag3"' @@ -5706,14 +5907,14 @@ Confirm tags assignment src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 331 + 334 This operation will add the tag "" to selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 337 + 340 @@ -5722,14 +5923,14 @@ )"/> to selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 342,344 + 345,347 This operation will remove the tag "" from selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 350 + 353 @@ -5738,7 +5939,7 @@ )"/> from selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 355,357 + 358,360 @@ -5749,126 +5950,126 @@ )"/> on selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 359,363 + 362,366 Confirm correspondent assignment src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 400 + 403 This operation will assign the correspondent "" to selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 402 + 405 This operation will remove the correspondent from selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 404 + 407 Confirm document type assignment src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 438 + 441 This operation will assign the document type "" to selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 440 + 443 This operation will remove the document type from selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 442 + 445 Confirm storage path assignment src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 476 + 479 This operation will assign the storage path "" to selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 478 + 481 This operation will remove the storage path from selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 480 + 483 Delete confirm src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 589 + 592 This operation will permanently delete selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 590 + 593 Delete document(s) src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 593 + 596 This operation will permanently redo OCR for selected document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 629 + 632 This operation will permanently rotate the original version of document(s). src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 662 + 665 Merge confirm src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 682 + 685 This operation will merge selected documents into a new document. src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 683 + 686 Merged document will be queued for consumption. src/app/components/document-list/bulk-editor/bulk-editor.component.ts - 696 + 699 @@ -6025,6 +6226,10 @@ src/app/components/document-list/document-list.component.html 10 + + src/app/components/document-list/document-list.component.ts + 212 + Select all @@ -6032,6 +6237,10 @@ src/app/components/document-list/document-list.component.html 11 + + src/app/components/document-list/document-list.component.ts + 205 + Sort @@ -6083,7 +6292,7 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 96 + 110 @@ -6108,11 +6317,11 @@ src/app/components/document-list/filter-editor/filter-editor.component.ts - 120 + 130 src/app/services/rest/document.service.ts - 26 + 25 @@ -6144,7 +6353,7 @@ src/app/services/rest/document.service.ts - 34 + 33 @@ -6190,11 +6399,11 @@ src/app/components/document-list/filter-editor/filter-editor.component.html - 82 + 96 src/app/services/rest/document.service.ts - 31 + 30 @@ -6204,81 +6413,95 @@ 230 + + Reset filters / selection + + src/app/components/document-list/document-list.component.ts + 193 + + + + Open first [selected] document + + src/app/components/document-list/document-list.component.ts + 221 + + View "" saved successfully. src/app/components/document-list/document-list.component.ts - 209 + 255 View "" created successfully. src/app/components/document-list/document-list.component.ts - 250 + 296 Title & content src/app/components/document-list/filter-editor/filter-editor.component.ts - 118 + 128 Custom fields src/app/components/document-list/filter-editor/filter-editor.component.ts - 123 + 133 Advanced search src/app/components/document-list/filter-editor/filter-editor.component.ts - 127 + 137 More like src/app/components/document-list/filter-editor/filter-editor.component.ts - 133 + 143 equals src/app/components/document-list/filter-editor/filter-editor.component.ts - 139 + 149 is empty src/app/components/document-list/filter-editor/filter-editor.component.ts - 143 + 153 is not empty src/app/components/document-list/filter-editor/filter-editor.component.ts - 147 + 157 greater than src/app/components/document-list/filter-editor/filter-editor.component.ts - 151 + 161 less than src/app/components/document-list/filter-editor/filter-editor.component.ts - 155 + 165 @@ -6287,14 +6510,14 @@ )?.name"/> src/app/components/document-list/filter-editor/filter-editor.component.ts - 175,177 + 185,187 Without correspondent src/app/components/document-list/filter-editor/filter-editor.component.ts - 179 + 189 @@ -6303,14 +6526,14 @@ )?.name"/> src/app/components/document-list/filter-editor/filter-editor.component.ts - 185,187 + 195,197 Without document type src/app/components/document-list/filter-editor/filter-editor.component.ts - 189 + 199 @@ -6319,14 +6542,14 @@ )?.name"/> src/app/components/document-list/filter-editor/filter-editor.component.ts - 195,197 + 205,207 Without storage path src/app/components/document-list/filter-editor/filter-editor.component.ts - 199 + 209 @@ -6334,49 +6557,49 @@ ?.name"/> src/app/components/document-list/filter-editor/filter-editor.component.ts - 203,204 + 213,214 Without any tag src/app/components/document-list/filter-editor/filter-editor.component.ts - 208 + 218 Title: src/app/components/document-list/filter-editor/filter-editor.component.ts - 212 + 222 ASN: src/app/components/document-list/filter-editor/filter-editor.component.ts - 215 + 225 Owner: src/app/components/document-list/filter-editor/filter-editor.component.ts - 218 + 228 Owner not in: src/app/components/document-list/filter-editor/filter-editor.component.ts - 221 + 231 Without an owner src/app/components/document-list/filter-editor/filter-editor.component.ts - 224 + 234 @@ -7328,11 +7551,11 @@ src/app/services/open-documents.service.ts - 104 + 108 src/app/services/open-documents.service.ts - 131 + 135 @@ -7343,7 +7566,7 @@ src/app/services/open-documents.service.ts - 132 + 136 @@ -7388,97 +7611,6 @@ 36 - - %s year ago - - src/app/pipes/custom-date.pipe.ts - 14 - - - - %s years ago - - src/app/pipes/custom-date.pipe.ts - 15 - - - - %s month ago - - src/app/pipes/custom-date.pipe.ts - 19 - - - - %s months ago - - src/app/pipes/custom-date.pipe.ts - 20 - - - - %s week ago - - src/app/pipes/custom-date.pipe.ts - 24 - - - - %s weeks ago - - src/app/pipes/custom-date.pipe.ts - 25 - - - - %s day ago - - src/app/pipes/custom-date.pipe.ts - 29 - - - - %s days ago - - src/app/pipes/custom-date.pipe.ts - 30 - - - - %s hour ago - - src/app/pipes/custom-date.pipe.ts - 34 - - - - %s hours ago - - src/app/pipes/custom-date.pipe.ts - 35 - - - - %s minute ago - - src/app/pipes/custom-date.pipe.ts - 39 - - - - %s minutes ago - - src/app/pipes/custom-date.pipe.ts - 40 - - - - Just now - - src/app/pipes/custom-date.pipe.ts - 72 - - (no title) @@ -7606,49 +7738,42 @@ You have unsaved changes to the document src/app/services/open-documents.service.ts - 106 + 110 Are you sure you want to close this document? src/app/services/open-documents.service.ts - 110 - - - - Close document - - src/app/services/open-documents.service.ts - 112 + 114 Are you sure you want to close all documents? src/app/services/open-documents.service.ts - 133 + 137 Close documents src/app/services/open-documents.service.ts - 135 + 139 Modified src/app/services/rest/document.service.ts - 32 + 31 Search score src/app/services/rest/document.service.ts - 41 + 40 Score is a value returned by the full text search engine and specifies how well a result matches the given query 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 93a704d62..9db58ab14 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 @@ -33,6 +33,9 @@ @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 @@ -41,7 +44,7 @@  Filter documents } - @if (type !== DataType.Workflow && type !== DataType.CustomField && type !== DataType.Group && type !== DataType.User && type !== DataType.MailAccount && type !== DataType.MailRule) { + @if (type !== DataType.SavedView && type !== DataType.Workflow && type !== DataType.CustomField && type !== DataType.Group && type !== DataType.User && type !== DataType.MailAccount && type !== DataType.MailRule) {