Version 1.0.0 - Adding emojis to treeview

This commit is contained in:
IJustDev 2019-07-31 14:57:31 +02:00
parent de86dbb4b3
commit 210b5bbbf5
4 changed files with 8 additions and 5 deletions

View File

@ -64,6 +64,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
- Multiple gitea instances are now possible. The key is now stored in the workspace settings - Multiple gitea instances are now possible. The key is now stored in the workspace settings
- BuyMeACoffeBadge ReadMe - BuyMeACoffeBadge ReadMe
## [1.0.0] - 2019-07-31
### Added:
- Emojis in treeview
## [Unreleased] ## [Unreleased]

View File

@ -3,7 +3,7 @@
"displayName": "Gitea-VSCode", "displayName": "Gitea-VSCode",
"description": "Gitea Issue Tracker for vs-code", "description": "Gitea Issue Tracker for vs-code",
"publisher": "IJustDev", "publisher": "IJustDev",
"version": "0.0.9", "version": "1.0.0",
"engines": { "engines": {
"vscode": "^1.32.0" "vscode": "^1.32.0"
}, },

View File

@ -120,10 +120,10 @@ export function getChildren(element: Issue | undefined, issueList: Issue[]) {
for (const issue of issueList) { for (const issue of issueList) {
if (element === issue) { if (element === issue) {
let childItems: vscode.TreeItem[] = [ let childItems: vscode.TreeItem[] = [
new vscode.TreeItem('Assignee - ' + element.assignee, vscode.TreeItemCollapsibleState.None), new vscode.TreeItem('👷 Assignee - ' + element.assignee, vscode.TreeItemCollapsibleState.None),
new vscode.TreeItem('State - ' + element.issueState, vscode.TreeItemCollapsibleState.None), new vscode.TreeItem('🚥 State - ' + element.issueState, vscode.TreeItemCollapsibleState.None),
new vscode.TreeItem('ID - ' + element.issueId, vscode.TreeItemCollapsibleState.None), new vscode.TreeItem('🆔 ID - ' + element.issueId, vscode.TreeItemCollapsibleState.None),
new vscode.TreeItem('From - ' + element.creator, vscode.TreeItemCollapsibleState.None), new vscode.TreeItem('✏️ From - ' + element.creator, vscode.TreeItemCollapsibleState.None),
]; ];
return Promise.resolve(childItems); return Promise.resolve(childItems);
} }

Binary file not shown.