Josh Hawkins and GitHub
13f250f630
Use valid/unique css identifier for jsmpeg canvas elements ( #11704 )
2024-06-03 05:39:19 -06:00
Josh Hawkins and GitHub
1e80342c41
UI tweaks and bugfixes ( #11692 )
...
* UI tweaks and bugfixes
* fix linter complaints in unmodified files
2024-06-02 12:00:59 -05:00
Josh Hawkins and GitHub
beefc51361
container for birdseye aspect and auto width for mobile time pill ( #11685 )
2024-06-01 21:13:37 -06:00
Josh Hawkins and GitHub
a3d116e70e
stay in fullscreen when navigating to a camera ( #11666 )
2024-05-31 07:58:33 -05:00
Josh Hawkins and GitHub
8c325801ef
fix race where camera change effect sometimes was called after layout building ( #11656 )
2024-05-30 14:17:00 -06:00
Josh Hawkins and GitHub
402c16e7df
don't sleep mobile devices when fullscreen ( #11652 )
2024-05-30 09:37:08 -06:00
Josh Hawkins and GitHub
9cb3e11df6
non-modal dropdown menus ( #11649 )
2024-05-30 07:39:14 -06:00
Josh Hawkins and GitHub
a763ae303d
static handlebar size to better match figma ( #11638 )
2024-05-29 21:34:19 -05:00
Josh Hawkins and GitHub
4135cabf58
assume 1 grid column by default on live dashboard ( #11630 )
2024-05-29 16:03:59 -06:00
Josh Hawkins and GitHub
37dd3fc25b
fix birdseye fullscreen ( #11625 )
2024-05-29 14:18:51 -05:00
Josh Hawkins and GitHub
f1c0422d5e
Various bugfixes and improvements ( #11624 )
...
* various bugfixes and improvements
* add separator
* no separator
2024-05-29 12:05:28 -06:00
Josh Hawkins and GitHub
3dd401f57a
string or list for camera groups ( #11616 )
2024-05-29 09:19:05 -05:00
Josh Hawkins and GitHub
ced5ab203f
ensure the correct container is used for canvas calcs ( #11599 )
2024-05-28 12:41:51 -06:00
Josh Hawkins and GitHub
f7c3ddd380
check if motion dataframe is empty ( #11593 )
2024-05-28 11:33:28 -06:00
Josh Hawkins and GitHub
2fda383782
clean up unneeded code ( #11587 )
2024-05-28 08:05:04 -06:00
Josh Hawkins and GitHub
4165639308
Live view tweaks and jsmpeg bugfix ( #11584 )
...
* live view tweaks and jsmpeg bugfix
* use container aspect in check
2024-05-28 08:11:35 -05:00
Josh Hawkins and GitHub
c1330704cf
Make jsmpeg players fully responsive ( #11567 )
...
* make jsmpeg canvas responsive
* make birdseye responsive too
2024-05-27 16:18:04 -06:00
Josh Hawkins and GitHub
c07f6999ca
refresh editor value when config is updated ( #11559 )
2024-05-27 09:31:58 -06:00
Josh Hawkins and GitHub
eca8c52f15
docs update: how to exclude camera from alerts/detections ( #11560 )
2024-05-27 09:31:49 -06:00
Josh Hawkins and GitHub
7a9ee63bd3
save video dimensions in onLoadedData instead of onLoadedMetadata ( #11545 )
2024-05-26 17:48:33 -06:00
Josh Hawkins and GitHub
63d81bef45
redirect non existent paths to live view ( #11536 )
2024-05-26 10:17:52 -06:00
Josh Hawkins and GitHub
3f171e7670
bugfixes ( #11526 )
2024-05-25 20:37:53 -06:00
Josh Hawkins and GitHub
681c7367d7
ensure resizable handles are above jsmpeg canvas elements ( #11519 )
2024-05-25 15:15:30 -05:00
Josh Hawkins and GitHub
058e9a3ba0
calculate aspect ratio of container to prevent overflow ( #11495 )
2024-05-23 07:30:16 -06:00
Josh Hawkins and GitHub
9652ea9e96
Update beta docs ( #11483 )
...
* update beta docs
* fix relative coordinates
* fix relative coordinates
* changes
2024-05-22 08:51:59 -06:00
Josh Hawkins and GitHub
910c85b1c0
Clean up config editor ( #11474 )
...
* clean up config editor
* remove unneeded size
2024-05-21 13:06:17 -05:00
Josh Hawkins and GitHub
e543cc642c
add clarifying message and docs link around motion masks ( #11452 )
2024-05-20 23:18:01 +05:30
Josh Hawkins and GitHub
84e823c62f
add padding to bottom of drawer for iOS PWA only ( #11446 )
2024-05-20 08:06:11 -05:00
Josh Hawkins and GitHub
82d4bf8ab5
Log warning for high detect fps ( #11435 )
...
* warn in log if detect fps > 10
* change message
2024-05-19 21:36:41 -06:00
Josh Hawkins and GitHub
bca01cb43c
guard clause for api error ( #11436 )
2024-05-19 17:08:05 -06:00
Josh Hawkins and GitHub
171a142adb
optional env var for easier development ( #11426 )
2024-05-18 18:49:38 -06:00
Josh Hawkins and GitHub
5c609c7051
Bugfixes ( #11420 )
...
* mse and misc messages fixes
* clean up
2024-05-18 12:55:17 -06:00
Josh Hawkins and GitHub
ba03d3b3e4
Mobile/PWA spacing fixes ( #11403 )
...
* spacing on mobile landscape
* better icon placement when running as pwa
* better icon placement when running as pwa
* portrait padding only
2024-05-16 16:00:14 -06:00
Josh Hawkins and GitHub
dd0dee620a
spacing on mobile landscape ( #11397 )
2024-05-16 10:51:57 -06:00
Josh Hawkins and GitHub
525de1a467
Add autotracking enable/disable button to live view ( #11396 )
2024-05-16 08:32:39 -06:00
Josh Hawkins and GitHub
16ead917ea
Preview bugfixes ( #11384 )
...
* memoize initial time range and check for window visibility
* assume window is visible with previewthumbnailplayer
2024-05-15 09:51:58 -06:00
Josh Hawkins and GitHub
1757f4cb04
Use prettier-plugin-tailwindcss ( #11373 )
...
* use prettier-plugin-tailwindcss to keep class names organized
* use prettierrc file to ensure formatting on save works with vscode
* classname reorder with prettier-plugin-tailwindcss
2024-05-14 09:06:44 -06:00
Josh Hawkins and GitHub
fbec08354c
bugfixes and small UI tweaks ( #11360 )
2024-05-13 06:42:11 -06:00
Josh Hawkins and GitHub
82e443a5c3
Camera group layout fixes ( #11334 )
...
* camera group layout changes and tweaks
* lock aspect ratio
* no compacting
* prevent collisions
* revert
* readd limit aspect
2024-05-10 11:54:37 -05:00
Josh Hawkins and GitHub
386ffbf5a6
Tweak camera group layout editor buttons ( #11317 )
...
* tweak layout editor buttons
* remove bubble
* spacing
* button backgrounds
2024-05-09 15:08:22 -06:00
Josh Hawkins and GitHub
021ffb2437
fix nan check in system graphs ( #11312 )
2024-05-09 07:55:19 -06:00
Josh Hawkins and GitHub
f8523d9ddf
Icon picker component ( #11310 )
...
* icon picker component
* keep box the same size when filtering icons
2024-05-09 07:22:48 -06:00
Josh Hawkins and GitHub
2be15b6c01
Improve config validation error messages ( #11292 )
2024-05-08 08:46:31 -06:00
Josh Hawkins and GitHub
db8c820677
Draggable camera grid tweaks ( #11291 )
...
* better math and other tweaks
* change icon
2024-05-08 07:53:22 -05:00
Josh Hawkins and GitHub
ff2948a76b
Drag to reorder/resize cameras in camera groups ( #11279 )
...
* draggable/resizable cameras in camera groups on desktop/tablets
* fix edit button location on tablets
* assume 1rem is 16px
2024-05-07 08:28:10 -06:00
Josh Hawkins and GitHub
08e5c791c8
Use cn() for class names throughout ( #11278 )
...
* add scrollbar on ptz presets dropdown
* use cn function for class names throughout
* Revert "add scrollbar on ptz presets dropdown"
This reverts commit 2cee93dc3e .
2024-05-07 08:00:25 -06:00
Josh Hawkins and GitHub
a0da5018bf
add scrollbar on ptz presets dropdown ( #11276 )
2024-05-07 06:27:20 -06:00
Josh Hawkins and GitHub
c0073db859
fix touch events ( #11265 )
2024-05-06 12:35:18 -06:00
Josh Hawkins and GitHub
306c11d730
use portal on all sidebar tooltips ( #11267 )
2024-05-06 11:18:28 -06:00
Josh Hawkins and GitHub
ca8ef70096
Support desktop touchscreens for timelines ( #11241 )
...
* support desktop touchscreens
* remove placeholder select
* add max height to settings cameras dropdown
2024-05-04 21:00:33 -06:00
Josh Hawkins and GitHub
ad87f5786e
Misc UI fixes ( #11237 )
...
* add close button to all toasters
* check if persistent options are loaded
* add id to prevent message duplication in bottom bar
2024-05-04 14:54:50 -05:00
Josh Hawkins and GitHub
51dcdd6f4b
Zone/mask editor improvements ( #11236 )
...
* add points to completed polygons in zone/mask editor
* change line order so edges are more easily clickable
2024-05-04 08:37:35 -06:00
Josh Hawkins and GitHub
b69c1828cb
Fix overflowing portrait images in debug and motion tuner views ( #11209 )
...
* fix overflowing camera image and remove mse console debug
* move calc into onLoad
* check container aspect
2024-05-02 14:05:20 -06:00
Josh Hawkins and GitHub
7a5df6045a
make circle radius larger on mobile only ( #11210 )
2024-05-02 13:06:32 -06:00
Josh Hawkins and GitHub
499f70cfd3
config validation fixes ( #11191 )
2024-05-01 08:08:10 -06:00
Josh Hawkins and GitHub
6d2457ebad
Revamp object debug view ( #11186 )
...
* revamp object debug view
* fix vite
* remove console log
* don't display empty fields
* clarify masks as motion masks
* add descriptions
* color and spacing
* add sub_label to camera activity
* add sub_label to type
* rename to debug
2024-05-01 08:07:56 -06:00
Josh Hawkins and GitHub
bb335638a4
use alert/detection colors as background for motion segments ( #11182 )
2024-04-30 18:38:22 -06:00
Josh Hawkins and GitHub
0080c28c4d
fix crash for when group includes birdseye ( #11175 )
2024-04-30 06:59:45 -06:00
11ff7cb2b7
Use full resolution aspect ratio when available ( #11173 )
...
* base recordings and live views off of actual video resolution
* don't set for jsmpeg
* reset when changing main cam
* rename
* Only use resolution for main camera
* fix lint
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2024-04-30 06:52:56 -06:00
Josh Hawkins and GitHub
7745313cdc
add chips for active objects on live dashboard ( #11162 )
2024-04-29 15:23:14 -06:00
Josh Hawkins and GitHub
3348af1e6d
add page titles for settings views ( #11132 )
2024-04-27 11:02:01 -06:00
Josh Hawkins and GitHub
ab032aa004
sane colors for themes ( #11126 )
2024-04-26 14:30:57 -06:00
Josh Hawkins and GitHub
d0aefc2121
Camera group dialog changes and fixes ( #11117 )
...
* camera group dialog changes and fixes
* use drawer on mobile
* spacing
2024-04-25 17:19:31 -06:00
Josh Hawkins and GitHub
d6e93d039d
Make all corners less rounded on mobile ( #11068 )
...
* make corners less rounded on mobile
* fix live dashboard classes
2024-04-22 09:12:45 -06:00
Josh Hawkins and GitHub
ba3930ab02
Add status bar provider ( #11066 )
2024-04-22 08:20:23 -06:00
Josh Hawkins and GitHub
acadfb6959
Fix array out of range error in reviews ( #11059 )
2024-04-21 19:03:43 -06:00
Josh Hawkins and GitHub
57800d3843
Use export name in export deletion dialog instead of file id ( #11049 )
...
* use export name in dialog instead of file id
* add type for deletion
2024-04-20 07:44:59 -06:00
Josh Hawkins and GitHub
3ca2d599d3
fix logs scrolling on mobile ( #11045 )
2024-04-19 17:01:45 -06:00
Josh Hawkins and GitHub
3b0f9988df
UI tweaks ( #11036 )
...
* spacing, mobile navbar, and minor color updates
* tab scrolling behavior
2024-04-19 12:17:23 -05:00
Josh Hawkins and GitHub
d6dfa596de
undo points based on order added to polygon ( #11035 )
2024-04-19 07:59:28 -06:00
Josh Hawkins and GitHub
5f15641b1b
New mask/zone editor and motion tuner ( #11020 )
...
* initial working konva
* working multi polygons
* multi zones
* clean up
* new zone dialog
* clean up
* relative coordinates and colors
* fix color order
* better motion tuner
* objects for zones
* progress
* merge dev
* edit pane
* motion and object masks
* filtering
* add objects and unsaved to type
* motion tuner, edit controls, tooltips
* object and motion edit panes
* polygon item component, switch color, object form, hover cards
* working zone edit pane
* working motion masks
* object masks and deletion of all types
* use FilterSwitch
* motion tuner fixes and tweaks
* clean up
* tweaks
* spaces in camera name
* tweaks
* allow dragging of points while drawing polygon
* turn off editing mode when switching camera
* limit interpolated coordinates and use crosshair cursor
* padding
* fix tooltip trigger for icons
* konva tweaks
* consolidate
* fix top menu items on mobile
2024-04-19 05:34:07 -06:00
Josh Hawkins and GitHub
7a7ae81d50
always use full resolution time when dragging ( #10939 )
2024-04-11 07:29:34 -06:00
Josh Hawkins and GitHub
ef52a1d6f0
Fix colors for default light mode theme ( #10909 )
...
* fix colors for default light mode theme
* remove redundancy
* fix export dialog
* don't use primary-foreground
* change secondary button variant to be default button
* change filters button to bg-selected when filtering
* slightly lighten secondary-foreground in light mode
* fix mobile motion only button
2024-04-09 17:49:14 -05:00
Josh Hawkins and GitHub
9281093740
fix export button colors ( #10903 )
2024-04-09 07:49:14 -06:00
Josh Hawkins and GitHub
55018372d4
Fix button color dark mode logic ( #10884 )
...
* fix button color dark mode logic
* make calendar use active color when not default
2024-04-08 11:34:15 -05:00
Josh Hawkins and GitHub
f210c4b6f4
UI tweaks and bugfixes ( #10882 )
...
* small tweaks and bugfixes
* spacing
* simplify
2024-04-08 07:35:35 -06:00
Josh Hawkins and GitHub
5085fa7135
UI bugfixes and tweaks ( #10848 )
...
* fix ios z-index scrolling bug
* skeleton size
2024-04-05 08:44:00 -05:00
Josh Hawkins and GitHub
466a9104e5
Motion review improvements ( #10833 )
...
* render skeleton for preview player until motion data is loaded
* skeleton for timeline
2024-04-04 14:54:58 -06:00
Josh Hawkins and GitHub
46e3157c7f
optimistic ui for mobile buttons too ( #10827 )
2024-04-04 09:46:19 -06:00
Josh Hawkins and GitHub
fbc0da6016
Optimistic UI ( #10825 )
...
* debounce motion only button
* implement custom hook
* optimistic severity toggle
* optimistic reviewed switch
2024-04-04 09:09:19 -06:00
Josh Hawkins and GitHub
427c6a6afb
Timeline tweaks ( #10816 )
...
* limit handles from overdragging when segments don't fill up timeline
* use separate state for switch
* add key
2024-04-03 19:20:47 -06:00
Josh Hawkins and GitHub
d7a87fff60
move span inside of content to fix crash ( #10790 )
2024-04-02 07:07:38 -06:00
Josh Hawkins and GitHub
bd70bf1c31
fix outlines ( #10779 )
2024-04-01 10:03:10 -06:00
Josh Hawkins and GitHub
99878d9eee
use single lookup for motion data ( #10778 )
2024-04-01 09:57:35 -06:00
Josh Hawkins and GitHub
7fac91dce4
UI tweaks and bugfixes ( #10775 )
...
* fix wrong segments when changing filters in motion only mode
* pixel alignment, better outlines, and more figma matching
* fix stats from crashing the ui
* separate layout from aspect classes
* check for invalid value
* avoid undefined classnames
2024-04-01 08:23:57 -06:00
Josh Hawkins and GitHub
7d3b481181
fix missing collapsed prop after refactor ( #10751 )
2024-03-30 09:51:03 -06:00
Josh Hawkins and GitHub
36d5e5b45f
Timeline tweaks for mobile ( #10726 )
...
* add dense prop, combine duplicate code, fix mobile bug
* put segment height in hook
* playground
2024-03-28 10:03:06 -05:00
Josh Hawkins and GitHub
98a1e6ee22
fix draggable element pixel alignment ( #10708 )
2024-03-27 07:21:38 -06:00
Josh Hawkins and GitHub
c82ed43c13
Timeline tweaks ( #10693 )
...
* make segment height static
* fix timeline overscrolling
* better alignment of motion timeline segments
2024-03-26 15:36:28 -06:00
Josh Hawkins and GitHub
1cd374d3ad
add option to only scrollintoview initially ( #10689 )
2024-03-26 10:29:07 -06:00
Josh Hawkins and GitHub
6fbd272acf
Add tooltips for review item chips ( #10685 )
...
* tooltips for review item chips
* use flexbox instead of margins
2024-03-26 07:07:49 -06:00
Josh Hawkins and GitHub
bc6b4c38b8
improve timeline scrolling with dynamic speed ( #10677 )
2024-03-25 20:29:42 -06:00
Josh Hawkins and GitHub
71c7504de5
fix timeline upward scrolling limit ( #10673 )
2024-03-25 14:56:20 -06:00
Josh Hawkins and GitHub
51db63e42b
Motion review changes ( #10667 )
...
* Add outlines in motion only mode
* fix playground
2024-03-25 10:19:55 -06:00
Josh Hawkins and GitHub
7b64091128
Motion review playback optimizations ( #10659 )
...
* handle motion timestamps with ranges
* check for overlaps when checking segment for events
* rename motion color vars to significant_motion for consistency
* safelist significant_motion
* rename vars for clarity and use timeout instead of interval
2024-03-24 20:37:44 -06:00
Josh Hawkins and GitHub
37f60f7140
UI changes ( #10651 )
...
* Check if event time is in segment
* conditionally render minimap bounds for event segments
2024-03-24 11:39:28 -06:00
Josh Hawkins and GitHub
f91dc37399
Add outline for alerts/detections in motion review ( #10642 )
2024-03-24 06:54:34 -06:00
Josh Hawkins and GitHub
3a9607e59b
Add relative movement by clicking on camera image for supported ptzs ( #10629 )
2024-03-23 10:53:33 -06:00
Josh Hawkins and GitHub
4159334520
option to show motion only on motion timeline ( #10626 )
2024-03-23 07:33:50 -06:00
0ac7aaabe3
Timeline minimap and scrolling changes ( #10589 )
...
* add function to get visible timeline duration
* Don't show minimap when minimap bounds exceed timeline area
* when minimap is hidden, only scroll timeline when needed
* observe only when not showing minimap
* no need to duplicate observer
* fix out of order param
* timeline utils hook props
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2024-03-21 11:49:04 -06:00