Skip to content

Window controls (iframe and modal)

Consistent controls on every window

On pages that are shown as a window (WordPress iframe or Fleek modal), the header usually has window controls.

Typical controls

  • Close – Closes the window (or navigates away). May use shortcut Alt+W. On an iframe, closing typically navigates back (e.g. to dashboard or to the minimized-windows page if that's where you came from).

  • Minimize – Adds the current page to the minimized list and navigates to #/minimized-windows. Shortcut often Alt+M.

  • Fullscreen – Toggles maximized (fullscreen) state so the window uses the full content area. Shortcut may be Space or another key. A Pin control may also be present: when pinned, the header stays visible (e.g. doesn't auto-hide) so the window behaves like a "pinned" tab.

Where they appear

  • WordPress iframe – When you're on a route like #/wp/edit.php?post_type=post, the iframe has its own header (or the layout wraps it) with IframeWindowControls (close, minimize, fullscreen). So you can minimize that WordPress screen into the FleekDash window list.

  • Fleek modal / overlay – When a GlobalFleekWindow (or similar) is open (e.g. a React modal or overlay), its header can expose the same ideas: close, minimize, fullscreen, pin. Minimizing adds the modal's state/URL to the minimized list and navigates to the minimized-windows page.

Benefit: Consistent controls on every "window" so you can close, minimize, or go fullscreen without guessing.