Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • electron electron
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • packages
  • electronelectron
  • Merge requests
  • !3

ICS-11798. Add native second monitor host

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexia requested to merge codex/ics-11798 into next Sep 04, 2026
  • Overview 0
  • Commits 2
  • Pipelines 2
  • Changes 11

Implements the Electron host required by ICS-11798.

  • Adds an independent fullscreen BrowserWindow on the first non-primary display.
  • Adds typed preload APIs for display discovery, open/close, snapshots and topology changes.
  • Retains snapshots during renderer loading and safely tears down on display changes.
  • Keeps the capability optional in the public ElectronApi type so existing app mocks remain source-compatible.
  • Lazily initializes the native host, leaving display listeners and windows completely dormant in kiosk and other consumers until they call the capability.
  • POS/Android implementation: https://gitlab.icssolution.com/back/pos-app/-/merge_requests/73

Validation: TypeScript check, formatting/lint, package build and the full test suite passed (151 passed, 1 skipped). Kiosk's existing createMockElectronApi type-checks unchanged against the generated package declaration.

Edited Sep 04, 2026 by Alexia
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: codex/ics-11798