narayan954 / dummygram

DummyGram is a social media application where we have posts, stories, chat, friends, authentication, comment, delete, share and like feature. It uses ReactJs in the frontend for the UI and Firebase for the backend storing the users, posts, stories and comments.
https://narayan954.github.io/dummygram/
MIT License
79 stars 184 forks source link

Improve UI of Home page #694

Open Palakkgoyal opened 1 year ago

Palakkgoyal commented 1 year ago

Description

I think we should not use multi column layout on home page. There are some reasons for this such as it make harder for the user to focus on one post(If there is only one column for posts then, it will be easy for user to go through them), due to multi column we need to request data more rapidly which is not good. I checked some website such as instagram, twitter, FaceBook and some other website such as showwcase.com, they only have a single column layout(Only YouTube has multiple columns). I am not saying we should copy but, I think its better to have single column instead of multi column.

So, we will have sidebar on the left, search bar and people you may know section on the right and posts in the middle. What do you think @narayan954 ?

Screenshots

No response

Additional information

No response

narayan954 commented 1 year ago

Hi @Palakkgoyal Actually I'd like to give more thought to this. We added an option for user to change between modes, and default is column mode only, so it's users choice for focus issue. If a user seeks, he should get :P He can scroll easier this way as a merit part as well. Scrolling rapidly might not actually be an issue but a feature for our app.

I'll think more about this @Palakkgoyal

Palakkgoyal commented 1 year ago

Yes, I think you are right. I didn't think of that it's not compulsory for user its his/her choice whether to use multi column or single column. But, what if user want to use single column and I think its not broad enough. I mean when the user uses single column layout then, the post component should have more width. What do you think?

narayan954 commented 1 year ago

Yes, I think you are right. I didn't think of that it's not compulsory for user its his/her choice whether to use multi column or single column. But, what if user want to use single column and I think its not broad enough. I mean when the user uses single column layout then, the post component should have more width. What do you think?

Yes, post could be broader but won't that affect it's UI?