Text to diagrams - Migration of wagtailmath
& wagtail-katex
#3
Replies: 3 comments
-
NamesMaybe |
Beta Was this translation helpful? Give feedback.
-
Merging these packages makes sense to me. They scratch a similar itch. It would be much easier to maintain. The incentive to maintain would also be higher. But the best motivation is: a one-stop community solution to rule them all. It is for the community / integrators so much nicer to have a single high-value package. On the other side:
Naming suggestions (because I would probably search for these keywords):
Just a s ref, the download stats: |
Beta Was this translation helpful? Give feedback.
-
Great news, Wagtail Math's repo has now moved to https://github.com/wagtail-nest/wagtail-polymath/ |
Beta Was this translation helpful? Give feedback.
-
Overview
There are currently three implementations of text to Math diagrams in the Wagtail community, two use Katex and one uses MathJax. All of these are no longer actively maintained but appear to still be popular and have requests for updates, and in some cases PRs, from the community.
In total these are sitting at ~200 package downloads a month collectively, while not huge, it does show there is still interest in these tools even if they do not support the latest versions of Wagtail.
Some developers could implement some of this functionality on their own without too much work but it would be good to provide a community solution to this capability. Additionally, there may be an appetite to extend beyond text to math with other kinds of text to diagram libraries.
Packages
wagtailmath
wagtail-draftail-katex
wagtail-katex
General functionality
Each of these packages provides a way for the user to edit the raw text format, usually just a textarea field, and then has the suitable JavaScript library render the output next to it as an SVG (or similar). Along with providing a way to use that same JavaScript library on the main website to do the same.
Proposed plan
wagtail-math
(with the hyphen) or a more generic name (see below).JamesRamm/wagtailmath
GitHub repo moves towagtail-nest/wagtail-???
wagtailmath
to the new name) and the maintainers plus at least two Wagtail core team members given access to publish.Scope
Initial scope (proposed)
Essentially the same as the repos above.
FieldPanel
,widget
, StreamfieldBlock
and Draftail block/inline.Potential future scope
For ideation only, will require further contributions and consensus and if contributions come through.
Naming (ideas)
wagtail-math
- assume we just want to use roughly the same name (using hyphens) as the oldest/most starred packagewagtailmath
wagtail-abacus
- Mathi-ish name but also generic enough to use for other diagram/typesetting.wagtail-diagram
- Does what it says on the box.wagtail-text-to-diagram
- Longer name.wagtail-pinion
- https://www.wordnik.com/words/pinion (the flight feather, a small cog and a few other cool meanings)wagtail-plume
- https://www.wordnik.com/words/plumewagtail-plumage
- https://www.wordnik.com/words/plumagewagtail-flight
- Just genericBeta Was this translation helpful? Give feedback.
All reactions