Replies: 3 comments 8 replies
-
I think the same. Navigating between markdown files sometimes becomes quite uncomfortable and is sometimes limited in terms of the styles it can contain. A separate page for documentation would make this point easier. I don't know too much about the Web (besides the basics with HTML, CSS, and Typescript, with a little bit of Node), but if you need help I can give you a hand |
Beta Was this translation helpful? Give feedback.
-
It seems like a good project structure to me. It is easy to handle and leaves the characteristics of the package at a glance. However, I imagine that the translations would go into the |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion as we have moved it to Issue #2031. |
Beta Was this translation helpful? Give feedback.
-
When the project first started out, it was simpler and had fewer features, so the project structure was suitable.
Our current project structure is optimized for smaller-scale projects and lacks the scalability required for our current use case.
Let us start with the
flutter_quill
package since most of the code is there.I can think of different ways to solve this and make it more scalable, for now, we will focus on consistently moving the files and directories, rather than splitting and changing the naming of classes and files.
This change doesn't require any breaking changes as long as the developer doesn't import directly from the
src
, the IDE by default doesn't import anything from thesrc
directory, and the analysis will give a warning too.As long as the developer imports only the public APIs from
flutter_quill
:It should not be a breaking change if they use the same version for
flutter_quill
andflutter_quill_extensions
since the extensions package import API that's not exposed publicly.The first structure I can think of is:
This is also known as modular architecture or feature-based structure.
Each directory/module has its own directories and files in an organized way, so instead of having all the utilities in one place for all features, each feature has its own utils.
Note
This is an initial project structure proposal to address our requirements. It's a starting point and should be refined through thoughtful planning and further discussion.
I would like to hear your suggestions before we start working on this.
Tip
We should also consider improving the docs since at the moment it's quite minimal, I think we should either use GitHub wiki or a Website, navigating between too many markdown files might not provide a suitable experience for the developer. However, I would keep this suggestion for later. We can still use Markdown files for the website so we can revert easily later though it will be faster since we can generate HTML and CSS directly from Markdown.
Beta Was this translation helpful? Give feedback.
All reactions