MathHubInfo / Frontend

A new MathHub Narration Frontend written in React.
GNU Affero General Public License v3.0
2 stars 0 forks source link

resurrect the math dictionary. #37

Open kohlhase opened 5 years ago

kohlhase commented 5 years ago

In the original MathHub we had a math dictionary unter http://mathhub.info/mh/dictionary. This was mainly a thin front-end for an MMT service that generated dictionary lookupts (or something similar). @tkw1536 do you remember where we can find this?

It should be very easy to convert the MMT service to JSON and make a view for this. Then we could re-linkt it at https://new.mathhub.info/#/applications/dictionary

kohlhase commented 5 years ago

The necessary information is already in mock.json, there we see

    "glossary": [
        {
            "id": "bijective?bijective",
            "kwd": {
                "en": "bijective",
                "de": "bijektiv",
                "zhs": "<p>simplified Chinese Keyword</p>",
                "fr": "bijective"
            },
            "def": {

So we should have a view on glossary that looks and acts a bit like http://10.188.48.202/mh/dictionary So if we enter the "math term" bijective and select the button zhs, this should return the respective value <p>simplified Chinese Keyword</p>. And there should be a link "details" next to this that links to the definition (maybe in the glossary).

kohlhase commented 5 years ago

@AiraComet please come to me if you have questions.

kohlhase commented 5 years ago

the front-end is done, only need the backend now.