Skip to content

[RFE] Improve Headless UX for desktop app #493

Open
@illume

Description

@illume

Current situation

"Headless mode" is when the Headlamp app uses the browser window rather than an Electron app window.

Currently

  • the headless app opens a browser window/tab, and then when someone closes that tab the server is still running.
  • the default behaviour is to not use headless mode.

Impact

When the browser tab is closed the backend server keeps running.

Ideal future situation

There's no way to:

  • close a headless app from within the browser.
  • open a browser tab for the app when a browser tab is closed.

Implementation options

  • Have a on close window handler when asks the user "Do you want to close app?", or simply closes the backend server.
  • For changing the default to headless mode, have a build time configuration to make that the default.

Metadata

Metadata

Assignees

Labels

appdistributionRelated to distributing headlamp (for example with package managers or listed on websites)headlesslifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions