Giter Club home page Giter Club logo

narayan954 / dummygram Goto Github PK

View Code? Open in Web Editor NEW
75.0 75.0 189.0 32.57 MB

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.

Home Page: https://narayan954.github.io/dummygram/

License: MIT License

HTML 0.67% CSS 25.04% JavaScript 74.27% Shell 0.02%
firebase hackotberfest hacktoberfest2023 react

dummygram's People

Contributors

1010varun avatar abhishek3434 avatar ak-shat-jain avatar anamika7153 avatar ansharora28 avatar bhartinagpure avatar biplavmz avatar code1705 avatar deepsource-autofix[bot] avatar dependabot[bot] avatar fiskryeziu avatar kalyan-velu avatar kshitij01042002 avatar mahirmahdi avatar mathiasayivor avatar narayan954 avatar palakkgoyal avatar prateek565 avatar sarkartanmay393 avatar shraddha761 avatar shruti8302 avatar shubham185y avatar soulpurr avatar sriparno08 avatar subhamb2003 avatar suman-tewary avatar sumitkr2000 avatar vijayalakshmiganesh avatar vineet-singh-chauhan avatar vk20july avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dummygram's Issues

[Feature] Dark Mode

Description

Implement Dark mode for the application to give it a better look.

Screenshots

No response

Additional information

We can have a toggle at the side for dark mode

Issue with cards

Description

Newly implemented cards work for posts with images , but don't for post without images.

Steps to reproduce

Make any post without images and you'll face this issue ,, where there's a default placeholder image and the actual caption might be lost.

Screenshots

image

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional information

No response

react deploy action

react deploy action (deployreact.yml) is not working as expected and hence failing.
It is failing to deploy to github-pages due to failure of installing dependencies and it can't run with --force either.
Please help me resolve.

Add a color picker option for gradient

Description

Any post generated by the user only has this background:

Adding a color picker tool will be really beneficial to make the posts more unique.

Screenshots

image

Additional information

No response

Improve the site's header

What would you like to share?

The current site's header needs a little improvement to look exactly like that of IG, assign this to me I will get it done perfectly

Additional information

No response

[FEATURE] Add a footer

Description

We can add a footer which navigates to different pages includes about us contact us your social media links and little about motive of this website

We have two options to implement this as in This Solution

Please confirm anyone of them and feel free to ask for more information

Screenshots

No response

Additional information

No response

[FEATURE] Enable posting without images

Description

Currently, users must upload an image when posting. Which is not a good UX.
It would be great to enable users post without uploading an image

Screenshots

No response

Additional information

No response

Improve readme

Add sections/pictures or details to improve the readme

[Bug] When the upload button is clicked without selecting any image

Description

When the upload is clicked without selecting any image the loading continues forever. So this should be handled beforehand.

Steps to reproduce

  1. Do not select any image and just directly press the upload button.

Screenshots

image
image

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional information

No response

[FEATURE] New login/signup page

Description

When we enter site, we directly get to the posts and due to this our database needs to be exposed to public to load posts, which isn't a good practice. We can have a sign in/sign up page instead.

Screenshots

No response

Additional information

We need to implement a simple login/signup page

Improve UI - A Mega Isssue

UI of the project can be improved to a great extent.
We can start with parts.
This issue can become a thread for issues related to UI enhancement issues.
Contribution is welcome.
Ps - Create a separate issue specifying the elements you'll improve .

[FEATURE] User Profile Page

Description

I want to do the following changes: -

  • Create a separate route or a modal or an overlay for user settings.
  • Right now, the page just shows if a user is logged in or not and a user cannot see which email or the details, he/she used to log in.
  • I also want to add a dynamic user profile picture to a user when they sign in (as a Gravatar).

Screenshots

No response

Additional information

Information needed:

  • Kindly suggest how should I make the profile page? As a separate route or as an overlay?
    Kindly confirm.

Local compilation fails

Describe the bug
I get a compilation error when I run npm start.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repository
  2. Install dependencies npm install --force
  3. Try starting the dev server npm start

Expected behavior
The dev server should start normally and I should be able to view exactly what's on the production build

Screenshots
Screenshot from 2022-10-01 09-04-09

Desktop (please complete the following information):

[NOT APPLICABLE]

Smartphone (please complete the following information):

[NOT APPLICABLE]

Additional context
[NONE]

Add logo to profiles

Add logo uploading option while signing up for profiles through firebase, so that each profile can have its own profile picture as logo.

[FEATURE] <Enhanced like button>

Description

Workable Like button (Hover, like count on clicking, etc, etc)

Screenshots

No response

Additional information

No response

[Image preview] <Image Preview before uploading>

Description

User cannot see the image before uploading it. Adding a image preview will help the user to confirm the selected image.

Screenshots

image

Additional information

Would like to work on this for kwoc

Dark mode Scrollbar

Description

Edit custom Scrollbar for dark mode.

Screenshots

No response

Additional information

No response

Improve UI - for cards

Description

Cards for post look really dull or I should say simple. We can design them better with some border/border radius etc. Align the contents to the left similar to a Instagram post

Screenshots

Current         Reference

Additional information

No response

[FEATURE] Perf: Add pagination for posts

Description

Currently, the app is loading all posts at once, which might be an issue once posts get larger. It'd be better to use pagination (i.e load more posts only when the user scrolls down).

Screenshots

No response

Additional information

No response

[FEATURE] UX: Improve on pagination

Description

The current pagination solution #52, resets the scroll position after new uploads and does not make provision for updates for existing uploads.

We need to fix this issue for updates to the existing uploads.

Screenshots

No response

Additional information

No response

[FEATURE] Emoji in comment box

Description

Currently, there is only an icon for the emoji picker.
We should have a working Emoji picker to add emoji in comments

Screenshots

Capture

Additional information

No response

Use Vite

Is your feature request related to a problem? Please describe.
The app was created using create-react-app, which is great, but there are so many dependency errors.
PS: This issue is related to #2

Describe the solution you'd like
Use vite instead, which is super fast and has great dx

Describe alternatives you've considered
[NONE]

Additional context
[NONE]

[FEATURE] Post Delete feature

Description

We can delete any post by id through firebase cloud firestore delete request
for example = { const res = await db.collection('posts').doc('0DJEyHXRk6b4yyym3NYC').delete(); }

Can we try to implement this in our web application?
Ps: Only post creator should be able to delete his post.

Screenshots

No response

Additional information

No response

[FEATURE] Enable uploading multiple images

Description

Currently, users are only able to upload one image at a time. It would be great to enable users to upload multiple images in the same post.

Screenshots

No response

Additional information

No response

[FEATURE] UI(Thread): Improve Display for multi-images

Description

Currently, uploaded images are being displayed in grid form, but need some improvement (i.e too much gap for images with different heights)

We have a few options:

  1. Use masonry style to display the upload's images on large devices but create a slider (aka carousel) on small devices
  2. Carousel for both small and large devices

Screenshots

No response

Additional information

No response

Addition : Issue Templates

What i am suggesting to add ?

Since it is an actual product, I am suggesting to add Issue Templates to the repository, it can be as many categories as needed - primary categories of issues are mostly : bugs, docs, general feature and so on.

Why to add it ?

Adding an issue Template allows you to organize the issues made by folks in a much better way.

  • We can know if someone wants to add a new idea, organize the repository properly !
  • We can know if someone wants to write a test or maybe fix something in the website
  • Here's a general idea :

image

Am i able to develop it ?

Yes, i will be glad to help an Opensource project grow more !

UX Improvement: Add Loading Animations

Is your feature request related to a problem? Please describe.
The UX is really poor. Currently, there is no indicator that shows if a process is running or not (i.e Logging in, Signing Up, New Post)

Describe the solution you'd like
Use loading animations to tell users if there's a running/loading process

Describe alternatives you've considered
[NONE]

Additional context
[NONE]

Github Action Failing

Description

Every build action is failing due to npm ci not working. This isn't intended and also confuses the contributors.
Can anyone solve this issue /suggest an alternative?
Thanks

Steps to reproduce

With every merge in the repository, GitHub action gets triggered , but it fails everytime.

Screenshots

No response

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional information

No response

[FEATURE] UI(Thread): Use MUI Alerts

Description

Currently, we're only using native browser alerts for notifications. It'd be a great improvement to use MUI alerts/dialogs to create a consistent UI.

Screenshots

No response

Additional information

No response

[FEATURE] Post Like Feature

Description

Can we implement a like feature for the post and see live like counts!
It'd be great!

Screenshots

No response

Additional information

We already have the button for likes in posts , we just have to implement them!

[FEATURE] Wanted to add a hashtag # feature

Description

Hey, I wanted to add a functionality for user to use hashtags in their post and and saving post of similar # at new page

Screenshots

No response

Additional information

No response

Comment delete Feature

Description

user who commented can delete his comment.

Screenshots

No response

Additional information

No response

[FEATURE] UI(Thread): Crop Upload Images

Description

It would really be nice to crop the uploaded images (images exceeding the height threshold) for previews, and enable users to view the full image by tapping/clicking on it (i.e view full image)
Doing so could solve the following problems:

  • Consistent height for upload cards
  • Devices with a height less than the uploaded image do not need to scroll down to view the full image, hence improving UX
  • Users can zoom in when viewing the full image

Screenshots

No response

Additional information

No response

[FEATURE] <Creating a dotenv file for storing API keys >

Description

The script.js file is currently exposing the firebase API key.
I think it would be a good practice to secure our key( a free one too) by creating a dotenv file in .gitignore to secure the keys to prevent any possible security issue ( bots may scan for API keys and access/use resources)

Screenshots

No response

Additional information

No response

[FEATURE] UX: Use image thumbnails when loading posts

Description

It'd really be a good UX to use blurred thumbnail images while loading posts and replace them with the actual image when the post is done loading.

Screenshots

No response

Additional information

No response

[Feature] Post Delete

Is your feature request related to a problem? Please describe.
Sometimes we want to delete our old posts , but we are currently unable to do that here ( Unless I delete it from the dB)

Describe the solution you'd like
We can implement the delete functionality for the posts (But only those which were posted by the user)

Additional context
It could be a prop passed to the card component of posts and rendered only with the eligible posts. Clicking on the button removes that post with its key/id.

When too much scroll site crash.

Description

When you scroll to reach end of the page it gives crash.

Steps to reproduce

Scroll to the end.

Screenshots

issue

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional information

No response

[FEATURE] Add a profile page

Description

Adding a profile page whare it Photo, name, joined date and all the posts by the user will be shown.

Screenshots

NA

Additional information

In near future we can add follow user functionality and can also show followers and following stats on profile.

[Bug] Null Username signup

Description

We can just signup without putting a username, it will show some error, but logs the user in, leading to existence of null users, with ghost posts!!

Steps to reproduce

While signing up don't use a username.

Screenshots

image
image

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional information

We should implement validation in the sign up modal.

[FEATURE] UI(Thread)+DX: Create reusable dialogs

Description

Just like how notistack works, we can create reusable dialogs the provides an imperative api to easily create dialog messages, without repeating code.

Screenshots

No response

Additional information

No response

ADD CUSTOM SCROLLBAR

Description

It will be great to add custom scrollbar for the website.

Screenshots

tr

Additional information

No response

[FEATURE] Minimize Comments

Description

Currently every comment is loaded for a post, this has two bad effects, first one being extra read operations to the database and second being a bad UI.
We can overcome this by adding an option to expand comments for a post :) like instagram.

Screenshots

image

Additional information

Don't ask me if I got this idea while scrolling Instagram

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.