Skip to content

Conversation

aman19K
Copy link
Contributor

@aman19K aman19K commented Jul 29, 2025

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

@aman19K aman19K requested a review from Copilot July 29, 2025 07:02
Copy link
Contributor

@Copilot Copilot AI left a 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",

@aman19K aman19K marked this pull request as ready for review July 29, 2025 11:00
@aman19K aman19K requested a review from a team as a code owner July 29, 2025 11:00
@aman19K
Copy link
Contributor Author

aman19K commented Jul 30, 2025

NOTE:- Failed test cases need to fix in development branch. Please ignore. @harshithad0703 can you pls check this issue ?

@harshithad0703
Copy link
Contributor

aman19K and others added 2 commits August 1, 2025 17:06
feat: Integrated CLIProgressManager and SummaryManager in export
@aman19K aman19K merged commit e316efc into feat/DX-2955-cli-progress-manager Aug 1, 2025
7 of 9 checks passed
@aman19K aman19K deleted the feat/DX-3287-progress-manager branch August 1, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants