Commit Graph

278 Commits

Author SHA1 Message Date
yangsy
f6c6432b1e fix: useLineDevicesQuery disabled in DevicePage 2025-08-26 11:40:27 +08:00
yangsy
9fc5c170bc refactor: extract constants 2025-08-26 11:39:21 +08:00
yangsy
40bc4b76ef style 2025-08-26 11:38:49 +08:00
yangsy
b17e7b589a fix 2025-08-26 04:20:44 +08:00
yangsy
9a050f08f6 feat: apply new stores to UI and hope it works 2025-08-26 03:28:20 +08:00
yangsy
c2ebe34a05 refactor: add store to save data from queries progressively 2025-08-26 03:27:06 +08:00
yangsy
55e9efce7e chore: extract types 2025-08-25 23:44:39 +08:00
yangsy
3cfb829608 fix: queries continue running after page unmounted 2025-08-25 23:32:25 +08:00
yangsy
59a14cb9e1 style 2025-08-25 20:43:27 +08:00
yangsy
5ae218228b style 2025-08-25 20:42:23 +08:00
yangsy
4f33992b21 chore 2025-08-25 19:55:08 +08:00
yangsy
2ad2c4d4a3 fix: ban close-on-esc in modal 2025-08-25 15:56:55 +08:00
yangsy
d0658580a0 refactor&perf
- proxy config
- query export
- optimize station card request
2025-08-25 15:49:21 +08:00
yangsy
dea621a7a2 fix: polling still running when modal open 2025-08-25 11:08:59 +08:00
yangsy
560ed3bad2 fix: stablize station select options 2025-08-25 11:08:14 +08:00
yangsy
d15c3c2edf perf: optimize station card interaction 2025-08-25 10:31:51 +08:00
yangsy
e67809ad86 perf: try to fix select options scroll to top when stations refresh 2025-08-24 02:10:51 +08:00
yangsy
fafd6cd29f refactor: layout 2025-08-24 02:04:32 +08:00
yangsy
5d131ee1df perf: remove suffix of offline device count; optimize routes; optimize station Select option 2025-08-22 15:54:51 +08:00
yangsy
29ff837da8 chore: apis 2025-08-22 11:19:51 +08:00
yangsy
80a30a3cba style 2025-08-22 11:19:23 +08:00
yangsy
0fd9f17366 style 2025-08-22 01:22:14 +08:00
yangsy
4ea5bfa515 chore: apis 2025-08-22 01:19:15 +08:00
yangsy
a52899b052 chore: reorder import 2025-08-22 00:24:05 +08:00
yangsy
a9e52f1e0f fix: remove FIXME 2025-08-21 21:13:36 +08:00
yangsy
a6f2a0a54e feat: add total device count 2025-08-21 21:12:31 +08:00
yangsy
fa213940d6 style: add some comments 2025-08-21 21:12:11 +08:00
yangsy
9cfc5924f9 style 2025-08-21 21:11:45 +08:00
yangsy
230aee89c2 feat: use same query params between search and export alarm records 2025-08-21 20:30:14 +08:00
yangsy
9b3c60135c fix: add some comments 2025-08-21 20:25:25 +08:00
yangsy
badfbfafbb feat: add stationCode field as query field in AlarmPage 2025-08-21 16:48:18 +08:00
yangsy
303c5812de feat: device params config modal 2025-08-21 16:47:34 +08:00
yangsy
5f773ae326 chore: api client 2025-08-21 12:57:48 +08:00
yangsy
1f12babd02 fix: device type filter not work in DeviceAlarmDetailModal 2025-08-21 11:08:45 +08:00
yangsy
c4c7d0f7a6 feat: support searching device id 2025-08-20 23:28:27 +08:00
yangsy
1707d2c66f feat: alarm records query 2025-08-20 23:27:24 +08:00
yangsy
c83fea6dec chore: utils 2025-08-20 15:55:04 +08:00
yangsy
965e0ee0a1 perf: optimize devie tree, remove list rendering 2025-08-20 10:58:53 +08:00
yangsy
b38c016b5e perf: optimize devie tree, remove list rendering 2025-08-20 10:57:02 +08:00
yangsy
c4e7baea95 feat: get alarms from all stations 2025-08-20 01:18:01 +08:00
yangsy
91dee03829 feat: expand nvr cluster node if any nvr is selected when manually locate device 2025-08-18 15:54:42 +08:00
yangsy
3171bf34d5 feat: add online status of station node 2025-08-18 15:23:55 +08:00
yangsy
f044671528 fix: DevicePage fix
- remove dblclick of device node
- auto scroll to selected device node
2025-08-18 15:05:45 +08:00
yangsy
d0168f84bc fix: remove dblclick of device node 2025-08-18 14:49:24 +08:00
yangsy
78dcbf9fa9 style: remove TODO comment 2025-08-18 12:22:46 +08:00
yangsy
4dddfda567 chore: expose network url when running pnpm dev 2025-08-18 12:22:00 +08:00
yangsy
b6ed3dabca style: chage color when hover on statistics label of StationCard 2025-08-18 12:20:04 +08:00
yangsy
4e14eb3590 feat: migrate id and improve interaction
- use DB id of device to mark tree node key
- dblclick offlien device node to jump to DevicePage
- dblclick device node to view device detail
2025-08-18 11:05:26 +08:00
yangsy
104400500e refactor: extract interface LineDevices 2025-08-18 11:01:09 +08:00
yangsy
7de9d5ea5c feat: enhance device tree 2025-08-18 02:16:41 +08:00