Skip to content

Conversation

@AishDani
Copy link
Contributor

No description provided.

@AishDani AishDani requested a review from a team as a code owner August 25, 2025 13:16

This comment was marked as outdated.

@umeshmore45 umeshmore45 requested a review from Copilot August 29, 2025 06:17
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 PR contains bugfixes and improvements for a beta release, focusing on organization data management, UI tooltips, and language mapping functionality.

  • Added organization data clearing functionality to prevent stale data between user sessions
  • Fixed tooltip positioning and button styling in the ContentMapper component
  • Improved language mapping logic and loading state management

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/store/slice/authSlice.tsx Added clearOrganisationData action to reset organization state
ui/src/pages/Login/index.tsx Integrated organization data clearing on successful login
ui/src/components/DestinationStack/Actions/LoadLanguageMapper.tsx Enhanced mapping logic and fixed loading state initialization
ui/src/components/ContentMapper/index.tsx Updated tooltip positioning and added CSS class for button styling
ui/src/components/ContentMapper/index.scss Added icon-padding class for button spacing
ui/src/components/AdvancePropertise/index.scss Removed debug styling for select menu
.talismanrc Updated checksum for LoadLanguageMapper.tsx file

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +166 to +172
else if ( !isLabelMismatch && !isStackChanged ) {
const key = `${locale?.label}-master_locale`
updatedSelectedMappings = {
[key]: updatedSelectedMappings?.[`${locale?.label}-master_locale`] ? updatedSelectedMappings?.[`${locale?.label}-master_locale`] : '',
};
setSelectedMappings(updatedSelectedMappings);
}
Copy link

Copilot AI Aug 29, 2025

Choose a reason for hiding this comment

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

The mapping logic duplicates the key construction ${locale?.label}-master_locale and has inconsistent indentation. Consider extracting the key to a variable and fixing the indentation of the object assignment.

Copilot uses AI. Check for mistakes.
Comment on lines +321 to 324
.icon-padding{
padding: 10px 10px;
margin-left: 6px;
}
Copy link

Copilot AI Aug 29, 2025

Choose a reason for hiding this comment

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

The padding shorthand 10px 10px can be simplified to just 10px since both vertical and horizontal values are the same.

Copilot uses AI. Check for mistakes.
@umeshmore45 umeshmore45 merged commit 9ea266c into dev Aug 29, 2025
7 checks passed
@umeshmore45 umeshmore45 deleted the bugfix/beta-release branch August 29, 2025 11:37
@umeshmore45 umeshmore45 restored the bugfix/beta-release branch August 29, 2025 11:37
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.

3 participants