Commit Graph

281 Commits

Author SHA1 Message Date
nguyentrungthat 1de8ab75a0 Update view modal 2026-04-16 08:58:55 +07:00
nguyentrungthat b5c84e5cee Update 2026-04-01 13:57:06 +07:00
nguyentrungthat 2ecb153118 Update confirm before run Physical 2026-04-01 13:31:23 +07:00
nguyentrungthat b715c0773a Update 2026-03-31 16:55:49 +07:00
nguyentrungthat cba3178d09 Update select IOS, warning ping 2026-03-31 15:49:20 +07:00
nguyentrungthat d2263a3ec3 Update socket_io_provider.ts 2026-03-30 08:31:41 +07:00
nguyentrungthat fa8fd8116f Update socket_io_provider.ts 2026-03-27 08:59:39 +07:00
nguyentrungthat 27485dc245 Update skip physical test 2026-03-27 08:45:44 +07:00
joseph le 36dc75bee8 Update 2026-03-26 09:27:17 +07:00
nguyentrungthat 7888fc4090 Update regex inventory 2026-03-26 08:08:38 +07:00
nguyentrungthat c7040f7ac7 Update load IOS, License 2026-03-21 09:32:35 +07:00
nguyentrungthat 16bdd6d586 Update send zulip 2026-03-20 13:15:10 +07:00
nguyentrungthat c3c5914651 update stream zulip 2026-03-20 10:31:01 +07:00
nguyentrungthat 211f85130d Update regex show inventory, version 2026-03-19 08:26:33 +07:00
nguyentrungthat 0bb2ce2e63 Update ping trước khi load ios, license 2026-03-17 08:35:35 +07:00
nguyentrungthat c18b8aeff2 Update 2026-03-11 07:45:42 +07:00
nguyentrungthat c032a29cdd Update flow physical test va confirm skip test 2026-03-10 15:31:43 +07:00
nguyentrungthat faf37c7136 Update note sn to erp 2026-03-09 10:05:30 +07:00
nguyentrungthat 5305e64453 Update flow test dpelp 2026-03-05 08:52:41 +07:00
nguyentrungthat 3088848b1a Update rule run dpelp và physical 2026-03-04 14:20:54 +07:00
nguyentrungthat 7af8aabf6b Update ModalSelectIOS.tsx 2026-03-03 13:08:53 +07:00
nguyentrungthat 8612d88858 Update view IOS 2026-03-03 11:30:38 +07:00
nguyentrungthat 75acf0ed8c Increase test interval and relax license check
Increase physical test polling interval from 5s to 15s (backend setInterval and frontend AutoProgress ms) to reduce polling frequency. Add handling to stop the interval when physicalTest.done, send the physical test report, and end testing. Change license filtering to be case-insensitive and match any value containing "permanent" (backend and frontend) so licenses are detected regardless of casing/format.
2026-03-02 13:29:24 +07:00
nguyentrungthat 7e422e4852 Update css 2026-02-26 16:30:29 +07:00
nguyentrungthat d68eca64c8 Emit update_status_ready and filter ready lines
Emit a dedicated 'update_status_ready' event when a LineConnection becomes ready, and stop sending isReady in the 'line_output' payload. On the server side, normalize incoming run_all_dpelp data and filter lineIds to only include lines that are already ready; also bail out early if no eligible lines or station isn't configured to send wiki. On the frontend, initialize line state with isReady, stop deriving readiness from line_output, and listen for the new 'update_status_ready' event to update line readiness in the UI.
2026-02-26 09:47:48 +07:00
nguyentrungthat 4b65611269 Update line_connection.ts 2026-02-24 09:36:52 +07:00
nguyentrungthat 05950726bf Update status is ready for line 2026-02-24 09:36:36 +07:00
nguyentrungthat 669c30ca11 Add Issue badge and reset latestScenario
Reset latestScenario when a line disconnects and surface AI-detected issues in the UI. Backend: clear config.latestScenario on disconnect. Frontend: initialize latestScenario in App state, import useEffect and add isShowIssue state in CardLine with an effect that checks line.latestScenario.detectAI.issue (array) to toggle the badge. UI: reorganize feature badges layout and render a red "Issue" pill when an AI-detected issue exists.
2026-02-23 16:34:17 +07:00
nguyentrungthat 763bfca791 Update line_connection.ts 2026-02-23 14:33:22 +07:00
nguyentrungthat c644e798c6 Add summary-report debounce and small fixes
Backend: Add debounceSendSummaryReport to LineConnection and snapshotting to debounce sendReportSummary (10 min) to avoid duplicate summary emails; adapt sendReportSummary to accept a snapshot and use snapshot data when available. Reset physicalTest and listFeatureTested on line disconnect and add initConfig helper. Improve PoE/SFP parsing (filter names with '/' and match 'unknown') and adjust report HTML (tested/missing counts, column counts). Add PS_INCOMPATIBLE log rule. Comment out automatic wiki/email send in socket provider. Physical test service: suppress getFormReport call on completion and include PoE/SFP breakdown in the HTML report counts. Frontend: fix terminal open logic to check userOpenCLI instead of userEmailOpenCLI and display device MAC in the terminal modal.
2026-02-23 11:20:56 +07:00
nguyentrungthat f3dbd3d4cc Update form Report 2026-02-13 09:20:54 +07:00
nguyentrungthat 02fdbcb166 Update 2026-02-11 14:38:10 +07:00
nguyentrungthat 7d3c5ad069 Clear terminal scrollback; format report output
Append a CLEAR_TERMINAL_SCROLL_BACK marker on disconnect and consume it in the frontend to effectively clear terminal scrollback. Backend: add marker on client close and in socket provider, import convertFromKilobytesString and use it to format MEMORY and FLASH values in the report, and compute/list missing ports (separating PoE vs SFP) in the summary HTML. Frontend: emit the marker on line_disconnected and have TerminalXTerm replace the marker with multiple newlines (varying by miniSize) before writing/initializing terminal content to scroll to bottom.
2026-02-11 10:11:34 +07:00
nguyentrungthat 0cc78e8715 Update UI card line view listFeatureTested 2026-02-10 14:28:43 +07:00
nguyentrungthat 215cd4fbe4 Update convert kilobytes 2026-02-10 09:52:19 +07:00
nguyentrungthat c7094f0fd8 Update form report and UI 2026-02-10 08:16:25 +07:00
nguyentrungthat b9c25499aa Update socket_io_provider.ts 2026-02-09 15:01:06 +07:00
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 2382ab1f6f Update email 2026-02-06 13:29:57 +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 5812e1742b Update show_version.ts 2026-02-02 10:53:47 +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