Giter Club home page Giter Club logo

hackq's People

Watchers

 avatar  avatar

hackq's Issues

Rewrite dev/form.jsx to React.js code

As of now, it is handled by standard jQuery with DOM Nodes already written in HTML. To keep consistency in development convention, and to fully utilize React.js framework, we want to rewrite this in React.js. Please look at dev/queue.jsx for reference.

Files associated:

  • dev/ form.jsx
  • views/add_form.html

PLEASE CREATE SEPARATE BRANCH FOR THIS

Spam Prevention

As of now, the questions can be submitted multiple times by the same user. This is not something we want to happen, as one may spam the questions to increase chance of getting helped. There are two possible approaches (and maybe more) to this:

  1. Restrict asking for help only after logged in through Facebook
  2. Uniquely identify users' machine ID (IP, MAC, or whatever) so non-Facebook users can ask questions, too.

PLEASE DO NOT CODE FOR THIS TASK YET.

What we want is to come up with best and easiest idea to prevent such issue.

Write basic Mocha + PhantomJS testing

Research and write codes for Mocha. Headless testing maybe necessary, in that case, use PhantomJS as well. After the test is written, activate Travis for continuous integration purposes.

Editable Questions

After a user submits their question, they may want to edit their submitted question. For this feature, user can simply click on their submission on the queue and it should be editable if the question is written by them.

If a user clicks a question that is not written by them, it should show the form that is NOT EDITABLE. Some details may be hidden, but let's put that in less priority.

Here is a problem that I see:
If a user submits the question without Facebook authentication, then he/she may not be able to edit their account. As per other issue(s) listed, this problem should be fixed soon.

UI to handle Facebook OAuth.

As of now, Facebook OAuth 2.0 in backend is handled by Passport.js library. However, we still need UI components to allow users to login using their Facebook credentials. For example, a button to login and a button to logout.

Two routes that are associated with this task are:

  • "/auth/facebook?queue="
  • "/logout?queue="

It may throw an error by Facebook when attempting to authenticate as only designated URL can be used for OAuth.

PLEASE MAKE A SEPARATE BRANCH FOR THIS.

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.