Agendash Enhancement Instructions

How to View Dealer Information in Agendash
Option 1: Custom Dashboard (Recommended)
Visit /dealer-dashboard for a comprehensive view with dealer information.
Option 2: Enhanced Agendash
To add dealer information directly to the Agendash interface, follow these steps:
Step 1: Open Agendash

Navigate to /dash in your browser.

Step 2: Open Browser Console

Press F12 or right-click and select "Inspect" to open developer tools.

Step 3: Load the Enhancement Script

In the console, paste and run this command:

fetch('/public/agendash-enhancer.js').then(r => r.text()).then(eval);
Step 4: Enjoy Enhanced View

The Agendash interface will now show:

  • Dealer badges next to job names
  • Dealer filter dropdown to filter jobs by dealer
  • Dealer statistics panel showing job counts per dealer
Alternative: Bookmarklet

Create a bookmark with this URL:

javascript:(function(){fetch('/public/agendash-enhancer.js').then(r=>r.text()).then(eval);})();

Click the bookmark when on the Agendash page to enhance it.


API Endpoints

The following API endpoints are available for programmatic access:

Endpoint Description Example Response
GET /api/agendash/jobs-with-dealer Get all jobs with dealer information JSON with job list including dealer field
GET /api/agendash/dealer-stats Get statistics by dealer JSON with dealer statistics
GET /api/agendash/job/:id/dealer Get dealer info for specific job JSON with dealer and status info