Giter Club home page Giter Club logo

Comments (23)

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024 1

One more suggestion.

Some of the users who may submit corrections are not tech savvy. We should have a frontend where the user can input necessary fields, we autopopulate text in OLD, NEW text areas and the user submits the corrected one via HTML frontend rather than the git way.

https://www.sanskrit-lexicon.uni-koeln.de/php/correction_form.php?dict=MW modified to our purpose would be just fine. When a person clicks on nyasa/pada-1.1/1.1.1 for edit, we can autopopulate the text of nyasa 1.1.1 in text area of OLD and NEW.

Fields in my opinion

  1. Commentary name (autofilled)
  2. Sutra number (autofilled)
  3. Old text (autofilled)
  4. Corrected text (autofilled)
  5. Notes or comments

If 3 and 4 are the same on submit, we give an error.

If 3 and 4 are the same while

from ashtadhyayi.

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024 1

Oh. Many advantages.

  1. There are cases when some user submitted some wrong correction. We unintentionally approved the same. Now when we want to find out erring entry, nobody would read git commits who are not necessarily named consistently. One single file of correction would definitely help locate this easily.
  2. User who submitted the correction would be duly acknowledged for his help.

from ashtadhyayi.

chandrasekharanr avatar chandrasekharanr commented on August 23, 2024

Can the edits be directly done in the UI (using the edit option)? If yes, can I start making the edits there.

One thing I am not sure is whether the edits will overwrite the master or not. If it does overwrite, how do we do version control? What if we want to go back to the older version?

Or, should I create a different branch and edit it in that branch and we merge it to the mainline using pull requests? I know that this way we have version control.

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

clicking on edit will take a person to github, where one clicks the ✏️ icon and make changes as usual. in case one has write permissions to the repo, one can directly save the changes. otherwise pull request is used to submit the changes to repo maintainers for merging.

from ashtadhyayi.

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024

I have been closely associated with correction system at Cologne servers which do corrections on 36 dictionaries related to Sanskrit. I feel that their system for correction is quite robust. All changes made hitherto have been documented with submitter, timestamp, old, new versions etc. See https://github.com/sanskrit-lexicon/CORRECTIONS/blob/master/correctionform.txt for details.

We may adopt the same standard modified to our purpose. That would be much better.

from ashtadhyayi.

chandrasekharanr avatar chandrasekharanr commented on August 23, 2024

Agree with this idea. The only caveat is that the user should not have to type a lot for suggesting a missing अकारः (or any such simple correction). I like the idea of auto filling most of the obvious fields.

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

All changes made hitherto have been documented with submitter, timestamp, old, new versions etc. See https://github.com/sanskrit-lexicon/CORRECTIONS/blob/master/correctionform.txt for details.

@drdhaval2785 - What benefit does such a record add beyond git records? (Ignoring the presentation aspect - like the ability to tell others "see how much we've improved it")

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

‌ Now when we want to find out erring entry, nobody would read git commits who are not necessarily named consistently. One single file of correction would definitely help locate this easily.

Sounds like a (suboptimal) reinvention of the git blame feature.

Separately, moved the UI to https://ashtadhyayi.github.io/ui/vritti/nyasa/pada-1.1/1.1.1/ and scripts also to a separate repository. Henceforth this repo will strictly contain only vritti data and nothing else - so that one may use it as a git submodule in a variety of projects in a variety of languages. Invited dhaval to the new ashtadhyayi org.

from ashtadhyayi.

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024

Never knew git blame existed. No complaints. We can use git blame. I withdraw my comments regarding changelog.

from ashtadhyayi.

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024

My suggestion for frontend still continues.

from ashtadhyayi.

chandrasekharanr avatar chandrasekharanr commented on August 23, 2024

@vvasuki, would it be possible to provide a "Next" with hyperlink to the next sutra in the UI? It will be very useful.

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

@chandrasekharanr Done - added a search box as well.

@drdhaval2785 The correction form idea would require us to have our own server to be fully automatic. An alternative is for you or @chandrasekharanr to set up a google form which you can manually and periodically use as basis for then doing proper git corrections.

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

Set up a combined view as well - https://ashtadhyayi.github.io/ui/?sutra=1.3.32

from ashtadhyayi.

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024

There is no 'go' button on the search box. Not possible to trigger.

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

There is no 'go' button on the search box. Not possible to trigger.

Press "Enter"

from ashtadhyayi.

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024

In my samsung s8+ mobile, i pressed enter. Nothing happens.

from ashtadhyayi.

drdhaval2785 avatar drdhaval2785 commented on August 23, 2024

Autopopulation in search box also makes my mobile hang for 3-4 seconds.

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

Added a search button.

The hanging should not happen after the first search (when the sutra list is downloaded for autocompletion) - check and let me know.

from ashtadhyayi.

chandrasekharanr avatar chandrasekharanr commented on August 23, 2024

Why is it not displaying tattvabodhini?

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

इदानीं दर्शयति। महाभाष्यमपि।

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

शिष्टास् समस्या अस्य सम्बन्धे https://github.com/ashtadhyayi/ui/issues इत्यत्र ज्ञापनीयाः।

from ashtadhyayi.

gasyoun avatar gasyoun commented on August 23, 2024

https://sanskrit.github.io/ashtadhyayi/nyasa/pada-1.1/1.1.1/ broken.

from ashtadhyayi.

vvasuki avatar vvasuki commented on August 23, 2024

from ashtadhyayi.

Related Issues (20)

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.