Commit Graph

226 Commits

Author SHA1 Message Date
nguyentrungthat e962437c49 Update App.tsx 2026-02-09 14:09:51 +07:00
nguyentrungthat 4bffffa920 Update loading khi mới dô trang 2026-02-09 11:34:04 +07:00
nguyentrungthat daddb7d812 Update ModalTerminal.tsx 2026-02-05 09:22:05 +07:00
nguyentrungthat c24febf32a Update physical test, report 2026-02-05 09:14:45 +07:00
nguyentrungthat 4369d722ef Update form report summary fully tested 2026-02-04 14:45:09 +07:00
nguyentrungthat 63b264304e Update flow check physical ports test 2026-02-03 13:58:17 +07:00
nguyentrungthat d33878c112 Update view Physical test và report 2026-02-02 16:24:28 +07:00
nguyentrungthat 1b85cde4bb Update regex show version 2026-02-02 09:36:14 +07:00
nguyentrungthat 0fb7690d33 Update DragTabs.tsx 2026-01-30 14:17:33 +07:00
nguyentrungthat 4a1217fbfa Update regex sh ver 2026-01-30 13:37:13 +07:00
nguyentrungthat 6a9a3fb350 Fix inv 2026-01-30 11:28:32 +07:00
nguyentrungthat 2d387de73f Update ModalKeywords.tsx 2026-01-29 15:59:39 +07:00
nguyentrungthat 7373601fa4 Update report special keyword 2026-01-29 08:43:26 +07:00
nguyentrungthat d0022eb7d5 Update keywords 2026-01-28 16:34:28 +07:00
nguyentrungthat db62385b29 Update ModalConfigRamFlash.tsx 2026-01-26 15:08:04 +07:00
nguyentrungthat 0ce936b685 Update config ram and check ram 2026-01-26 14:45:04 +07:00
nguyentrungthat 20ef2732da Update 2026-01-23 13:04:52 +07:00
nguyentrungthat b9fde3c5e7 Update show env 2026-01-21 13:23:41 +07:00
nguyentrungthat 16d916fa05 Update ModalTerminal.tsx 2026-01-21 09:17:33 +07:00
nguyentrungthat 2222b79258 Update template show env 2026-01-21 09:16:15 +07:00
nguyentrungthat e1f8e42112 Update note from user 2026-01-20 10:51:51 +07:00
nguyentrungthat 6e2f7e756d Update PoE Test 2026-01-19 13:13:33 +07:00
nguyentrungthat 57e91bc422 Update physical test, load IOS 2026-01-19 09:28:13 +07:00
nguyentrungthat a88ff44ebd Update modal terminal 2026-01-16 10:30:13 +07:00
nguyentrungthat c4a5b1c499 Update disable Station 2026-01-15 15:39:43 +07:00
nguyentrungthat 38b6cb4981 Update load License 2026-01-13 10:54:12 +07:00
nguyentrungthat a9dce43ab2 Update select license 2026-01-12 16:33:07 +07:00
nguyentrungthat 5586f8f930 Update load license 2026-01-09 16:08:50 +07:00
nguyentrungthat 98f80c8005 Update ModalTerminal.tsx 2026-01-08 15:07:24 +07:00
nguyentrungthat 9bc0f96afc Update loading list log 2026-01-08 13:37:26 +07:00
nguyentrungthat 0650e012d8 Update ModalTerminal.tsx 2026-01-08 13:19:30 +07:00
nguyentrungthat 3bb72a19aa Update ModalSelectIOS.tsx 2026-01-08 11:02:45 +07:00
nguyentrungthat 28059f85ed Update physical test, load ios 2026-01-07 16:04:24 +07:00
nguyentrungthat 175a7d04e2 Update 2026-01-06 08:44:51 +07:00
nguyentrungthat e14d4ca216 Update load IOS switch 2026-01-05 16:59:00 +07:00
nguyentrungthat 5e22f4ea25 Update 2025-12-31 16:48:37 +07:00
nguyentrungthat e4687f27f9 Update physical test and load ios 2025-12-31 14:06:49 +07:00
nguyentrungthat ef1ba4ac99 Update scenario load ios 2025-12-30 16:04:24 +07:00
nguyentrungthat b1b4f1b907 Update physical test 2025-12-26 16:09:52 +07:00
nguyentrungthat 2f484e19b6 update physical test 2025-12-25 16:17:52 +07:00
nguyentrungthat 42f67e5390 Enhance terminal clear options and update note handling
Added a 'Clear (scrollback)' option to the terminal modal, allowing users to clear only the scrollback buffer without emitting a clear event. Updated backend and helper logic to use 'testNotes' instead of 'notes' for serial number updates, and improved note formatting with timezone support. Also improved email content formatting and error reporting.
2025-12-24 14:27:52 +07:00
nguyentrungthat fd5d1628a5 Update note SN sau khi run dpelp và api heal check 2025-12-23 16:34:21 +07:00
nguyentrungthat 744472f3da Update 2025-12-20 10:13:33 +07:00
nguyentrungthat 6e282c42bd Enable scenario run and reporting, adjust UI elements
Uncommented code to run scenarios and send reports via email and Zulip in the backend, and commented out the scenario confirmation modal in the frontend. Also adjusted the height of the ScrollArea in the BottomToolBar component for improved UI layout.
2025-12-18 08:12:23 +07:00
nguyentrungthat 4b130df801 Update DrawerControl.tsx 2025-12-17 16:48:19 +07:00
nguyentrungthat 7c7778a0e1 Update run scenario DPELP theo flow mới 2025-12-17 16:45:33 +07:00
nguyentrungthat 7528da2f00 Add scenarioName to run scenario actions and logs
Pass scenarioName from frontend to backend when running scenarios, and include it in log titles, email subjects, and Zulip messages. Also, expand command matching in template utilities and update default '[ENTER]' handling in line_connection. Minor logging improvements included.
2025-12-16 15:37:16 +07:00
nguyentrungthat 76659b3e68 Update modal run scenario 2025-12-16 11:11:19 +07:00
nguyentrungthat 2729feed4e Update modal Scenario 2025-12-15 17:10:50 +07:00
nguyentrungthat 4a671658ff Update 2025-12-15 14:11:50 +07:00
nguyentrungthat 1d0a90f2cf Update config scenarios 2025-12-15 11:33:45 +07:00
Truong Vo 39fed6d1a1 fix 2025-12-15 11:13:23 +07:00
Truong Vo ae09fe1917 Fix giao diện tollbar 2025-12-15 11:10:11 +07:00
Truong Vo a37e647674 update giao diện bottom bar 2025-12-12 17:12:51 +07:00
Truong Vo d4ae00dc37 update giao diện bottom bar 2025-12-12 17:05:19 +07:00
Truong Vo ec55c169ba Di chuyển button BAUN trong chi tiết line 2025-12-12 15:13:24 +07:00
Truong Vo 8b986232e6 update thanh bottom bar 2025-12-12 14:27:01 +07:00
nguyentrungthat 92cb59cebc Update scroll terminal 2025-12-12 13:51:12 +07:00
Truong Vo bd2d8d498e Chỉnh nội dung trong bottom width 2025-12-12 11:36:43 +07:00
nguyentrungthat a44161c583 Update DrawerControl.tsx 2025-12-11 16:33:31 +07:00
nguyentrungthat 117d982c4d Update add log switch, apc 2025-12-11 09:00:58 +07:00
nguyentrungthat 4e5099aea8 Update send zulip 2025-12-08 16:30:17 +07:00
nguyentrungthat a363883329 Update 2025-12-08 09:37:32 +07:00
nguyentrungthat 086c440386 Update gom lại các thư mục, add input history 2025-12-06 10:36:59 +07:00
nguyentrungthat b817159757 Update ButtonAction.tsx 2025-12-05 09:51:51 +07:00
nguyentrungthat 11673ffc13 Update ButtonAction.tsx 2025-12-05 09:39:02 +07:00
nguyentrungthat 67d8eabc07 Update ButtonAction.tsx 2025-12-05 09:30:40 +07:00
nguyentrungthat f0b1a09fd4 Update run dpelp 2025-12-05 09:27:43 +07:00
Truong Vo 637bdfa16b Khi Delete scenario k tắt modal add/edit 2025-12-05 09:19:46 +07:00
nguyentrungthat cf6a950dcb Update 2025-12-05 08:52:50 +07:00
nguyentrungthat cd2c511afc Pass stationId prop to Drawer controls
Refactored DrawerAPCControl and DrawerSwitchControl components to receive stationId as a prop instead of relying on stationAPI.id. Updated App and BottomToolBar to pass stationId, ensuring correct station context for socket event handling.
2025-12-05 08:37:52 +07:00
nguyentrungthat 7d2c20c61e Update App.tsx 2025-12-05 08:31:11 +07:00
nguyentrungthat 5d7c10ca4d Update 2025-12-05 07:59:13 +07:00
nguyentrungthat b75c3e3697 Update switch 2025-12-04 17:06:47 +07:00
nguyentrungthat d8c58e5361 Merge branch 'main' into that 2025-12-04 16:37:31 +07:00
nguyentrungthat ab1ff30f12 Update save field send wiki 2025-12-04 16:37:24 +07:00
Truong Vo 0f5c878dd4 Fix search 2025-12-04 16:10:21 +07:00
nguyentrungthat 2ad1ee195f Update send Wiki 2025-12-04 15:54:18 +07:00
Truong Vo 17e5aad8d9 Update input search list logs 2025-12-04 14:59:44 +07:00
nguyentrungthat cbbfd4b1df Update logging DPELP 2025-12-04 13:35:16 +07:00
nguyentrungthat f71f18393e Update bất đồng bộ 2025-12-04 10:23:54 +07:00
nguyentrungthat 8ddccf6586 Update station connect 2025-12-04 10:00:56 +07:00
Truong Vo 4d9c6abc89 Hiệu chỉnh thanh bottom bar gọn hơn 2025-12-04 08:26:13 +07:00
Truong Vo ef57da0154 Thên button edit scenarios ở ngoài (góc trái trên) 2025-12-03 14:57:17 +07:00
Truong Vo ae01929bf2 Nút copy all pid+sn: Đổi format copy 2025-12-03 08:49:09 +07:00
Truong Vo 46ac79b94f fix 2025-12-02 15:05:56 +07:00
Truong Vo ae52635c2c Bổ sung màu mới cho nút copy pid+sn 2025-12-02 15:03:00 +07:00
Truong Vo e119d9c831 chức năng copy ở tất cả các view có PID, SN, full PID + SN 2025-12-02 14:59:48 +07:00
nguyentrungthat 68b217f769 Merge branch 'main' into that 2025-12-02 14:23:43 +07:00
nguyentrungthat 997e9b2a1b Add history tracking to Line model and update CLI actions
Introduces a 'history' column to the Line model and database, storing line history as a JSON string. Updates line_connection service to persist history and extends Redis cleanup to 96 hours. Refactors BottomToolBar and ButtonAction components to use selectedLines for CLI actions and adjusts command sequences.
2025-12-02 14:23:35 +07:00
Truong Vo a70ad77ae4 bảng tổng hợp thông tin history 2025-12-02 11:22:17 +07:00
Truong Vo 1be935a805 Fix scroll danh sách cuối station 2025-12-02 09:42:19 +07:00
Truong Vo c532e78093 fix 2025-12-02 09:08:58 +07:00
Truong Vo 13a3788c4a Merge branch 'main' of https://gitea.nswteam.net/andrew.ng/ATC_SIMPLE 2025-12-02 09:00:01 +07:00
Truong Vo 6b787c8f86 fix 2025-12-02 09:00:00 +07:00
nguyentrungthat 075ceb7de4 Add running scenario status to line connections
Implemented real-time tracking and display of running scenarios for line connections. Backend now emits 'running_scenario' events, and frontend components show the current scenario being executed. Also improved switch port status parsing and ensured terminal scrolls to bottom on open.
2025-12-02 08:55:57 +07:00
Truong Vo f60be2f543 fix chức năng history 2025-12-02 08:49:54 +07:00
nguyentrungthat 77027d4f8a Implement DPELP batch run and result aggregation
Added backend and frontend support for running DPELP scenarios on all lines of a station and aggregating results. Introduced a new socket event 'run_all_dpelp', a helper for formatting line results, and logic to post results to a wiki endpoint. Also updated scenario command delays and improved overlay positioning logic in the UI.
2025-12-01 16:49:19 +07:00
Truong Vo 3e1ad11e72 Bổ sung khoảng cách trống 60% mới scroll line + bổ sung last 72h 2025-12-01 16:16:49 +07:00
nguyentrungthat 9c38adb69e Add terminal text color configuration modal
Introduces ModalConfig component for customizing terminal text color, accessible from DragTabs via a new settings icon. TerminalXTerm now reads the color from localStorage, allowing user-selected colors to persist across sessions.
2025-12-01 12:03:58 +07:00