Commit 4aa0d52
committed
Add fullscreen, layout toggle and zoom UI
Introduce fullscreen support and refine layout/zoom controls and UI. Adds a floating fullscreen button (with F11 keyboard handling and native fullscreen API fallback), fullscreen CSS rules, and chart resize/fit on enter/exit. Replace dual layout buttons with a single toggle control (updateLayoutToggleButton, toggleLayoutOrientation) and update related template markup. Improve zoom handling by tracking a baselineZoomScale and ZOOM_TOLERANCE, hiding/showing a Reset Zoom button via updateResetZoomButtonVisibility, and updating zoom-in/out/transition logic to set user-adjusted state correctly. Consolidate expand/collapse into a single toggle-expand control (hasAnyCollapsedNodes, updateToggleExpandButton, toggleExpandCollapse), move direct-report counts into the +/- control (use rounded rect instead of circle), and hide the old count-badge. Misc UI/i18n tweaks: shorten export labels (SVG/PNG/PDF/XLSX), add a blue control button style, reduce expand-text font size, and adjust templates and locale strings accordingly.1 parent 679028a commit 4aa0d52
4 files changed
Lines changed: 325 additions & 51 deletions
0 commit comments