From 031d565d0e110be998804b1899c4b2cd3fbca520 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Wed, 18 Nov 2026 10:23:37 -0800
Subject: [PATCH] Swap whats new for docs in slim sidebar
---
.../app/components/app-frame/app-frame.component.html | 11 ++++++-----
.../components/app-frame/app-frame.component.spec.ts | 6 +++++-
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html
index 0cdcb54e79..e3ce466f56 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.html
+++ b/src-ui/src/app/components/app-frame/app-frame.component.html
@@ -361,7 +361,8 @@
}
-
+
@if (slimSidebarEnabled && settingsService.unseenReleasesSince()) {
-
-
}
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.spec.ts b/src-ui/src/app/components/app-frame/app-frame.component.spec.ts
index 3c32269628..12f66aa464 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.spec.ts
+++ b/src-ui/src/app/components/app-frame/app-frame.component.spec.ts
@@ -722,7 +722,7 @@ describe('AppFrameComponent', () => {
).toBeUndefined()
})
- it('should show new release dot in slim sidebar', () => {
+ it('should show new release dot instead of documentation in slim sidebar', () => {
settingsService.set(SETTINGS_KEYS.SLIM_SIDEBAR, true)
settingsService.set(SETTINGS_KEYS.VERSION, '3.5.1')
settingsService.set(SETTINGS_KEYS.WHATS_NEW_LAST_SEEN_VERSION, '3.4.2')
@@ -733,6 +733,10 @@ describe('AppFrameComponent', () => {
By.css('button[aria-label="See what\'s new in this version"]')
)
).toBeTruthy()
+ const docsItem = fixture.debugElement
+ .query(By.css('a[href="https://docs.paperless-ngx.com"].nav-anchor'))
+ .nativeElement.closest('li')
+ expect(docsItem.classList).toContain('d-md-none')
})
it('should show tasks badge for needs-attention tasks', () => {