Enhance the Machine pages with better navigation shortcuts and a quick 'My Machines' view.
Proposed Changes
1. Clickable Machine Owner (Machine Detail Page)
2. Clickable Total Issues (Machine Detail Page)
- Make the Total Issues count clickable.
- Link destination:
/m/[initials]/i (the existing "View All Issues" page for that machine).
3. 'My Machines' Quick Filter (Machine List Page)
- Add a "My Machines" button or toggle to the machine list page.
- When active, it filters the list to only show machines where the current user is the owner.
- This provides a quick way for machine owners to see the status of their own equipment.
Relevant Files
src/app/(app)/m/[initials]/page.tsx: Machine detail page.
src/app/(app)/m/[initials]/update-machine-form.tsx: Owner display logic.
src/app/(app)/m/page.tsx: Machine list page.
Dependencies
Enhance the Machine pages with better navigation shortcuts and a quick 'My Machines' view.
Proposed Changes
1. Clickable Machine Owner (Machine Detail Page)
/m?owner=[owner_id].ownerparameter.2. Clickable Total Issues (Machine Detail Page)
/m/[initials]/i(the existing "View All Issues" page for that machine).3. 'My Machines' Quick Filter (Machine List Page)
Relevant Files
src/app/(app)/m/[initials]/page.tsx: Machine detail page.src/app/(app)/m/[initials]/update-machine-form.tsx: Owner display logic.src/app/(app)/m/page.tsx: Machine list page.Dependencies