Compare commits

...

3 Commits

Author SHA1 Message Date
Kai Curry
1f61fd885d
Merge 8c69927438 into c3c27d036f 2026-03-03 21:53:48 +01:00
Michal Srb
c3c27d036f
Hide hidden camera alerts (#22226)
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
Cameras that have `ui.dashboard = false` config are hidden from
the All Cameras "default" group, but their alerts still appear in the
top row. This hides the alerts as well.

One can still view the hidden cameras and their alerts by making a
custom camera group.
2026-03-03 06:29:57 -07:00
Kai Curry
8c69927438 docs: Add documentation style guide for internal links 2026-02-09 18:27:44 -01:00
2 changed files with 61 additions and 1 deletions

View File

@ -8,3 +8,56 @@ For installation and contributing instructions, please follow the [Contributing
1. Run `npm i` to install dependencies
2. Run `npm run start` to start the website
# Documentation Style Guide
## Internal Links
When adding or editing internal links, follow these conventions:
### Do not include the `.md` extension
Use paths without extensions. This avoids needing `index.md` for directory index pages and matches the web URL.
```markdown
<!-- Good -->
[zones](/configuration/zones)
[getting started](../guides/getting_started)
<!-- Bad -->
[zones](/configuration/zones.md)
```
### Use relative paths for same-directory links
Use relative `./` paths for links to pages in the same directory.
```markdown
[zones](./zones)
[masks](./masks)
```
### Use absolute paths for everything else
For links outside the current directory, use absolute paths from the docs root. The exception is deeply nested subdirectories (e.g., `configuration/custom_classification/`) where `../` to the parent directory is acceptable.
```markdown
[object detectors](/configuration/object_detectors)
[hardware](/frigate/hardware)
[getting started](/guides/getting_started)
<!-- Also OK from a nested subdirectory -->
[zones](../zones)
```
### Never use full URLs for internal links
```markdown
<!-- Good -->
[zones](/configuration/zones)
<!-- Bad -->
[zones](https://docs.frigate.video/configuration/zones)
```
> **Note:** Some existing links still use `.md` extensions. These should be updated when the file is being edited for other reasons.

View File

@ -92,10 +92,17 @@ export default function LiveDashboardView({
const eventUpdate = useFrigateReviews();
const alertCameras = useMemo(() => {
if (!config || cameraGroup == "default") {
if (!config) {
return null;
}
if (cameraGroup == "default") {
return Object.values(config.cameras)
.filter((cam) => cam.ui.dashboard)
.map((cam) => cam.name)
.join(",");
}
if (includeBirdseye && cameras.length == 0) {
return Object.values(config.cameras)
.filter((cam) => cam.birdseye.enabled)