blakeblackshear.frigate/web/src
Nicolas Mowen b1cc64d4fa
FEAT: Ability to set sub labels for specific events (#2949)
* Add sub label to model and set / delete funs

* Add migrations for sub label

* Tweaks to API and model

* Show sublabel if available

* Cleanups

* Update docs

* Show person in UI title

* Fix typo and don't fail on no json

* Transfer sub labels for in progress events

* Remove sublabel reset

* Remove person only check

* Make default null

* Update docs and formatting

* Make default null

* Make nullable in migration

* Undo null

* Update model to accept null

* Update migration to accept null

* Don't set to default values

* Remove redundant defaults and update http logic

* Only need a single route

* Enforce 20 character limit in http

* Update docs to mention 20 character limit

* Cleanup

* Separate insert and update to make sure updated values are retained when event ends

* Use insert instead of replace

* Remove redundant if and have should_update_db include clip or snapshot requirement.
2022-03-17 07:18:43 -05:00
..
__mocks__ fix lint and tests 2021-06-11 06:53:34 -05:00
__tests__ switch to vite 2022-03-11 07:49:06 -06:00
api switch to vite 2022-03-11 07:49:06 -06:00
components fix date picker 2022-03-11 07:49:06 -06:00
context switch to vite 2022-03-11 07:49:06 -06:00
hooks Event Datepicker (#2428) 2022-02-18 21:18:26 -06:00
icons swr events refactor 2022-03-11 07:49:06 -06:00
routes FEAT: Ability to set sub labels for specific events (#2949) 2022-03-17 07:18:43 -05:00
utils switch to vite 2022-03-11 07:49:06 -06:00
App.jsx swr events refactor 2022-03-11 07:49:06 -06:00
AppBar.jsx swr events refactor 2022-03-11 07:49:06 -06:00
env.js switch to vite 2022-03-11 07:49:06 -06:00
index.css swr events refactor 2022-03-11 07:49:06 -06:00
main.tsx switch to vite 2022-03-11 07:49:06 -06:00
preact.d.ts switch to vite 2022-03-11 07:49:06 -06:00
Sidebar.jsx switch to vite 2022-03-11 07:49:06 -06:00
vite-env.d.ts switch to vite 2022-03-11 07:49:06 -06:00