The UX for View Details, Edit, and Delete actions is inconsistent across different object types in the application. The vehicle cards represent the desired pattern, but Documents, Fuel Logs, and Maintenance have different implementations.
Current State (Observed on staging.motovaultpro.com)
Page
Layout
View Details
Edit
Delete
Hover Effect
Vehicles
Cards
Click card
Pencil icon
Trash icon (red)
Light gray shadow/elevation
Documents
Cards
"View Details" button (filled)
None
"Delete" button (filled red)
None
Fuel Logs
List rows
N/A
Pencil icon
Trash icon (red)
None
Maintenance
List rows
N/A
Pencil icon
Trash icon (red)
None
Expected State (Vehicle pattern as standard)
All object cards/rows should follow the Vehicles pattern:
Action Buttons (bottom-right of card/row)
Eye icon - View Details (new - navigates to detail view)
Pencil icon - Edit
Trash icon (red) - Delete
Hover Effect
Light gray shadow/elevation effect on hover
Applies to: Vehicles, Documents, Fuel Logs, Maintenance
Excludes: Gas Stations (unique interaction model)
Scope
Documents Page
Replace "View Details" filled button with eye icon
Add pencil icon for Edit functionality
Replace "Delete" filled button with trash icon
Add light gray hover effect to document cards
Fuel Logs Page
Add eye icon for View Details (if applicable)
Keep existing pencil and trash icons
Add light gray hover effect to list rows
Maintenance Page
Add eye icon for View Details (if applicable)
Keep existing pencil and trash icons
Add light gray hover effect to list rows
Design Reference
Standard icon set (consistent across all objects):
View Details: Eye icon (visibility icon)
Edit: Pencil icon
Delete: Trash icon (red color)
Hover state:
Background: Light gray (#f5f5f5 or similar)
Optional: Subtle shadow elevation
Cursor: Pointer
Out of Scope
Gas Stations page (unique interaction model with Navigate/Premium 93/Favorite buttons)
Acceptance Criteria
All object cards/rows use consistent icon buttons (eye, pencil, trash)
All interactive cards/rows have light gray hover effect (except Gas Stations)
Mobile and desktop viewports tested
No visual regressions on existing functionality
## Problem
The UX for View Details, Edit, and Delete actions is inconsistent across different object types in the application. The vehicle cards represent the desired pattern, but Documents, Fuel Logs, and Maintenance have different implementations.
## Current State (Observed on staging.motovaultpro.com)
| Page | Layout | View Details | Edit | Delete | Hover Effect |
|------|--------|--------------|------|--------|--------------|
| **Vehicles** | Cards | Click card | Pencil icon | Trash icon (red) | Light gray shadow/elevation |
| **Documents** | Cards | "View Details" button (filled) | None | "Delete" button (filled red) | None |
| **Fuel Logs** | List rows | N/A | Pencil icon | Trash icon (red) | None |
| **Maintenance** | List rows | N/A | Pencil icon | Trash icon (red) | None |
## Expected State (Vehicle pattern as standard)
All object cards/rows should follow the Vehicles pattern:
### Action Buttons (bottom-right of card/row)
1. **Eye icon** - View Details (new - navigates to detail view)
2. **Pencil icon** - Edit
3. **Trash icon (red)** - Delete
### Hover Effect
- Light gray shadow/elevation effect on hover
- Applies to: Vehicles, Documents, Fuel Logs, Maintenance
- **Excludes**: Gas Stations (unique interaction model)
## Scope
### Documents Page
- [ ] Replace "View Details" filled button with eye icon
- [ ] Add pencil icon for Edit functionality
- [ ] Replace "Delete" filled button with trash icon
- [ ] Add light gray hover effect to document cards
### Fuel Logs Page
- [ ] Add eye icon for View Details (if applicable)
- [ ] Keep existing pencil and trash icons
- [ ] Add light gray hover effect to list rows
### Maintenance Page
- [ ] Add eye icon for View Details (if applicable)
- [ ] Keep existing pencil and trash icons
- [ ] Add light gray hover effect to list rows
## Design Reference
**Standard icon set (consistent across all objects):**
- View Details: Eye icon (visibility icon)
- Edit: Pencil icon
- Delete: Trash icon (red color)
**Hover state:**
- Background: Light gray (#f5f5f5 or similar)
- Optional: Subtle shadow elevation
- Cursor: Pointer
## Out of Scope
- Gas Stations page (unique interaction model with Navigate/Premium 93/Favorite buttons)
## Acceptance Criteria
- [ ] All object cards/rows use consistent icon buttons (eye, pencil, trash)
- [ ] All interactive cards/rows have light gray hover effect (except Gas Stations)
- [ ] Mobile and desktop viewports tested
- [ ] No visual regressions on existing functionality
Converted from Tailwind custom Card/Button to MUI components. Replaced "View Details" text button with Eye icon, replaced "Delete" text button with Trash icon. Added card hover shadow effect (boxShadow: 3 on hover). Mobile-responsive with 48px touch targets.
FuelLogsList
Added row hover background effect (action.hover on hover) with 0.2s transition.
MaintenanceRecordsList
Added card hover shadow effect (boxShadow: 3 on hover) with 0.2s transition.
MaintenanceSchedulesList
Added card hover shadow effect (boxShadow: 3 on hover) with 0.2s transition.
Pattern Applied
All components now follow the VehicleCard pattern:
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
The UX for View Details, Edit, and Delete actions is inconsistent across different object types in the application. The vehicle cards represent the desired pattern, but Documents, Fuel Logs, and Maintenance have different implementations.
Current State (Observed on staging.motovaultpro.com)
Expected State (Vehicle pattern as standard)
All object cards/rows should follow the Vehicles pattern:
Action Buttons (bottom-right of card/row)
Hover Effect
Scope
Documents Page
Fuel Logs Page
Maintenance Page
Design Reference
Standard icon set (consistent across all objects):
Hover state:
Out of Scope
Acceptance Criteria
Milestone: Implementation Complete
Phase: Execution | Agent: Developer | Status: PASS
Changes Implemented
boxShadow: 3on hover). Mobile-responsive with 48px touch targets.action.hoveron hover) with 0.2s transition.boxShadow: 3on hover) with 0.2s transition.boxShadow: 3on hover) with 0.2s transition.Pattern Applied
All components now follow the VehicleCard pattern:
boxShadow: 3) withtransition: 'box-shadow 0.2s ease-in-out'Out of Scope
Verification
Verdict: PASS | Next: Quality Agent review
PR: #52
Milestone: Browser Verification Complete
Phase: Review | Agent: QR | Status: PASS
Verified in Browser (staging.motovaultpro.com)
Eye Icon Applicability
Per issue spec "Add eye icon for View Details (if applicable)":
/garage/documents/:iddetail pageCommits
5e04552- Initial implementation (hover effects, Documents eye+trash)5ad5ea1- Added Edit (pencil) icon to DocumentsVerdict: PASS | Next: Merge PR
PR: #52