fibii / quest Goto Github PK
View Code? Open in Web Editor NEWQuestion/answer webapp using mern stack (WIP)
Question/answer webapp using mern stack (WIP)
Should be easy to fix in QuestionIcons.js
, tests should be added to:
it works fine when clicked on the middle (as long as its clicked on the letter) but it doesn't do anything when clicked on the far left/right edges.
add a notification that says the user is logged in, and redirect them to /
AddCommentForm
textfield should be cleared when a new comment is submitted and created.
When a user adds a new comment, that is by typing a valid content in the comment textfield
and presses the submit button, a new comment is added, and the comment content stays written in the comment textfield
pass setCommentContent('') as an argument to dispatch()
, like this: dispatch(setCommentContent(''))
tag validation is supposed to allow tags like this:
first, second, last
but currently it allows first second last
i traced this back to the regex in validator.js line 30, a potential fix would be allowing tags to be seperated by space and not commas, its cleaner and easier to use.
all questions "likes" are 0, even tho when they're not
this is a question in home directory where the bug appears
this is the question in /question/
this is due to a bug in QPaper
specifically line 122
in {utils.getLikes(question.likes)}
update line 122
to {utils.getLikes(question)}
instead.
a card should be added to all forms, the card should contain all the necessary information about the forms
Example: SignupForm card should have something like
Snackbar pops up with "copied to clipboard" when share button is clicked
QPaper.test.js
doesn't have "rendered data tests", which lead to a logic error as shown in issue #14
two checks must be added, preferably after line 35:
expect(getByTestId('title').textContent).toBe(question.title)
expect(parseInt(getByTestId('likes').textContent, 10)).toBe(utils.getLikes(question.likes))
aside from that, the mocked question has 0 likes, another question should be created, that contains likes, and the component will be tested again
create a test
called "renders QPaper" that asserts that the fields are rendered properly, with 2 different questions
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.