Skip to content

RDKB-64768 MTA Line Diagnostics page shows incorrect number of entries in business mode UI#52

Open
pavankumar464 wants to merge 2 commits intodevelopfrom
bug/XB10-2658
Open

RDKB-64768 MTA Line Diagnostics page shows incorrect number of entries in business mode UI#52
pavankumar464 wants to merge 2 commits intodevelopfrom
bug/XB10-2658

Conversation

@pavankumar464
Copy link
Copy Markdown
Contributor

RDKB-64768 MTA Line Diagnostics page shows incorrect number of entries in business mode UI

Copilot AI review requested due to automatic review settings May 5, 2026 05:14
@pavankumar464 pavankumar464 requested review from a team as code owners May 5, 2026 05:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the MTA Line Diagnostics page to render diagnostics sections dynamically from Device.X_CISCO_COM_MTA.LineTableNumberOfEntries instead of hard-coding individual line blocks, so the UI can scale beyond the original fixed set of lines.

Changes:

  • Replaced per-line client-side click handlers with a generic diagnostics handler.
  • Replaced hard-coded line 1–8 markup with a server-side loop that renders one diagnostics section per voice line.
  • Refactored the diagnostics action handler to parse dynamic get_statusN / start_diagnosticsN requests.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
source/Styles/xb3/jst/mta_Line_Diagnostics.jst Converts the page UI and client-side logic from fixed per-line blocks to dynamic rendering and generic request dispatch.
source/Styles/xb3/jst/actionHandler/ajaxSet_mta_Line_Diagnostics.jst Refactors the backend action handler to support dynamic line lookup and diagnostics execution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/Styles/xb3/jst/mta_Line_Diagnostics.jst
Comment thread source/Styles/xb3/jst/mta_Line_Diagnostics.jst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants