Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the React Rewrite of the DMN-Editor #2090

Open
aburdiak opened this issue Dec 11, 2023 · 10 comments
Open

Using the React Rewrite of the DMN-Editor #2090

aburdiak opened this issue Dec 11, 2023 · 10 comments
Assignees
Labels

Comments

@aburdiak
Copy link

This issue is related to the new React Rewrite of the DMN Editor apache/incubator-kie-issues#439

  • We have a need for a DMN Visualizer to be used in our React web app. We do not need editing capabilities
  • We evaluated the kie-editors-standalone as the DMN editor fits our needs, but the package was too large to be used in our architecture (UI served from S3 bucket but proxied through a Lambda that sits behind an ALB - resulting in 1MB limit per file sent to user's browser -- docs)
  • We learned of the React rewrite from this issue: How to get index.js only for dmn editor .  #2034 and we plan to utilize this once it is complete
  • In the meantime, after playing with the package, it looks to satisfy our needs in its current state. We are now looking into how we could use it.

Main Questions

  • What is needed to publish the existing state of the package to NPM to enable it to be pulled into a React UI?
  • Would it be possible to publish it in its current state as an Alpha build given it is not yet complete?
  • Would you accept contributions to enable the package to be published in the near term?

@tiagobento tagging you as you look to be the right contact! Thanks!

@tiagobento
Copy link
Contributor

Hi @aburdiak, thanks a lot for reaching out and also for evaluating the new DMN Editor. We're confident that we're making a lot of improvements compared to the current one, and it looks like you and your team already found these improvements to help in your use case. Glad to hear that, and thanks for sharing.

As for your questions:

  • What is needed to publish the existing state of the package to NPM to enable it to be pulled into a React UI?

Right now, we're finalizing the big PR that will introduce the new DMN Editor to the main branch. We expect that this PR will be merged this week. After that, we're gonna have to wait for the next release of Apache KIE to happen, so the packages will finally land on NPM. Unfortunately, we're not be able to provide an exact date yet, as there's a lot of conversations going on and also there's a lot of people working on making the release automations stable enough for a big release after we moved the KIE community to Apache. What I can tell you is that we expect this release will happen in January 2024.

  • Would it be possible to publish it in its current state as an Alpha build given it is not yet complete?

From our side, no. In the past we used to run KIE Tools as a separate stream compared to other KIE projects, but after the migration to Apache, we won't do that anymore. Apache KIE will have a single release stream, and KIE Tools is the "last piece of the puzzle". As of now, we don't have "dev"/"daily" releases, unfortunately, but it is definitely something we're going to look at in the future, as our users might want to be able to assess ongoing experimental modules such as the new DMN Editor.

  • Would you accept contributions to enable the package to be published in the near term?

At this moment, given the complexity of the entire ecosystem and also because we are also learning how we can achieve this first release in as an Apache project, I think contributing might be very hard. What I would suggest is that you stay in the loop. Asking questions, making suggestions, or even requesting information are all things that add a lot of value to the community. Sometimes we end up not documenting parts of the process and the operation of the projects that might be relevant to people depending on it, like you.


I'm sorry if those answers are not what you were expecting to hear, but I'm certain the Apache KIE community will gradually evolve to reaching a state where users can have a very good understanding of its release strategy as well as making it possible for people to participate in a more active way. Including experimental components/modules.

In the mean time, if you really can't wait for the next release to be out, my suggestion to you would be publishing your own build of the DMN Editor, with a different scope/name and a pre-release version discriminator. Like @your-org/dmn-editor-experimental@0.0.0-dev1 or something along these lines :)

Of course, once we do release it to NPM you can drop this temporary workaround and start depending on the Apache KIE package.

@tiagobento tiagobento self-assigned this Dec 11, 2023
@tiagobento tiagobento added the DMN label Dec 11, 2023
@aburdiak
Copy link
Author

@tiagobento Thank you so much for all the details!

I assume this is the PR you are referring to right? #2064

That's great to hear that you are hoping to have it published in January, we had assumed it would be towards the end of the first half of 2024 which would have been too long for us to wait.

Your note about contributions makes a lot of sense and we are interested in being involved going forward. Once the package is published and we can utilize it in our project, we'll be sure to post any feedback.

I'll discuss with my team in regards to publishing it ourselves for the time being, but I would say waiting until the end of January would be the best overall decision.

@aburdiak
Copy link
Author

@tiagobento I forgot to ask, is this the best repo to post issues to? Or should it be https://github.com/apache/incubator-kie-issues

@tiagobento
Copy link
Contributor

@aburdiak

Yep, that's the PR.

Glad to hear that! Contributions are always welcome!

Regarding issues, either repo is fine... we generally use https://github.com/apache/incubator-kie-issues but in reality we can aggregate everything at https://github.com/orgs/apache/projects/295 :)

@aburdiak
Copy link
Author

aburdiak commented Feb 5, 2024

@tiagobento

Wanted to check in. Do you have an update regarding publishing the new editor under Apache?

@tiagobento
Copy link
Contributor

@aburdiak Hi! We are still working on making the codebase ready to release under Apache.. you can follow the progress here: https://github.com/orgs/apache/projects/295/views/7?sliceBy%5Bvalue%5D=10.0.0. We don't have an official date yet, though..

@aburdiak
Copy link
Author

@tiagobento Hi!
Wanted to check in again. Would you have an estimate on when this might be published?

We are getting close to a point where we may end up publishing it ourselves in the interim but want to make sure we don't do that if not necessary.

I'm having a little trouble determining which task on the board relates to this release. Would tracking this 10.0.0 release be the right one? https://github.com/orgs/apache/projects/295/views/7?pane=issue&itemId=45202086&sliceBy%5Bvalue%5D=10.0.0

Thank you!!

@tiagobento
Copy link
Contributor

@aburdiak The Apache KIE community needs to be release as a single unit, so there's other parts of the codebase holding it back. We're working hard to make everything ready for it, and the most important blocker we have right now is apache/incubator-kie-issues#967.

We're aiming at May 2024 for it now.... no guarantees, though :/

@aburdiak
Copy link
Author

@tiagobento Thanks for the response! Totally understand the challenges of releasing it all and the coordination required to do that.

We may be looking into publishing it ourselves temporarily.

When I looked before, the way everything is packaged up was a little complicated. Would you be able to point me to any docs or portions of the repo where I could get more clarity on how its all packaged? Appreciate any help you can give, thank you!

@tiagobento
Copy link
Contributor

@aburdiak How are you planning on using it? This will be important to know so I can help you... We didn't have time to document this stuff yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants