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
Is your feature request related to a problem? Please describe.
Yes, the website looks empty and some aspects can't be tested without additional posts
Describe the solution you'd like
Add an automated way to populate the website with fake data
Additional context
could possibly use FakerJS
shouldn't be done until more model architecture is finalized
Development
research FakerJS and other possible solutions
decided to use FakerJS and build a separate script for fake data injection
get post image to stop changing every refresh and be different
tried generated a random image each time
but now none of the links work
had to pass in dimensions and now it works
fix categories not being linked to posts properly
had to map each chosen category to a name for insertion
"Fake" category shouldn't be injected into DB since only devs should be able to use it
Votes should also be injectable into the system or posts should be created with a random reputation score
votes could be linked to fake users so they already have basis w/ logged into
but would be more difficult to test what would happen at different reputation scores
would needa create an insane amt of votes + ensure each one's properly contributed to an appropriate post if a certain score needs reaching for testing
but creating votes would allow for testing if user rep increases if they contribute enough votes
also, all user votes should be shown somewhere
so should prolly do a combination of random rep score along with specified number of votes
user linked votes aren't deleted with them
bc delete votes w/ user if deleted, but only during the API call
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Additional context
Development
research FakerJS and other possible solutions
get post image to stop changing every refresh and be different
fix categories not being linked to posts properly
"Fake" category shouldn't be injected into DB since only devs should be able to use it
Votes should also be injectable into the system or posts should be created with a random reputation score
user linked votes aren't deleted with them
create a specified number of votes based on if option
add badges to posts
add badges to users
randomize some post scores
randomize some user scores based on if option
determine why all users and votes not always deleted + fix
fake publish date of posts
allow for entering of options in any order for insertion
fake post comments
make sure replies to other replies are being created
create realistic fake comment dating
delete fake comments
speed up updating of root comments
only add up to 2 cats per post
determine why faked images suddenly won't render
delete all comments replying to comments author'd by fake usernames
populate post descriptions with faked html for better visualization
figure out why images take so long to load
figure out + fix how urls generated for social media links are dead
figure out why test data images occasionally change + fix them
The text was updated successfully, but these errors were encountered: