Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Default Text Placeholder #72

Open
aubundy opened this issue Apr 16, 2021 · 12 comments
Open

Default Text Placeholder #72

aubundy opened this issue Apr 16, 2021 · 12 comments
Assignees
Labels
enhancement New feature or request trello Added to Trello board

Comments

@aubundy
Copy link
Member

aubundy commented Apr 16, 2021

The user should see a default text placeholder whenever they don't have any readings, subscriptions, or subscribers. This text should let the user know they haven't read any articles, followed another user, or have any followers.

@aubundy aubundy added the enhancement New feature or request label Apr 16, 2021
@aubundy
Copy link
Member Author

aubundy commented Apr 16, 2021

Default text placeholder

@aubundy aubundy added the help wanted Extra attention is needed label Apr 16, 2021
@aubundy aubundy added the trello Added to Trello board label Sep 23, 2021
@aubundy
Copy link
Member Author

aubundy commented Nov 16, 2021

Screen Shot 2021-11-15 at 9 17 25 PM

Here's an example whenever a new user signs up and goes to the "Your Reads" page. Nothing is displayed in the readings column, so some type of prompt letting them know where future read articles will appear would be nice. It is the same if a new user goes to the "followers" or "following" pages. The user list is empty, so a card displaying something along the lines of "you don't follow anyone" or "you don't have any followers yet" would be good

@mcflav
Copy link
Contributor

mcflav commented Nov 19, 2021

Ok, got it. Sure I will take a stab at it!

@aubundy aubundy removed the help wanted Extra attention is needed label Nov 19, 2021
@mcflav
Copy link
Contributor

mcflav commented Nov 29, 2021

Hello,
I updated the code so that when a user goes to their reads page (Your Reads) it displays a message if they have not posted any articles. Please review and let me know if this works. I also had a question on following/followers. How does this get populated? I tried subscribing to another user's page and adding a tag, but my following/followers is still 0.

@mcflav
Copy link
Contributor

mcflav commented Nov 29, 2021

Before my update:
image

@mcflav
Copy link
Contributor

mcflav commented Nov 29, 2021

After my Update:
image

@aubundy
Copy link
Member Author

aubundy commented Dec 6, 2021

@mcflav thanks! I'll look at the PR more closely tonight

@mcflav
Copy link
Contributor

mcflav commented Feb 3, 2022

Hi Austin,
Sorry I know it's been a while, but I'm still working on this item. I've actually made some progress, but still have a few things to adjust according to your last request. I went back and reviewed the React portion of a course I took to get the full scope of props. After the review I was able to follow your code better and I'm back working on this item. Once I'm done I will generate another pull request. If I have any questions I will reach out as well. Thanks!

@mcflav
Copy link
Contributor

mcflav commented Feb 3, 2022

Hi Austin,
I completed the code for the place holder of user with no reads. I did have a few questions in regards to "Friends/ Subscriptions". Currently I can't test when I have a friend without reads as I still don't know how to add friends. I created another test account. However, when I login with my main account and go to the friends page I don't see where I can add the test friend with no reads as a friend. I looked on the Global page as well. Currently the code should show a message if I have no reads and if I go to my friends page it will show a message if they have no reads.

A few side questions: Currently it will show a message my friends have no reads, but with the current code I'm unsure how to handle if I have more the 1 friend and one friend has reads and the other doesn't. Currently friends seemed to be tracked by subscriptions and this seems to apply to all friends. Also, if I have no friends at all not sure if a message should be displayed. Are we only looking to display a message if we have friends without reads? I will be submitting a pull request shortly so you can see what I have thus far. Thanks!

@mcflav
Copy link
Contributor

mcflav commented Feb 4, 2022

Hi Austin,
I just completed an updated pull request. The screenshots are the same as above (no changes to how the data is displayed on the site). However, I did update the InitialzationCard component to call the VirtualizedList component to avoid duplicate code.

image

@aubundy
Copy link
Member Author

aubundy commented Feb 17, 2022

@mcflav Thanks for doing this! I hope to get around to reviewing this soon but it might take awhile. Just wanted to give a heads up

@mcflav
Copy link
Contributor

mcflav commented Feb 17, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request trello Added to Trello board
Projects
None yet
Development

No branches or pull requests

2 participants