Git Product home page Git Product logo

devansh-365 / ceddit Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 4.0 1.8 MB

A dynamic platform for developers: fostering collaborative learning through programming question posting and knowledge sharing.

Home Page: https://ceddit-one.vercel.app

License: MIT License

JavaScript 98.36% HTML 1.05% CSS 0.26% Dockerfile 0.32%
chakra-ui docker-compose express full-stack mern nodejs reactjs reddit-clone mern-project mern-stack

ceddit's People

Contributors

dependabot[bot] avatar devansh-365 avatar mrcoder57 avatar sanjayjadar avatar

Stargazers

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

Watchers

 avatar

ceddit's Issues

[fix] : unnecessary fetchs

I've noticed the application makes unnecessarys fetchs to the API when browse to explore and single post pages. It can cause bad performance.

Screenshot (53)

Sorting Issue with Posts

Issue Description:

Highlighting an issue I've encountered while using the sortby feature in the project. Despite utilizing the "sortby" feature, the posts within the project are not being sorted as expected.

Expected Behavior:

Upon employing the sortby feature, the posts should ideally be arranged in the specified order. However, the sorting mechanism does not seem to be working at the moment.

Actual Behavior:

Currently, upon selecting the sortby criteria, the page does not reflect the desired changes.

Steps to Reproduce:

Navigate to the explore page.
Select any cirteria under the sortby options.
Observe that the posts are not sorted.

Realtime updation and downvote at client side

Issue Summary:

The current implementation uses web sockets for real-time updates of upvotes and downvotes, but the UI doesn't reflect the changes dynamically without reloading the page.
Expected Behavior:

When a user upvotes or downvotes a post, the corresponding vote count should be updated in real-time without requiring a page reload.
Actual Behavior:

The vote counts are updated on the server-side via web sockets, but the UI doesn't reflect these changes dynamically. A page reload is needed to see the updated vote counts.
Steps to Reproduce:

Navigate to a post.
Upvote or downvote the post.
Observe that the vote count is not updated dynamically.

Issue: Join Button on Creator's Page Refreshes Instead of Redirecting to Login Page

Issue Description

When we go to the community of a particular creator's main page without login or registering, clicking on the join button, it refreshes the page instead it should go to the login page.

Expected Behavior

When a user visits the website without login or registering, and while he is on the creator's main page on clicking on join it should redirect to the login page.

Actual Behavior

When a user visits the website without login or registering, and while he is on the creator's main page on clicks on join it refreshes the current URL or page.

Additional Information

I have made a screen recording of this feature:

Ceddit._.-.Google.Chrome.2023-12-21.16-16-25.mp4

Possible Solution (if you have any ideas)

Work on the community creator's page and redirect that join button to the login page if the user is not logged in or registered yet.

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.