cylc / cylc-ui

Web app for monitoring and controlling Cylc workflows
https://cylc.github.io
GNU General Public License v3.0
37 stars 27 forks source link

[question] Make Cylc UI a monorepo project #412

Open kinow opened 4 years ago

kinow commented 4 years ago

Describe exactly what you would like to see in an upcoming release

In JS, monorepos are quite popular. These are repositories that contain a JS application or library, with other related sub-projects (normally smaller libraries or components) in the same git repository.

Examples of such projects:

Additional context

I don't think we need this now. We can look into this later, near 1.0 release. Preferably after others have got familiar with the build & code base.

IMO, these are some of the pros:

But there are cons as well:

Some links for references:

Pull requests welcome!

kinow commented 4 years ago

Removed milestones as I think we may not even need it. GitLab, for example, uses plain old JS, with a single repository, and they maintain one of the largest Vue applications. I will probably just maintain a separate fork or repository with the components that I want to use :grimacing: but just leaving it here in case someone else ever has a similar idea or use case.

hjoliver commented 4 years ago

(I probably need to talk with you about this to understand it better ...)

kinow commented 4 years ago

(I probably need to talk with you about this to understand it better ...)

Sure. But not really important. Just an option for later when the project is more stable and probably a bit larger.

oliver-sanders commented 3 years ago

This is my main reason for this proposal. If a developer decides to create an R Shiny widget, or a JupyterLab widget, that displays the Cylc graph or Cylc tree using JSON, for example, s/he could simply import { Tree } from @cylc/tree-component or import { Graph } from @cylc/graph-component

This would be useful for generating graphs in the documentation etc.