Skip to content

Commit 7d32b6f

Browse files
committed
feat: update CHANGELOG for version 1.6.0, improve report file titles, and enhance badge counter
1 parent 65f55fc commit 7d32b6f

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66

77
## [Unreleased]
88

9+
## [1.6.0] - 2023-10-07
10+
11+
### Added
12+
13+
- Improved report file titles by parsing content for better readability.
14+
- Added icons for different report types based on content.
15+
- Included folder names in titles for files in the "api" subdirectory.
16+
- Refactored code to improve performance
17+
- Extend badge counter to include report files
18+
19+
### Fixed
20+
21+
- Fixed issue with empty directories being included in the report list.
22+
923
## [1.5.1] - 2024-12-05
1024

1125
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento-log-viewer",
33
"displayName": "Magento Log Viewer",
44
"description": "A Visual Studio Code extension to view and manage Magento log files.",
5-
"version": "1.5.1",
5+
"version": "1.6.0",
66
"publisher": "MathiasElle",
77
"icon": "resources/logo.png",
88
"repository": {

src/helpers.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ export function updateBadge(treeView: vscode.TreeView<unknown>, logViewerProvide
140140
treeView.badge = { value: totalEntries, tooltip: `${totalEntries} log and report entries` };
141141

142142
vscode.commands.executeCommand('setContext', 'magentoLogViewer.hasLogFiles', totalEntries > 0);
143+
144+
// Update status bar item
145+
const statusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 100);
146+
statusBarItem.text = `Magento Log-Entries: ${totalEntries}`;
147+
statusBarItem.show();
143148
};
144149

145150
logViewerProvider.onDidChangeTreeData(updateBadgeCount);

0 commit comments

Comments
 (0)