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

Add live views to new webui #8970

Merged
merged 5 commits into from
Dec 15, 2023
Merged

Add live views to new webui #8970

merged 5 commits into from
Dec 15, 2023

Conversation

NickM-27
Copy link
Collaborator

For now just adding webrtc and debug because MSE and JSMPEG rely on javascript which is making things less simple. Persistence is supported and also fixed an issue on mobile with screen width

Copy link
Collaborator

@hawkeye217 hawkeye217 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I had originally created a "context" directory for hooks, but "hooks" is probably more appropriate. Maybe you could move use-persistence.tsx into hooks and then instead of index.ts, make a resize-observer.tsx or something if we want to keep separate hooks in their own files.

@NickM-27
Copy link
Collaborator Author

@hawkeye217 good idea, done 👍

@blakeblackshear blakeblackshear merged commit 6a400a5 into 0.14 Dec 15, 2023
6 checks passed
@blakeblackshear blakeblackshear deleted the new-webui-live branch December 15, 2023 23:24
import { Card, CardContent, CardHeader, CardTitle } from "../ui/card";
import { Switch } from "../ui/switch";
import { Label } from "../ui/label";
import { usePersistence } from "@/context/use-persistence";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This context is missing from this PR and doesn't exist on the 0.14 branch.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it was moved to hooks and missed here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah missed that one, fixed in #8981

blakeblackshear pushed a commit that referenced this pull request Dec 31, 2023
* Add support for live views

* Lint fixes

* Fix width

* Fix lint

* Cleanup hooks
blakeblackshear pushed a commit that referenced this pull request Jan 31, 2024
* Add support for live views

* Lint fixes

* Fix width

* Fix lint

* Cleanup hooks
blakeblackshear pushed a commit that referenced this pull request Jan 31, 2024
* Add support for live views

* Lint fixes

* Fix width

* Fix lint

* Cleanup hooks
mike2307 pushed a commit to mike2307/frigate that referenced this pull request Feb 11, 2024
* Add support for live views

* Lint fixes

* Fix width

* Fix lint

* Cleanup hooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants