Commit Graph

291 Commits

Author SHA1 Message Date
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 e55951d42c Update ios_license_controller.ts 2025-12-29 16:59:05 +07:00
nguyentrungthat dd32246f9f Update line_connection.ts 2025-12-27 10:10:33 +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 ab7db61608 Update line_connection.ts 2025-12-24 16:18:58 +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 e2e66f86bf Add health check endpoint and controller
Introduces HealCheckController to perform a health check by posting to a wiki API. Adds a new route at /atc/health-check for accessing the health check functionality.
2025-12-23 10:19:16 +07:00
nguyentrungthat 48a50b5628 Improve log handling and email reporting
Refactored log buffer management to use 'allBuffer' for complete log storage and updated email content to include raw logs. Enhanced log table formatting and removed status from email header. Commented out interface up/down rules in helper.ts to adjust log rule detection.
2025-12-23 09:36:46 +07:00
nguyentrungthat 0af1cd8747 Add email reporting for test errors and AI log analysis
Introduces functions to format test errors and AI log analysis as HTML tables and send them via email. Adds helper utilities for error mapping and HTML escaping, and updates types to support structured error rows. Also increases the log check interval and refactors buffer management for improved clarity.
2025-12-22 16:54:02 +07:00
nguyentrungthat 744472f3da Update 2025-12-20 10:13:33 +07:00
nguyentrungthat b9598f9351 Refactor log rule handling and enhance test session logic
Replaces per-rule application with a unified error-based approach in log processing. Expands and clarifies log rules, introduces deduplication and error counting in TestSession, and updates types to support richer error and result reporting. Improves final result output for better clarity and debugging.
2025-12-19 15:42:02 +07:00
nguyentrungthat b8ab1f0583 Update 2025-12-19 12:02:16 +07:00
nguyentrungthat 6c00e35072 Update switch_connection.ts 2025-12-19 08:41:30 +07:00
nguyentrungthat 52ef8f192f Update line_connection.ts 2025-12-18 15:23:55 +07:00
nguyentrungthat fef82cb233 Enhance scenario detection and tracking logic
Updated LineConnection to track processed scenario IDs and prevent duplicate scenario detection by passing a list of previously detected scenarios to detectScenarioByModel. Modified detectScenarioByModel to skip scenarios already in the list. Added a delay in waitUntilAllReady to ensure readiness before proceeding.
2025-12-18 09:00:03 +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 5a8cf4b999 Update migration table brand, category, scenario 2025-12-15 15:03:26 +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 2bc1338316 Update format send zulip 2025-12-09 17:09:23 +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 7e91bc8d85 Update socket_io_provider.ts 2025-12-05 10:11:10 +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