diff --git a/src-ui/src/app/app.component.ts b/src-ui/src/app/app.component.ts index 81a28c5e0..63ad3808d 100644 --- a/src-ui/src/app/app.component.ts +++ b/src-ui/src/app/app.component.ts @@ -121,6 +121,7 @@ export class AppComponent implements OnInit, OnDestroy { anchorId: 'tour.dashboard', content: $localize`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.`, route: '/dashboard', + placement: 'bottom', }, { anchorId: 'tour.upload-widget', @@ -130,20 +131,20 @@ export class AppComponent implements OnInit, OnDestroy { { anchorId: 'tour.documents', content: $localize`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.`, - route: '/documents', + route: '/documents?sort=created&reverse=1&page=1', delayAfterNavigation: 500, placement: 'bottom', }, { anchorId: 'tour.documents-filter-editor', content: $localize`The filtering tools allow you to quickly find documents using various searches, dates, tags, etc.`, - route: '/documents', + route: '/documents?sort=created&reverse=1&page=1', placement: 'bottom', }, { anchorId: 'tour.documents-views', content: $localize`Any combination of filters can be saved as a 'view' which can then be displayed on the dashboard and / or sidebar.`, - route: '/documents', + route: '/documents?sort=created&reverse=1&page=1', }, { anchorId: 'tour.tags', diff --git a/src-ui/src/app/components/dashboard/dashboard.component.html b/src-ui/src/app/components/dashboard/dashboard.component.html index 3ce9647cd..d57129a9a 100644 --- a/src-ui/src/app/components/dashboard/dashboard.component.html +++ b/src-ui/src/app/components/dashboard/dashboard.component.html @@ -19,7 +19,9 @@ -
+
+ +
diff --git a/src-ui/src/app/components/dashboard/widgets/welcome-widget/welcome-widget.component.html b/src-ui/src/app/components/dashboard/widgets/welcome-widget/welcome-widget.component.html index f72810d60..c12846b7e 100644 --- a/src-ui/src/app/components/dashboard/widgets/welcome-widget/welcome-widget.component.html +++ b/src-ui/src/app/components/dashboard/widgets/welcome-widget/welcome-widget.component.html @@ -1,4 +1,4 @@ - +

Paperless-ngx is running! 🎉

You're ready to start uploading documents! Explore the various features of this web app on your own, or start a quick tour using the button below.

diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html index f6c1bf803..94f67d68d 100644 --- a/src-ui/src/app/components/document-list/document-list.component.html +++ b/src-ui/src/app/components/document-list/document-list.component.html @@ -98,6 +98,7 @@
+
@@ -105,7 +106,6 @@ -
diff --git a/src-ui/src/app/components/document-list/popover-preview/popover-preview.scss b/src-ui/src/app/components/document-list/popover-preview/popover-preview.scss index d232930c2..8d31bf2fb 100644 --- a/src-ui/src/app/components/document-list/popover-preview/popover-preview.scss +++ b/src-ui/src/app/components/document-list/popover-preview/popover-preview.scss @@ -1,4 +1,4 @@ -::ng-deep .popover { +::ng-deep app-document-list .popover { max-width: 40rem; .preview { diff --git a/src-ui/src/app/services/settings.service.ts b/src-ui/src/app/services/settings.service.ts index b2f239b06..24b2d67ce 100644 --- a/src-ui/src/app/services/settings.service.ts +++ b/src-ui/src/app/services/settings.service.ts @@ -23,6 +23,7 @@ import { SETTINGS, SETTINGS_KEYS, } from '../data/paperless-uisettings' +import { SavedViewService } from './rest/saved-view.service' import { ToastService } from './toast.service' export interface LanguageOption { @@ -56,7 +57,8 @@ export class SettingsService { private meta: Meta, @Inject(LOCALE_ID) private localeId: string, protected http: HttpClient, - private toastService: ToastService + private toastService: ToastService, + private savedViewService: SavedViewService ) { this.renderer = rendererFactory.createRenderer(null, null) } @@ -448,7 +450,9 @@ export class SettingsService { } offerTour(): boolean { - return true - // !savedViewService.loading && savedViewService.dashboardViews.length == 0 + return ( + !this.savedViewService.loading && + this.savedViewService.dashboardViews.length == 0 + ) } }