Git Product home page Git Product logo

judge-d-ui's People

Contributors

crpc avatar felipe444 avatar lukaszfiszer avatar pawfa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

judge-d-ui's Issues

Draw details root node as dependency of other nodes

Scope

Right now root node is omitted from drawing when constructing consumers and providers trees of details view. It should be drawn as it may provide information about certain circular dependency cases. For better distinctiveness it could be drawn the same way as it is as a root node. In this case, root node should not have any further connections (to avoid drawing the same part of the graph recursively)

Publish component as npm package

Hello,

I have come upon an idea of extracting part of this project responsible for rendering graph to an npm package. That would allow developers to install a judge-d-ui graph package in their projects and import graph component into their application, like:

import {GraphComponent} from 'judge-d-ui';

export const MyCustomGraphPage = () => {
  const [graphData, setGraphData] = useState();

  // ... fetch data for graph

  return <GraphComponent data={graphData} />;
}

Right now code responsible for showing graph is tightly coupled with data fetching, which narrows its usage to prepared demo purposes. I'd suggest extracting all components written for demo purposes outside of src (to /demo directory or something) and just leave presentational component there.

Tell me what do you think of this proposal.

Color details view links differently based on contract type

Scope

Right now links are colored the same way no matter what the contract type between two nodes is. Information about different contract types should be visually presented (different colors seem to work best in this case).

Details

Since there could potentially be infinite types of contracts and information about them should be consistent (should not change between sessions - this is why colors can't be generated on the fly), there should be a general classifier function which would return prepared colors for known types of contracts (like rest or jms) and return one color for all unspecified types of contracts.

Build details view based on service version

Scope

There can be multiple nodes of same service on Overview Graph - each with different version. Right now while mapping nodes with links to build details view, service version is ignored. Version should be included not to present false information about node links (contracts may differ between service versions). Versions of all nodes should be taken into account while mapping data to details view.

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.