Giter Site home page Giter Site logo

Comments (3)

stefanrinderle avatar stefanrinderle commented on September 26, 2024

Created a branch 3-direct-visualization-link for the implementation.

This example link directly loads the visualization: http://localhost:9000/plugins/resource/rinderle%3AklamottenwetterWeb?page=SoftVis3D&metricFootprint=complexity&metricHeight=ncloc&metricColor=none&layout=evostreet&scale=logarithmic

This only works if really all parameters are set: metricFootprint, metricHeight, metricColor, layout and scale.

Added a button to the TopMenuBar called "Share" to create the link on demand. This is currently an alert.

Open TODOs:

  • The "Share" button just was the first try. We once had a sketch about the top menu

grafik

  • The share button currently opens an JS alert with the link. How do we want to show the link to the user?

  • It was hard to find the right place for triggering the VisualizationLinkService to check for the params. This is currently done in the SonarQubeMetricsService, which is very bad. But it's important that the VisualizationLinkService is called after the metrics are loaded.

  • Add camera position to the visualization link

  • Add current selected object id to the visualization link

from softvis3d.

stefanrinderle avatar stefanrinderle commented on September 26, 2024

Update on "place for triggering VisualizationLinkService". Moved the trigger to app.tsx and added a promise result to the metric service. I think this is ok for now, if we later have more stuff to initialize, we can move this code around. But I'm still open for other ideas here.

from softvis3d.

stefanrinderle avatar stefanrinderle commented on September 26, 2024

Added a dropdown to the share button where the user can select to open the link in a new tab or to copy it to the clipboard.

grafik

So, all open tasks finished. Will open a pull request.

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.