-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add details panel for graph selection info #22
Conversation
@@ -320,6 +320,34 @@ | |||
break; | |||
} | |||
}); | |||
cy.on("cxttap", function (evt) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cxttap
? 🙄
vscode/src/detailsPanel.ts
Outdated
|
||
const templateUri = vscode.Uri.joinPath(this.extensionUri, "templates", "detailsPanel.html"); | ||
const templateText = fs.readFileSync(templateUri.fsPath, "utf8"); | ||
const template = handlebars.compile(templateText); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably load/compile the template in a less granular scope, like maybe the panel constructor.
} | ||
|
||
function constructEvents(events) { | ||
eventsHeader.innerHTML = "Events"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the whole element is being hidden, we can probably put the content for these headers in the template itself, and not worry about having to set innerHTML
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this, but they still show up on initialization when the panel loads. Not sure why, but I assume it's something to do with the flex box display/styling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very small style notes
Based on #21