blakeblackshear.frigate/web
Bernt Christian Egeland b359ff1b8e
[Feature] Add timepicker to calendar (#5183)
* added timepicker as children to calendar

* new timepicker component

* Add timepicker

* new timePicker component

* timepicker as calendar child

* hover:border and rounded

* adjusted width

* complete rework

* more code comments

* memorization

* preselect hover, transition

* numberOfDaysSelected has minimum of 1

* prefill hours when component mounts

* persist hours when component mount

* accommodate for the new timePicker

* add reset state

* scroll into view

* reuse before, after

* fix LastDayInRange when a time is selected

* do not add hours if before is zero

* use hours instead of days

* useeffect to reset hour. check timerange before scroll

* scroll to last element, not first
2023-06-11 14:48:45 -05:00
..
__test__ Prevent recordings from being turned on if disabled in config (#6444) 2023-05-15 07:36:26 -05:00
images Fix site.webmanifest + add svg as favicon (#6304) 2023-05-04 18:04:24 -05:00
public/icons Fix site.webmanifest + add svg as favicon (#6304) 2023-05-04 18:04:24 -05:00
src [Feature] Add timepicker to calendar (#5183) 2023-06-11 14:48:45 -05:00
.eslintrc Update web deps (#4383) 2022-11-13 10:31:36 -06:00
.gitignore Update web dependencies (#4321) 2022-11-08 07:18:43 -06:00
.prettierrc switch to vite 2022-03-11 07:49:06 -06:00
index.html Fix site.webmanifest + add svg as favicon (#6304) 2023-05-04 18:04:24 -05:00
package-lock.json Update deps (#6669) 2023-06-01 06:59:50 -05:00
package.json Upgrade deps (#6395) 2023-05-05 07:45:13 -05:00
postcss.config.cjs Update web deps (#4383) 2022-11-13 10:31:36 -06:00
site.webmanifest Fix site.webmanifest + add svg as favicon (#6304) 2023-05-04 18:04:24 -05:00
tailwind.config.cjs Update web deps (#4383) 2022-11-13 10:31:36 -06:00
tsconfig.json Update web deps (#4383) 2022-11-13 10:31:36 -06:00
tsconfig.node.json Update web deps (#4383) 2022-11-13 10:31:36 -06:00
vite.config.ts Frontend deps (#4824) 2022-12-30 09:48:22 -06:00