bsoe003 / hackq Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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:
PLEASE CREATE SEPARATE BRANCH FOR THIS
Fix all the codes to follow coding standards
Indentation: 2 spaces for HTML, CSS, Javascript
React.js standards:
https://github.com/airbnb/javascript/tree/master/react
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:
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.
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:
PLEASE DO NOT CODE FOR THIS TASK YET.
What we want is to come up with best and easiest idea to prevent such issue.
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.
Change indentation standards from 4 spaces to 2 spaces.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.