feat: Add export functionality for issues and pull requests

- Implemented exportIssues and exportPullRequests functions to export data in markdown, CSV, and JSON formats.
- Created helper functions for generating markdown and CSV formats for issues and pull requests.
- Added showExportDialog for user interaction to select export options.
- Implemented saveToFile function to handle file saving.

feat: Implement favorites and recent repositories management

- Added functionality to add, remove, and check favorites for repositories.
- Implemented recent repositories tracking with a limit on the number of recent entries.
- Created a quick pick interface to show favorites and recent repositories.

feat: Introduce notifications management

- Implemented functions to fetch, mark as read, and manage notifications.
- Created a NotificationProvider class to display notifications in a tree view.
- Added functionality to show notifications in a modal with quick actions.

feat: Implement search functionality for repositories, issues, and pull requests

- Added searchRepositories, searchIssues, and searchPullRequests functions with filtering options.
- Implemented getLabels and getCollaborators functions for additional filtering capabilities.
- Created a showFilterQuickPick function for user interaction to select filters.

feat: Enhance status bar with shortcuts and dynamic updates

- Added default keyboard shortcuts for various commands.
- Implemented createStatusBarItem and updateStatusBar functions to manage status bar display.
- Created a showStatusMenu function for quick actions related to the extension.
This commit is contained in:
2025-12-17 16:06:52 +08:00
parent 4b67c7f14a
commit 239ddbd362
7 changed files with 1756 additions and 70 deletions

View File

@@ -2,8 +2,8 @@
"name": "wizgit-in-vscode",
"displayName": "WizGIT in VS Code",
"description": "A VS Code extension to interact with WizGIT API for repository management.",
"version": "0.0.3",
"publisher": "TerenceCarrera",
"version": "0.0.4",
"publisher": "Terence Carrera",
"icon": "resources/wizgit-marketplace-icon.png",
"license": "MIT",
"repository": {
@@ -105,6 +105,48 @@
"title": "Open Pull Request",
"category": "WizGIT",
"icon": "$(link-external)"
},
{
"command": "wizgit-in-vscode.searchRepositories",
"title": "Search Repositories",
"category": "WizGIT",
"icon": "$(telescope)"
},
{
"command": "wizgit-in-vscode.searchIssues",
"title": "Search Issues",
"category": "WizGIT",
"icon": "$(search)"
},
{
"command": "wizgit-in-vscode.searchPullRequests",
"title": "Search Pull Requests",
"category": "WizGIT",
"icon": "$(search)"
},
{
"command": "wizgit-in-vscode.openRecentRepositories",
"title": "Open Recent Repositories",
"category": "WizGIT",
"icon": "$(history)"
},
{
"command": "wizgit-in-vscode.exportIssues",
"title": "Export Issues",
"category": "WizGIT",
"icon": "$(save)"
},
{
"command": "wizgit-in-vscode.exportPullRequests",
"title": "Export Pull Requests",
"category": "WizGIT",
"icon": "$(save)"
},
{
"command": "wizgit-in-vscode.showNotifications",
"title": "Show Notifications",
"category": "WizGIT",
"icon": "$(bell)"
}
],
"menus": {
@@ -159,6 +201,32 @@
}
]
},
"keybindings": [
{
"command": "wizgit-in-vscode.searchRepositories",
"key": "ctrl+shift+g r",
"mac": "cmd+shift+g r",
"when": "wizgit:enabled"
},
{
"command": "wizgit-in-vscode.searchIssues",
"key": "ctrl+shift+g i",
"mac": "cmd+shift+g i",
"when": "wizgit:enabled"
},
{
"command": "wizgit-in-vscode.searchPullRequests",
"key": "ctrl+shift+g p",
"mac": "cmd+shift+g p",
"when": "wizgit:enabled"
},
{
"command": "wizgit-in-vscode.openRecentRepositories",
"key": "ctrl+shift+g t",
"mac": "cmd+shift+g t",
"when": "wizgit:enabled"
}
],
"configuration": {
"title": "WizGIT",
"properties": {