DEF-045 — Convoys: Grid/List view toggle does not switch layout

Admin Panel
Low severity
UI
New
Defect DEF-045 — Severity: Low · Status: New
Published

2026-06-17

DEF-045 — Convoys: Grid/List view toggle does not switch layout

Summary

The Grid and List toggle buttons on the Convoys Management page do not change the view layout when clicked. Clicking List leaves the Grid layout active (Grid button retains the active CSS class) and the display is unchanged. The same issue affects the Stories Management page (DEF-012).

Environment

  • URL: https://project6.dxtserver.com/drivelink_new/public/admin/convoys
  • Module: Admin Panel — Convoys → Grid/List toggle
  • Date Reported: 2026-06-17
  • Browser: Chromium (Playwright)
  • Testing Phase: Admin Panel — Section 7: Convoys (test case CON-02)

Steps to Reproduce

  1. Log in to the Admin Panel.
  2. Navigate to Convoys (/admin/convoys).
  3. Observe the Grid/List toggle buttons in the top-right corner — Grid is active.
  4. Click the List button.
  5. Observe: the layout does not change. The Grid button retains the active class.

Evidence from DOM

After clicking “List”:

Grid: class=btn btn-outline-secondary active
List: class=btn btn-outline-secondary

The active class remains on Grid even after clicking List, confirming the click handler is not switching state.

Expected Behaviour

Clicking List should switch the Convoys Management view to a compact list/table layout (e.g. fewer columns, no description preview). Clicking Grid should restore the current card-like layout.

Actual Behaviour

Both toggle buttons are non-functional. The view never changes; the Grid layout is permanently shown regardless of which button is clicked.

Severity

Low — View preference is cosmetic; the Grid view still displays all necessary information.

Priority

Low

Status

New

Reported By

QA / Testing Team