Giter Site home page Giter Site logo

Project complexity about softvis3d HOT 5 CLOSED

stefanrinderle avatar stefanrinderle commented on September 26, 2024
Project complexity

from softvis3d.

Comments (5)

Ungolianth avatar Ungolianth commented on September 26, 2024 1

I've begun merging the webpack-projects on branch reduce-complexity.

Unfortunately i could not contain myself to straight up refactoring and also fixed the babel-conversion and IE11-Functionality... 😬

Initially i only combined npm/model and npm/viewer to a package frontend. Taking one step at a time I'd like to merge the newly created webpack project frontend and into the static/threeViewer project of the package sonar-softvis3d-plugin.

Once I'm done, there will be no more Javascript in the package softvis3d-base.
@stefanrinderle Is that alright with you?

from softvis3d.

stefanrinderle avatar stefanrinderle commented on September 26, 2024

Good idea. I would still keep the maven project structure as it is to keep the java backend classes as is for this step:
softvis3d
|--- softvis3d-base
|--- softvis3d-webservice-example
|--- sonar-softvis3d-plugin

As far as i see this, the refactoring described above will remove the frontend/javascript code from softvis3d-base and changes of the UI do not need a build or dependency of softvis3d-base anymore.

This leads to the fact that the webservice-example project is not usable anymore, which is totally ok. To keep that in mind for the future, i created the issue/ticket #15.

from softvis3d.

Ungolianth avatar Ungolianth commented on September 26, 2024

Oh... I did not get any notification on the thumbs up reaction. So while waiting i focused my attention to the ccv-library instead of refactoring. 😊

Well, I'm pleased with my progress over there and have returned to the softvis-refactoring: The latest push now merges all webpack-projects into a single one. And I'm also happy to report, that it reduces the overall file size of the plugin by ~800kb.

One downside: I broke the webservice-example. As the compiler cannot establish a link to the npm package softvis3d-frontend (because it does not exist anymore) the webservice-example is not functional until we begin to extract the components once again.

How strong is the desire, keep the webservice-example up and running, while we undergo the upcoming changes? For now i just commented the build in our pom.xml

Edit:*
I believe that's what #15 is for. But i did not want to create a pull request on reduce-complexity, as long as there is broken code in the project.

from softvis3d.

stefanrinderle avatar stefanrinderle commented on September 26, 2024

Hey,

that the webservice-example does not work anymore after the refactoring is in my opinion not an issue at all. This was expected and I'm not sure if we should put any time in this submodule project for now. As already said, I'm not sure if we need module at all - but I also do not want to make this decision now.

So if everything else is working - submit your pull request ;-)

from softvis3d.

stefanrinderle avatar stefanrinderle commented on September 26, 2024

Very good. Thanks.

from softvis3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.