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

DevUI: fix bean/build steps depenceny graphs #46558

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Feb 28, 2025

  • also simplify bean dependency graph and remove the direct dependency/dependent category

It seems that these graphs were broken in the new Dev UI from the beginning but no one complained so it's probably not frequently used 🤷.

- also simplify bean dependency graph and remove the direct
  dependency/dependent category
@quarkus-bot quarkus-bot bot added area/arc Issue related to ARC (dependency injection) area/vertx labels Feb 28, 2025
@@ -65,40 +65,48 @@ export class QwcArcBeanGraph extends LitElement {
this._links = []
this._nodes = []
for (var l = 0; l < dependencyGraphsLinks.length; l++) {
let link = new Object();
link.source = dependencyGraphsNodes.findIndex(item => item.id === dependencyGraphsLinks[l].source);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the problematic part - the node index value was derived from the dependencyGraphsNodes array but the graph data are stored in this._nodes. These two arrays have the same size but different ordering.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice !

Copy link

quarkus-bot bot commented Feb 28, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 93ff023.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@mkouba mkouba merged commit 03aab14 into quarkusio:main Feb 28, 2025
58 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.21 - main milestone Feb 28, 2025
@gsmet gsmet modified the milestones: 3.21 - main, 3.19.2 Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/dev-ui area/vertx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants