DEF-045 — Convoys: Grid/List view toggle does not switch layout
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
- Log in to the Admin Panel.
- Navigate to Convoys (
/admin/convoys). - Observe the Grid/List toggle buttons in the top-right corner — Grid is active.
- Click the List button.
- Observe: the layout does not change. The Grid button retains the
activeclass.
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