Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math expressions in textbox #114

Open
JithinKS97 opened this issue Oct 10, 2020 · 6 comments
Open

Math expressions in textbox #114

JithinKS97 opened this issue Oct 10, 2020 · 6 comments

Comments

@JithinKS97
Copy link
Member

JithinKS97 commented Oct 10, 2020

Ability to write math expressions in the textbox

@annu12340
Copy link
Contributor

I would like to work on this issue

@JithinKS97
Copy link
Member Author

JithinKS97 commented Oct 13, 2020

Thanks, Annu. Do you have any libraries, tools in your mind which we can use? I hope you have used the Desmos Graph calculator where they have done this neatly. https://www.desmos.com/calculator. Do check it out if you haven't already. It gives an idea of a nice user experience for this feature.

https://github.com/dynamic-learning/next-client/blob/dev/src/components/workbook/slide/textboxes/Textbox.tsx

Above is the code for the textbox component where you'll be required to make the changes. Do feel free to create new files if you think it will make the code better.

Were you able to set up the local dev environment?

Also, think about the test cases while writing the code.

Thanks

@JithinKS97 JithinKS97 changed the title Math equations in textbox Math expressions in textbox Oct 13, 2020
@annu12340
Copy link
Contributor

I am a beginner to the react world. So first I thought of spending some time understanding the entire codebase before getting started with the specificity of this issue

I have heard that wolfram alpha has a similar functionality for writing mathematical expression in a textbox. (I haven't used to personally)

@JithinKS97
Copy link
Member Author

Good. Don't hesitate to ask for help if you have any difficulty.

@JithinKS97
Copy link
Member Author

@annu12340 We can carry out the discussion regarding this issue here. @Anu-Asok can also help you as he has also done some research previously to solve this issue.

@annu12340
Copy link
Contributor

Hey, I am thinking of using http://mathquill.com/ for implementing this functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants