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

Drag to reorder/resize cameras in camera groups #11279

Merged
merged 3 commits into from
May 7, 2024
Merged

Conversation

hawkeye217
Copy link
Collaborator

  • Add ability to reposition and resize camera streams in a camera group on desktops/tablets
    • Cameras can be placed on a 12-column grid and resized based on aspect ratio
    • Default layout is the same as flexbox - a 3-camera, 16:9 aspect ratio grid
    • Phones will continue to use flexbox (grid/list selectable) for all camera groups
    • Default layout ("All cameras") will always use flexbox, no matter the device, still respecting config's order directive
  • Layout saved to browser's indexed db, so this feature is per-device
  • Enter/exit layout "edit mode" with a small semi-transparent button on the bottom right corner
  • Implement "clear all layouts" button in General settings
  • Prevent camera group name from being "default"
  • Add deletion capabilities to usePersistence and usePersistedOverlayState hooks

Along with the addition of camera groups for 0.14, this PR closes #6531, #5424, #1735

Copy link

netlify bot commented May 7, 2024

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit c26b60c
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/663a387ad6be0c0008f45c94
😎 Deploy Preview https://deploy-preview-11279--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@NickM-27 NickM-27 merged commit ff2948a into dev May 7, 2024
13 checks passed
@NickM-27 NickM-27 deleted the draggable-camera-groups branch May 7, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants