-
Notifications
You must be signed in to change notification settings - Fork 16
feat: implemented progress and summary manager in utilities plugin #2026
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
feat: implemented progress and summary manager in utilities plugin #2026
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.
Pull Request Overview
This PR implements a comprehensive progress tracking and summary management system for the contentstack-utilities plugin. The main purpose is to provide structured progress tracking with progress bars, spinners, and detailed summary reports for CLI operations.
Key Changes:
- Adds new CLI progress tracking capabilities with support for both simple and nested progress bars
- Implements a summary manager for aggregating and displaying operation results across multiple modules
- Enhances logger functionality with conditional console output and improved error handling
Reviewed Changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
packages/contentstack/package.json | Adds required dependencies for progress tracking (cli-progress, ora) |
packages/contentstack-utilities/src/progress-manager/ | Implements new progress tracking system with CLI progress manager and summary manager |
packages/contentstack-utilities/src/interfaces/index.ts | Defines TypeScript interfaces for progress tracking and failure reporting |
packages/contentstack-utilities/src/logger/logger.ts | Updates logger to support conditional console output and improved log level handling |
packages/contentstack-utilities/test/unit/ | Comprehensive test coverage for new progress management functionality |
Comments suppressed due to low confidence (1)
packages/contentstack/package.json:55
- The ora version ^8.2.0 may not exist. Ora is currently at version 8.1.0 or similar. Please verify this version exists before merging.
"ora": "^8.2.0",
packages/contentstack-utilities/src/progress-manager/summary-manager.ts
Outdated
Show resolved
Hide resolved
packages/contentstack-utilities/src/progress-manager/cli-progress-manager.ts
Show resolved
Hide resolved
packages/contentstack-utilities/test/unit/cliProgressManager.test.ts
Outdated
Show resolved
Hide resolved
…est.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…nto feat/DX-3287-progress-manager
NOTE:- Failed test cases need to fix in development branch. Please ignore. @harshithad0703 can you pls check this issue ? |
@aman19K |
feat: Integrated CLIProgressManager and SummaryManager in export
e316efc
into
feat/DX-2955-cli-progress-manager
This PR implements a comprehensive progress tracking and summary management system for the contentstack-utilities plugin. The main purpose is to provide structured progress tracking with progress bars, spinners, and detailed summary reports for CLI operations.
Changes:
Adds new CLI progress tracking capabilities with support for both simple and nested progress bars
Implements a summary manager for aggregating and displaying operation results across multiple modules
Enhances logger functionality with conditional console output and improved error handling