Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework Layouts _(dekstop and tablet only)_ #214

Open
bdlukaa opened this issue Feb 11, 2024 · 0 comments
Open

Rework Layouts _(dekstop and tablet only)_ #214

bdlukaa opened this issue Feb 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bdlukaa
Copy link
Collaborator

bdlukaa commented Feb 11, 2024

The devices screen is where users will be most of the time. Therefore, it is crucial to have a feature proof layout system.

Fullscreen

Ability to open the layout in fullscreen. When the mouse reaches the top, the navigator should be displayed. This is also useful for embedded devices, such as Raspberry PI, and could be enabled by default using command line arguments. (#32)

Static layouts

The current layout system is dynamic, meaning the devices will be adjusted to fit the available space. A static layout system defines a grid that the devices will need to operate in. Like in the current implementation, devices will be reorderable.

Dynamic layouts

Dynamic layouts will continue to exist but will be placed with some changes:

  • 3 devices: a 1x3 grid;
  • 4 devices: a 2x2 grid;
  • 5 to 6 devices: a 2x3 grid;
  • 7 to 9 devices: a 3x3 grid:
  • 10 to 12 devices: 4x3 grid;
  • 13 to 16 devices: 4x4 grid;

Each layout will have a maximum of 16 devices.

Compact layout

A compact layout can accept up to 16 devices at once, but they are displayed in a 2x2 grid with sub grids:

  • 4 devices: no sub grids;
  • 5 to 7 devices: 1 sub grid;
  • 8 to 10 devices: 2 sub grids;
  • 11 to 13 devices: 3 sub grids;
  • 14 to 16 devices: 4 sub grids.

Layout editor

The layout editor is an interface in which the user will be able to create layouts as needed. This is useful for cases in which the existing dynamic and static layouts are not enough, or the user wants more control over the layout customization. As for the functionalities:

  • add a new row;
  • add a new column;
  • compact grid tile;
  • tile cycle (different cameras can be shown in each tile);

In each slot, one can decide whether to add a single camera tile or a "compact layout sub grid" tile.

Export and import

The layouts will be able to be exported to a .xml file and be imported.

@bdlukaa bdlukaa added the enhancement New feature or request label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant