Enhancement: centralized management of share links + bundles (#14115)

This commit is contained in:
shamoon
2026-09-16 15:45:49 +00:00
committed by GitHub
parent cd53d1b2c8
commit c97c6923ea
25 changed files with 1027 additions and 159 deletions
@@ -291,6 +291,7 @@ describe('AppFrameComponent', () => {
settingsService.set(SETTINGS_KEYS.SIDEBAR_HIDDEN_ITEMS, [
HideableSidebarItemID.Dashboard,
HideableSidebarItemID.Workflows,
HideableSidebarItemID.ShareLinks,
])
fixture.detectChanges()
@@ -302,6 +303,10 @@ describe('AppFrameComponent', () => {
fixture.nativeElement.querySelector('[routerLink="workflows"]')
.parentElement.classList
).toContain('d-none')
expect(
fixture.nativeElement.querySelector('[routerLink="share-links"]')
.parentElement.classList
).toContain('d-none')
expect(
fixture.nativeElement.querySelector('[routerLink="mail"]').parentElement
.classList
@@ -319,7 +324,7 @@ describe('AppFrameComponent', () => {
expect(
fixture.nativeElement.querySelectorAll('pngx-input-switch').length
).toBe(5)
).toBe(6)
expect(
fixture.nativeElement.querySelector('[routerLink="dashboard"]')
.parentElement.classList