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

feat: Add lit-html enabled graph #4331

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

GordonSmith
Copy link
Member

@GordonSmith GordonSmith commented Jan 23, 2025

Checklist:

  • The commit message is properly formatted and free of typos.
    • The commit message title makes sense in a changelog, by itself.
    • The commit message includes a "fixes" reference if appropriate.
    • The commit is signed.
  • The change has been fully tested:
    • I have viewed all related gallery items
    • I have viewed all related dermatology items
  • There are no similar instances of the same problem that should be addressed
    • I have addressed them here
    • I have raised new issues to address them separately

Testing:

Copy link
Contributor

@jeclrsg jeclrsg left a comment

Choose a reason for hiding this comment

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

@GordonSmith Didn't notice anything except those test failures that GH pointed out

@@ -76,9 +76,9 @@ export class Graph2 extends GraphReactT<ISubgraph, IVertex, IEdge> {
this._centroidFilter.update(this.centroidColor());
}
}
Graph2.prototype._class += " graph_Graph2";
GraphReact.prototype._class += " graph_React";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be graph_GraphReact? Github Actions is noting some test failures below.


constructor(subgraphRenderer: Component<SG>, vertexRenderer: Component<V>, edgeRenderer: Component<E>) {
super(adapter(subgraphRenderer), adapter(vertexRenderer), adapter(edgeRenderer));
}
Copy link
Contributor

Choose a reason for hiding this comment

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

And is the other test failure because there isn't a render function in here?

Copy link
Contributor

@jeclrsg jeclrsg left a comment

Choose a reason for hiding this comment

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

@GordonSmith The only thing that jumped out at me were a couple of urls in one of the tests. I assumed they were icon images, they just looked weird (some kind of Thai language subdomain of bing.com?)

["a", "[email protected]", "fa-at", false, false, false, "fa-plus", "https://th.bing.com/th/id/OIP.3FhSHq5xMXMDZ7gYBZ1nzQHaHa?w=210&h=210&c=7&r=0&o=5&pid=1.7"],
[1, "Napoleon", "fa-user-o", true, true, true, "fa-plus", "https://th.bing.com/th/id/OIP.3FhSHq5xMXMDZ7gYBZ1nzQHaHa?w=210&h=210&c=7&r=0&o=5&pid=1.7"],
Copy link
Contributor

Choose a reason for hiding this comment

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

What are these urls?

@GordonSmith GordonSmith force-pushed the LIT_GRAPH branch 3 times, most recently from daa3081 to bac0657 Compare January 29, 2025 16:00
Signed-off-by: Gordon Smith <[email protected]>

WIP
@GordonSmith GordonSmith merged commit a4c4a1d into hpcc-systems:candidate-3.x.x Jan 30, 2025
1 check passed
@GordonSmith GordonSmith deleted the LIT_GRAPH branch January 30, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants