Skip to content

Increase flexibility for maximum windows limit #2880

@ishikabhoyar

Description

@ishikabhoyar

Is your feature request related to a problem? Please describe.
Currently, the application enforces a hardcoded maximum window limit of 50 for Electron environments and 15 for web environments. This can be limiting for users who need more flexibility, especially those working with multiple APIs or power users with capable hardware. There's no way for users to adjust these limits based on their needs or system resources.

Describe the solution you'd like
I would like the maximum window limit to be configurable through the application's settings or configuration file. Sensible defaults can remain (e.g., 50 for Electron, 15 for web), but users should be able to override these values based on their workflow and hardware capabilities. Ideally, the settings dialog should have a UI control for this value, and the limit should be validated to prevent unreasonable usage.

Describe alternatives you've considered

  • Keeping the current hardcoded limits (less flexible, not ideal for all users)
  • Having only environment-based defaults without user override

Additional context
The current implementation is found in packages/altair-core/src/config/index.ts in the Altair GraphQL repository:

max_windows = isElectron ? 50 : 15;

Providing a configurable option will improve user experience and allow power users to optimize their workflow.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions