Add configurability to dashboard scrollers with support for magic shelves (#1453)

This commit is contained in:
Aditya Chandel
2025-10-26 11:51:06 -06:00
committed by GitHub
parent 4251fe42c3
commit 11e59f7588
19 changed files with 842 additions and 77 deletions
@@ -13,16 +13,14 @@ export class DialogLauncherService {
dialogService = inject(DialogService);
open(options: { component: any; header: string; top?: string; width?: string }): DynamicDialogRef | null {
open(options: { component: any; header: string; top?: string; width?: string; showHeader?: boolean }): DynamicDialogRef | null {
const isMobile = window.innerWidth <= 768;
const {component, header, top, width} = options;
const {component, header, top, width, showHeader = true} = options;
return this.dialogService.open(component, {
header,
showHeader,
modal: true,
closable: true,
contentStyle: {
overflowY: 'hidden',
},
style: {
position: 'absolute',
...(top ? {top} : {}),