Git Product home page Git Product logo

42matcha's Introduction

Hi there 👋 Hits

My name is Hongsuk and i'm a creator of lulluland!

🔭 I’m currently building lulluland open source effort tracker app.

Hongsuk's GitHub stats

Linkedin Badge

42matcha's People

Contributors

deepbig avatar morelyfe avatar

Watchers

 avatar

42matcha's Issues

Profile Tag tab generate error

After click the Tag Tab.

  • TypeError: Cannot read property 'length' of undefined
    src/components/unit/profile/myself/index.jsx:105

After type some words in tag field.

  • Unhandled Rejection (TypeError): Cannot read property 'map' of undefined
    src/components/unit/profile/myself/index.jsx:114

After click Add button.

  • TypeError: user.tag1 is not iterable
    _handleCheckDuplicate
    src/components/unit/profile/myself/index.jsx:66

After a new user signs in, 304 error generated

My guessing is the error generated in pull/user.

Here is the log:

GET /api/tags?type=preference 304 137.446 ms - -
GET /api/tags?type=myself 304 140.900 ms - -
GET /api/blocks 304 138.228 ms - -
GET /api/notifications 304 137.980 ms - -
GET /api/users?userId=-1 304 138.724 ms - -
GET /api/likes?type=chat 304 288.157 ms - `-`
GET /api/overviews 304 290.077 ms - -
GET /api/likes?type=follow 304 422.576 ms - -

Missing requirement #1: Popularity score

Each user must have a popularity score. Ask the student to explain his strategy to calculate this score, it must be consistent and a minimum relevant.

Popularity score = like - dislike

Options:

  • Add popularity column in the user's table, and update when a user clicks like or dislike.
      Pros:
        - don't need to make multiple connections when a user searches.
      Cons:
        - Heavy work on like and dislike (user can click like and dislike multiple times and     it will affect user tables and I don't know how effectively change both tables.

  • calculate when it needed (when a user clicks profile or searches match).
      Pros:
        - minimize process to update.
      Cons:
        - Difficult to make calculation. (1. join tables, and count numbers of likes and dislikes per user and calculate all user's popularity, and apply them to search results.)

The decision I made:

  • Add popularity column in the user's table, and update when a user clicks like or dislike.

  • Update User table with popularity column.

  • Update user's likes and dislikes action (apply to the affected user's data)

  • Apply the information in the user's profile.

Testing before submitting

  • 304 error test after all basic info update

  • Does all page load properly?

  • Does email work properly?

  • Does Socket works properly?

  • Does Report function works properly?

  • Does OAuth works properly?

  • Does CSS works properly?

socket.io does not work.

Potential part of error:

  1. Frontend - component - template - core
  2. backend - app.js - io connection part

Create a new account have issue.

  • Does not generate Alert

  • Does not generate Alert After sent email (Only Console says signup success)

  • Failed email sent

  • Backend does not response.

  • Not matching password does not generate correct error.

  • Email verification does not work properly. (fix the link)
    *** Verifies id is created during Auth sign up. also, being used in Verifies and Mail.

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.