Change likes to stars #5
Ghost
commented 2020-05-14 21:24:50 +03:00
(Migrated from codeberg.org)
- Remove likes completely
- Add stars table
- Add UI for stars, something like stars on nalog.nl site
- User can change his vote by clicking on these stars on recipe
- 1, 2 stars must be red 3 - orange and 4, 5 stars - green
- Remove likes completely
- Add stars table
```sql
create table stars (
id int UNSIGNED primary key AUTO_INCREMENT,
user_id int UNSIGNED not null,
recipe_id int UNSIGNED not null,
value tinyint UNSIGNED not null,
created_at datetime not null,
updated_at datetime not null
);
```
- Add UI for stars, something like stars on nalog.nl site
- User can change his vote by clicking on these stars on recipe
- 1, 2 stars must be red 3 - orange and 4, 5 stars - green
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactror
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
archive/reciper#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?