| Version 1 (modified by , 7 hours ago) ( diff ) |
|---|
User opens dashboard
Actors
Admin
Scenario
- The admin clicks on the button with their username
- A dashboard with their information, favorited builds and their own builds is displayed.
SELECT username, email FROM users WHERE id = $userId LIMIT 1;
SELECT id, user_id, name, created_at, total_price FROM build WHERE is_approved = false ORDER BY created_at DESC;
SELECT id, user_id, name, created_at, total_price FROM build WHERE user_id = $userId ORDER BY created_at DESC;
SELECT * FROM suggestions WHERE status = 'pending' ORDER BY id DESC;
Attachments (2)
- adminDashboard.png (97.9 KB ) - added by 4 hours ago.
- clickAdmin.png (76.6 KB ) - added by 4 hours ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.
