Skip to main content

Frontend Improvement Tool

The Frontend Improvement Tool is a feature for selecting the element you want fixed on a screen you are verifying in a staging, and saving an improvement instruction for it.
The coding agent retrieves the improvement instructions via MCP and fixes the source code of the corresponding screen.

What You Can Do​

  • You can select an element on the screen by clicking it and save an improvement instruction for that element.
  • The CSS selector of the selected element, the URL of the screen, and the JSSP program path are recorded automatically in the improvement instruction.
  • You can view the list of saved improvement instructions on the screen, and edit and reject them.
  • The coding agent can retrieve improvement instructions from the MCP server and update the improvement instructions it has finished fixing to "Completed."

Usage Flow​

  1. Deploy the assets you want to verify to a staging and switch to that staging. For the steps, see "Basic Usage Flow" in Usage.
  2. Open a screen of the deployed assets. The Frontend Improvement Tool tab is displayed at the right edge of the screen.
  3. Select the element you want fixed, enter an improvement instruction, and save it.
  4. Ask the coding agent to retrieve the improvement instructions and fix them.
  5. Redeploy the assets fixed by the agent and check them on the screen.

Conditions for Displaying the Tab​

The Frontend Improvement Tool tab is displayed on screens that meet all of the following conditions.

  • Your session is switched to a staging.
  • The staging you switched to has an active deployment.
  • The screen is a script development model (JSSP) screen included in the deployed assets, and the response is HTML.

Even when you are switched to a staging, the tab is not displayed on screens that are not included in the deployed assets, such as the product's standard screens.

frontend-fix-01

Saving an Improvement Instruction​

The tab contains the following buttons, from top to bottom. Hovering the mouse cursor over a button displays its description.

ButtonDescription DisplayedAction
Element selectionClick to start element selectionStarts and ends element selection mode.
HistoryShow improvement request historyDisplays the list of improvement instructions.
?Show how to use this toolDisplays a description of the operating procedure.

You can move the tab up and down by dragging the "⋯" at its top edge.

Save an improvement instruction with the following steps.

  1. Click the element selection button. Element selection mode starts.
  2. Hover the mouse cursor over the element you want fixed. The element is highlighted with an outline.
  3. Click the element. The improvement instruction form opens.
  4. Enter what you want fixed in "Improvement instruction" and click "Save." You can also save with Shift + Enter.

frontend-fix-02

When you save, "Improvement request saved." is displayed and element selection mode ends.

To end element selection mode, click the element selection button again or press the Esc key.

What Is Recorded in an Improvement Instruction​

In addition to the text you entered, the following is recorded automatically in an improvement instruction.

ItemDescription
CSS selectorA selector that identifies the selected element. One that resolves to a single element on the screen is generated, in the order of id, class, and then tag name and position.
URLThe URL of the screen where the improvement instruction was saved
JSSP program pathThe path of the program that output the screen
HTMLThe structure of the selected element and its descendants (up to 5 levels down)
Staging ID / deploy IDThe staging you were switched to at the time of saving, and the active deployment of that staging
Creator / creation date/timeThe user who saved it, and the date and time

Improvement Instruction History​

Clicking the history button displays the list of improvement instructions, newest first.
The list shows the improvement instructions saved in the currently active deployment of the staging you are switched to.

frontend-fix-03

You can perform the following operations in the list.

OperationDescription
Filter by statusSelect the statuses to display with the "Show all," "Unassigned," "Completed," and "Rejected" checkboxes.
Check the elementClicking a row scrolls the screen to the position of the target element and highlights the element with a blue outline.
Edit the improvement instructionClicking an "Unassigned" row opens the form, where you can rewrite the improvement instruction and save it.
RejectClicking the "×" at the right end of an "Unassigned" or "Completed" row changes that improvement instruction to "Rejected."

If the structure of the screen has changed and the target element cannot be found, "The element no longer exists." is displayed.

Improvement Instruction Statuses​

StatusMeaningEditing the Improvement Instruction
UnassignedThe status immediately after savingPossible
CompletedThe status in which the fix is done. The coding agent updates it via MCP.Not possible
RejectedThe status in which it was decided not to address the instruction. Updated with the "×" on the screen, or via MCP.Not possible

An improvement instruction changed to "Completed" or "Rejected" cannot be returned to "Unassigned."

Using It from a Coding Agent​

Improvement instructions are retrieved from the MCP server provided by the AI-native Development Support Feature.

ItemDescription
URL<iAP base URL>/copilot/mcp/development/staging/frontend-fix
AuthenticationSend an API key (scope development) in the Authorization: Bearer <API key> header

In a project created with the Accel CLI, the agent's MCP configuration is generated automatically based on the connection destination and API key registered with accel login. The server name is frontend_fix.
For how to issue an API key, see "Deploying with the Accel CLI" in Usage.

MCP Server Tools​

ToolArgumentsAction
list_frontend_fix_requestsstaging_id (required), deployment_id (optional)Returns the list of improvement instructions as JSON. If you omit deployment_id, it returns all improvement instructions saved in that staging.
update_frontend_fix_request_statusid (required), status (required; completed or rejected)Updates the status of an improvement instruction to "Completed" or "Rejected."

list_frontend_fix_requests returns improvement instructions in all statuses, newest first. Each improvement instruction contains the following items.

ItemDescription
idThe ID of the improvement instruction. Used as an argument of update_frontend_fix_request_status.
stagingIdStaging ID
instructionThe text you entered
statusStatus (unassigned: Unassigned / completed: Completed / rejected: Rejected)
selectorThe CSS selector of the target element
urlThe URL of the screen where the improvement instruction was saved
jssp_program_pathThe JSSP program path of the program that output the screen
createDateCreation date/time

The agent can identify the file to fix from jssp_program_path and the element to fix from selector.

Example Request​

Tell the agent the target staging ID and the statuses to target.

Retrieve the improvement instructions for staging my-app-staging and fix the unassigned ones.
Update each improvement instruction to completed once its fix is done.

Notes​

  • The target element is identified by the CSS selector at the time of saving. If the structure of the screen changes, you may not be able to highlight the element from the history.