-
Notifications
You must be signed in to change notification settings - Fork 90
VSCODE-163: Add resources/help panel #166
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
Conversation
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.
Yeah, it would be nice to play with icon's sizes. Now also because they have a different shape, they look sometimes much bigger than text, or very small like MongoDB leaf. Looking forward to seeing the final version! This help panel should be very useful for users.
|
||
deactivate(): void { | ||
if (this._treeView) { | ||
this._treeView.dispose(); |
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.
Just wonder what will happen if we do not dispose when deactivate?
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.
From what I understand, disposing cleans up the listeners we create in activateTreeViewEventHandlers
(treeView.onDidChangeSelection
)
https://vscode-docs.readthedocs.io/en/stable/extensions/patterns-and-principles/#disposables
I think it's something we want to keep, just to make sure we clean up a bit.
}; | ||
|
||
public async activatePlaygroundsTreeView(): Promise<void> { | ||
public activatePlaygroundsTreeView(): void { |
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.
👍
|
||
const micromatch = require('micromatch'); | ||
const log = createLogger('explorer controller'); | ||
const log = createLogger('playgrounds tree controller'); |
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.
👍
? vscode.FileType.Directory | ||
: this.fsStat.isSymbolicLink() | ||
? vscode.FileType.SymbolicLink | ||
: vscode.FileType.Unknown; |
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.
Do you have any additional settings in your vscode different from what we have in .vscode/settings.json?
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.
Eslint is doing this one - it's also complaining that it's too many layers of ternary 😅
} | ||
|
||
private getFileNames(path: string): Promise<string[]> { | ||
private getFileNames(filePath: string): Promise<string[]> { |
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.
😏👍
Tested links and collapsing state, everything works well! When tests are fixed and icons updated can be merged 👌 |
This PR adds a Help and Feedback panel with links to different resources:


Open qs:
Tweaking the icons still a bit with Claudia, figured I'd open the PR now since its mostly styles.