| Version 6 (modified by , 6 hours ago) ( diff ) |
|---|
Add/remove build from favorites
Actors
User, Admin
Scenario
- The user opens the completed builds page, opens the details popup for a build
- The user can click on the "ADD TO FAVORITES" button to toggle whether the build is favorited or not
SELECT 1 FROM favorite_build WHERE user_id = $userId AND build_id = $buildId LIMIT 1; -- if favorite DELETE FROM favorite_build WHERE user_id = $userId AND build_id = $buildId; -- if NOT favorite INSERT INTO favorite_build (user_id, build_id) VALUES ($userId, $buildId);
Attachments (2)
- showBuildDetails.png (234.4 KB ) - added by 8 hours ago.
- favorited.png (232.9 KB ) - added by 8 hours ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.


