feat: Rename the card to advanced-camera-card (#1873)
Whilst the Frigate support in this card is the best among camera engines, the name incorrectly suggests that Frigate is a requirement. Instead, to broaden the appeal, change to more camera agnostic name. This does not suggest any change in priority, role or support for Frigate. This change is likely to be bug prone, due to the size of the rename -- the code contains 1500+ references to "Frigate" most of which make sense to rename, some which do not, all of which needed human assessment. - Closes #1298 BREAKING CHANGE: References to `frigate-card` in all kinds of configuration need to be updated to `advanced-camera-card`. An automated config upgrade should take care of the majority of usecases (click `Edit -> Upgrade -> Save`), though may not be perfect.
This commit is contained in:
+7
-7
@@ -1,6 +1,6 @@
|
||||
# Developing
|
||||
|
||||
?> Want to contribute? Development help [**welcome**](https://github.com/dermotduffy/frigate-hass-card/issues/1248)!
|
||||
?> Want to contribute? Development help [**welcome**](https://github.com/dermotduffy/advanced-camera-card/issues/1248)!
|
||||
|
||||
## Building
|
||||
|
||||
@@ -13,13 +13,13 @@ However, if you are not using Volta, you can check the `volta` key in the
|
||||
`package.json` to see which version of Node and Yarn should be used.
|
||||
|
||||
```sh
|
||||
$ git clone https://github.com/dermotduffy/frigate-hass-card
|
||||
$ cd frigate-hass-card
|
||||
$ git clone https://github.com/dermotduffy/advanced-camera-card
|
||||
$ cd advanced-camera-card
|
||||
$ yarn install
|
||||
$ yarn run build
|
||||
```
|
||||
|
||||
Resultant build entry file will be in `dist/frigate-hass-card.js`. This could be
|
||||
Resultant build entry file will be in `dist/advanced-camera-card.js`. This could be
|
||||
installed via the [manual installation
|
||||
instructions](advanced-installation.md?id=manual-installation).
|
||||
|
||||
@@ -38,7 +38,7 @@ Releases follow [Semantic Versioning](https://semver.org/) with the following de
|
||||
### Manual Releases
|
||||
|
||||
1. Merge a PR that contains only a `package.json` version number bump.
|
||||
1. Go to the [releases page](https://github.com/dermotduffy/frigate-hass-card/releases).
|
||||
1. Go to the [releases page](https://github.com/dermotduffy/advanced-camera-card/releases).
|
||||
1. A release draft will automatically have been created, click 'Edit'.
|
||||
1. Use the same version number for the release title and tag.
|
||||
1. Choose 'This is a pre-release' for a beta version.
|
||||
@@ -46,14 +46,14 @@ Releases follow [Semantic Versioning](https://semver.org/) with the following de
|
||||
|
||||
## Translations
|
||||
|
||||
[](https://fink.inlang.com/github.com/dermotduffy/frigate-hass-card?ref=badge)
|
||||
[](https://fink.inlang.com/github.com/dermotduffy/advanced-camera-card?ref=badge)
|
||||
|
||||
To add translations, you can manually edit the JSON translation files in
|
||||
`src/localize/languages` or use the [inlang](https://inlang.com/) online editor.
|
||||
|
||||
## Using a dev container
|
||||
|
||||
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/dermotduffy/frigate-hass-card)
|
||||
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/dermotduffy/advanced-camera-card)
|
||||
|
||||
You can use the [VS Code Dev Containers](https://code.visualstudio.com/docs/remote/containers) extension to
|
||||
speed up the development environment creation. Simply:
|
||||
|
||||
Reference in New Issue
Block a user