feat: Implement build stages view and add icon to display Logs #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant changes to the Azure Pipeline Runner extension, adding support for stages and improving the overall functionality. The most important changes include updates to the
package.json
file to add new commands, modifications to theregister-commands.ts
andextension.ts
files to register new commands and tree data providers, and updates to various provider files to handle stages.New Features and Commands:
package.json
: Added new commandsazurePipelineRunner.openStage
andazurePipelineRunner.openStageLog
, and updated theazurePipelineRunner
view to includeStages
. [1] [2] [3]Command Registration:
src/commands/register-commands.ts
: Registered new commands for opening stage and stage logs, and updated the refresh command to include the stage tree data provider.Extension Activation:
src/extension.ts
: Registered theStageTreeDataProvider
and included it in theregisterCommands
function.Build Item Enhancements:
src/providers/build/build-item.ts
: Added a command to load stages when a build item is clicked, and refactored the tooltip and icon path logic. [1] [2] [3]Build Tree Data Provider:
src/providers/build/build-tree-data-provider.ts
: Improved error handling, added support for loading stages, and refactored methods for better readability. [1] [2] [3]Added a detailed view for build stages in the Azure Pipeline. Integrated an icon next to each build stage to easily display logs.