Skip to content

Conversation

@sayalijoshi27
Copy link
Contributor

No description provided.

@sayalijoshi27 sayalijoshi27 requested a review from a team as a code owner October 10, 2025 14:41
sayalijoshi27 and others added 3 commits October 15, 2025 19:02
…nd error handling. Standardize string quotes, enhance file format validation, and add console warnings for incomplete steps in Legacy CMS. Update configuration for local path.
Base automatically changed from dev to pre-stage October 31, 2025 07:03
@umeshmore45 umeshmore45 requested a review from Copilot November 4, 2025 08:11
Copy link
Contributor

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 pull request makes UI improvements and code cleanup across multiple components. The main focus is on standardizing notification behavior and fixing UI event handlers.

  • Standardizes notification behavior by hiding progress bars across the application
  • Fixes event handler placement by moving onClick from Icon to Button components
  • Removes commented-out code and unused imports

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ui/src/pages/Migration/index.tsx Sets hideProgressBar: true for migration execution notification
ui/src/pages/Login/index.tsx Adds hideProgressBar: true to TFA success notification and removes commented-out useEffect code
ui/src/components/Modal/index.tsx Adds hideProgressBar: true to both success and error notifications
ui/src/components/LogScreen/MigrationLogViewer.tsx Removes unused imports for updateCurrentStepData, ModalObj, and MigrationCompletionModal
ui/src/components/ContentMapper/index.tsx Moves onClick handlers from Icon to parent Button components (2 instances)
ui/src/components/ContentMapper/index.scss Adjusts padding for advanced-setting-button from 5px to 5px 10px
ui/src/components/AdvancePropertise/index.tsx Adds conditional logic for Reference field options and disables checkbox for Modular Blocks/Block field types

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 577 to 581
(Array.isArray(props?.data?.referenceTo) && props?.data?.referenceTo?.length) ? [props.data.referenceTo.map((item: any) => ({
label: item,
value: item
})), ...option]
: option ?? []}
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mapped referenceTo array is wrapped in an extra array bracket, creating a nested array structure [[{label, value}, ...], ...option] instead of the intended flat array [{label, value}, ..., ...option]. Remove the outer brackets around props.data.referenceTo.map(...) to properly spread the mapped items.

Copilot uses AI. Check for mistakes.
}}
options={
option}
(Array.isArray(props?.data?.referenceTo) && props?.data?.referenceTo?.length) ? [props.data.referenceTo.map((item: any) => ({
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace any type with a more specific type definition. The item parameter should have an explicit type for better type safety.

Suggested change
(Array.isArray(props?.data?.referenceTo) && props?.data?.referenceTo?.length) ? [props.data.referenceTo.map((item: any) => ({
(Array.isArray(props?.data?.referenceTo) && props?.data?.referenceTo?.length) ? [props.data.referenceTo.map((item: string) => ({

Copilot uses AI. Check for mistakes.
shobhitupadhyayy and others added 4 commits November 4, 2025 17:09
…e component; add effect for updating referenced items
refactor: add isNumber field to SearchComponent and TeaserComponent f…
@sayalijoshi27 sayalijoshi27 merged commit 0062135 into pre-stage Nov 5, 2025
11 checks passed
@sayalijoshi27 sayalijoshi27 deleted the feature/aem-final branch November 5, 2025 07:16
@sayalijoshi27 sayalijoshi27 restored the feature/aem-final branch November 5, 2025 11:57
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.

6 participants