Commit Graph

248 Commits

Author SHA1 Message Date
yangsy
83005fd1c7 chore: eslint rules 2025-08-29 18:53:06 +08:00
yangsy
ac7100c408 fix: remove condition render wrapped around modals, which leads to @after-enter and v-model:show not working 2025-08-29 18:52:46 +08:00
yangsy
cb8bf16d78 perf: lift UX priority when query running 2025-08-29 11:57:07 +08:00
yangsy
a6124d951c refactor: move modals from StationCard to DashboardPage 2025-08-29 11:55:44 +08:00
yangsy
56c5fb40a9 refactor: apis 2025-08-29 11:54:09 +08:00
yangsy
5a148910af feat: current-alarms-store & move ThemeSwitch 2025-08-29 11:53:46 +08:00
yangsy
aae15f3240 chore: vite proxy for websocket 2025-08-29 11:42:53 +08:00
yangsy
73776c1fd1 chore: utils and type definition 2025-08-29 11:41:01 +08:00
yangsy
d948c96047 refactor: extend device-type.ts 2025-08-27 14:43:04 +08:00
yangsy
620dfd8a74 refactor: rename store id 2025-08-27 14:40:27 +08:00
yangsy
5cc4b2f537 refactor: remove unused queries 2025-08-27 14:31:14 +08:00
yangsy
b4e49c0104 fix: selectedKeys doesnot update when select device 2025-08-27 10:52:10 +08:00
yangsy
a4392da641 refactor: extract station card modals to DashboardPage 2025-08-27 10:13:41 +08:00
yangsy
f5c676ea0b fix: cannot show message when userGetInfo failed 2025-08-27 10:11:49 +08:00
yangsy
9ec22b883b refactor: extract device tree 2025-08-27 10:10:38 +08:00
yangsy
c875deb488 refactor: router guard 2025-08-26 16:33:35 +08:00
yangsy
0c1d1b2886 feat: isFetching 2025-08-26 14:04:28 +08:00
yangsy
a75c8edacc chore 2025-08-26 14:01:53 +08:00
yangsy
0098750698 perf: reduce ref update times 2025-08-26 12:36:43 +08:00
yangsy
a0a56e43f2 fix: selectedDevice doennot update when directly enter DevicePage 2025-08-26 12:11:48 +08:00
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