Text to speech #34
Replies: 3 comments 1 reply
-
No. Building syntactic sugars around big techs' api does not add value for functional open source library such as quill. This is meant to be a text editor, imho, streching the feature set too thin is only going to hurt the adoption rate and usability. Library adopters usually has better opions/plans/competency to implement such a feature exactly on top of quill to their own specification if they are serious about introducing the feature to their own users. Take image upload/edit/saveLocally popup function currently shipped with quill, it's borderline not usable, I don't think any developer would ship this function in that state in their product is they are any serious about thier project. Take i18n, since its introduction there are simple bugs related to upper/lower case on naming conventions of resource files, and for a whole year no one bother's to fix the problem, they adopted one of the i18n library, but many adopters may want to use a different libary in their project, they did not realize they should make libraries such as quill i18n agnostic by delaying such decisions to the control of library adopters. I have been using quill in the last two years or so developing my own apps on windows and mobile platforms, I discovered and worked around many issues. I am not sure if you feel the same, their team is difficult to get hold of, this seems to be a side project for them and communications often get lost for some reason. Their team couldn't make up their mind on the end goal of quill. Erring on the side of being reckless, I take the liberty to share my opinions on this library and hopefully if we find some common ground, I can also contribute some time to make it better, even though I don't have time to take it into my own hand. 1 Be very clear with the scope and use case of quill.
That being said, the maintiner should not make rendering/parsing algorithmic performance their first priority, performance issues on large text with over 40 pages can wait. 2 Enforce coding standard and raise code quality. In many occasions I drilled down quill's source code extensively to solve my own problem, and obviously
these really need to be cleaned up, i mean, many bugs could be revealed/fixed automatically simply by turning on lint and let compiler and static analysis do their work properly. 3 less features rather than more features. Implementing ui widget is so damn cheap and easy in flutter and swiftui, third party functional library such as quill should not be concerned with building these ui features at all, they won't share the same look and feel with the rest of the app, leave the possibility open, for example the pick a photo/resize/crop UI library imported by and shipped with quill is just crap, why bother, adopting devs can choose to import or build one themselves in a few minutes, don't force every library adopter to import these libraries by default. the same goes with icon tips and i18n etc. Make the libary lean and thin, don't force adopters to transitively import libs they don't ever need. 4 format interoperability take over the responsibility of maintaining interoperability/translation between quill data format <->markdown <->html<->pdf/word, this does not need to go into the core quill library, but should be maintained by the same group of people in a second project. Standardizing and simplifying such translations should be promoted and well maintained to attract adopters. currently you can see that the quill<->markdown translation lib on pub.dev is almost not maintained and many adopters don't realize how easy it is to translate quill format into markdown by implementing the missing features on their own with a few lines of code, this should be publicized somewhere with some examples. where it should also make it explicit that the expressive power of quill/markdown is a strict subset of xml, hence certain document structures in word/pdf is never going to be possible with quill, but foregoing such expresiveness gives you an immensely easier data structure to reason and work with. 5 tutorials rather than features/documentation personally i think the code base of quill is quite easy to understand even for beginner devs once they turn on lint and fix all those compilers warnings about missing/mismatched types. A full tutorial on implementing a particular custom icon implementation is probably good enough to get them through all the difficult part about available hooks and controller lifecycles, once they are comfortable navigating around the code base to find what they want on their own, documentation is not that important to them anymore. this way you won't be forced to maintain documentation on all those evolving parts. |
Beta Was this translation helpful? Give feedback.
-
@kairan77 Thank you very much for your in-depth feedback. I'm very happy to see interest from a long term quill user. There are many spots where I'm still acquiring knowhow in Quill and many places where things can be improved. All your feedback will be highly valuable. I guess you are already on the discord server. If you plan to join the effort later I'll be available on audio calls. I see you wrote quite a few messages, I'll attempt to answer them all, this being the first one.
I hope that answers some of your concerns/comments. Looking forward for more discussions. In summary I do plan the best for the repo since it's an essential piece of kit that I really need, however my resources will allocated on targets that might not always match the general expectations. Otherwise it wont make sense for me to maintain the repo. I hope my work will end up benefiting a lot more people. And yes, I'd be happy to coordinate the development effort with more developers if any volunteer. Cheers! |
Beta Was this translation helpful? Give feedback.
-
agreed on the rest of the points, good luck, give me a shout if you still have problem with scrolling or on implementation of highlight/marker which I have already implemented for a different use case. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What do you think of introducing such a feature. Any ideas of what could be used? Or if we need text to speech at all? Many devices currently have this feature already built in, though the one from browsers sounds really bad. Should each developer implement his own choice of AI voice?
Beta Was this translation helpful? Give feedback.
All reactions