Comments (5)
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.
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.
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.
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.
Very good. Thanks.
from softvis3d.
Related Issues (20)
- We need a DIC HOT 6
- Remove getVisualization webservice and replace with frontend implementation HOT 4
- New scm metric number of commits HOT 1
- Format Date of Last Commit HOT 2
- Format Date of Last Commit HOT 1
- illustrator.draw(version) blocks UI thread HOT 4
- Refactor LoadAction / StatusQueue implementation
- Road Trimming HOT 1
- React component is not closed or destroyed if the plugin is not longer visible
- Project structure error since SQ 6.4 HOT 1
- Dark theme for all UI elements HOT 1
- Dark theme for packages and buildings in visualization
- Fix SonarQube 7.6 api changes
- Placeholder logo is no displayed
- More color choices for the color of the buildings HOT 9
- switch through default viewports
- Problem with sonarqube 8.8 HOT 4
- Add links to folders to open component and measure page in a new tab
- Scene classes refactoring and tests
- Reset camera position issues after reset camera HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from softvis3d.