You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAJOR BENEFIT I HOPE: It has never been easier to contribute to open source: Just PR a meme!!!
i want memes for my content creation whether or not people view them
but, maybe people will like them so we can try it out
erm Reviewables not Rateables
use a clapping feature like medium - a UserRating references a user and a Ratable and it can rate smth up to +10 or -10. When the UserRating is updated the the Ratable's total score will be updated. VotableType should become RatableType and we can rm the more complex Votable entity. we don't want VotableHierarchyVotableSnapshot authors etc
a Reviewables will have:
id Int @id@default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
type VotableType
displayName String? // also, the title for questions and blog posts
foreignKey String @unique // could be a course ID, a mentor ID, or a filename or URL; whatever the thing is
tags String[]
reviews Review[]
rating Int @default(0) // cached sum(reviews.rating)
ratingCount Int @default(0) // cached len(reviews)
blog articles and /memes will now be sortable by:
Published Date (updatedAt)
Count of Ratings
Average Rating
Total Rating
Random
each page can then nav next/prev (by published date), or random next, or back to list
this is for articles and memes for now
MAJOR BENEFIT I HOPE: It has never been easier to contribute to open source: Just PR a meme!!!
The text was updated successfully, but these errors were encountered:
Vandivier
changed the title
Rateables over Votables
Reviewables over Votables
Jan 25, 2025
MAJOR BENEFIT I HOPE: It has never been easier to contribute to open source: Just PR a meme!!!
i want memes for my content creation whether or not people view them
but, maybe people will like them so we can try it out
erm Reviewables not Rateables
use a clapping feature like medium - a UserRating references a user and a Ratable and it can rate smth up to +10 or -10. When the UserRating is updated the the Ratable's total score will be updated. VotableType should become RatableType and we can rm the more complex Votable entity. we don't want
VotableHierarchy
VotableSnapshot
authors etca Reviewables will have:
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
type VotableType
displayName String? // also, the title for questions and blog posts
foreignKey String @unique // could be a course ID, a mentor ID, or a filename or URL; whatever the thing is
tags String[]
reviews Review[]
rating Int @default(0) // cached sum(reviews.rating)
ratingCount Int @default(0) // cached len(reviews)
blog articles and /memes will now be sortable by:
each page can then nav next/prev (by published date), or random next, or back to list
this is for articles and memes for now
MAJOR BENEFIT I HOPE: It has never been easier to contribute to open source: Just PR a meme!!!
The text was updated successfully, but these errors were encountered: