Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 2, 2026

This PR generated automatically to merge dev with rel-10.1. Please review the changed files before merging to prevent any errors that may occur.

@github-actions github-actions bot requested a review from maliming January 2, 2026 07:53
@maliming maliming marked this pull request as ready for review January 2, 2026 07:53
Copilot AI review requested due to automatic review settings January 2, 2026 07:53
@maliming maliming merged commit e67d6ba into dev Jan 2, 2026
2 checks passed
@maliming maliming deleted the auto-merge/rel-10-1/4233 branch January 2, 2026 07:53
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 merges changes from the dev branch into rel-10.1, incorporating code formatting updates (indentation standardization) and several functional changes to the permission management and lookup components.

Key Changes:

  • Updated code formatting to use consistent 2-space indentation across all TypeScript and HTML files
  • Modified localization keys for error messages and confirmation dialogs
  • Changed lookup dropdown initialization and styling (z-index, CSS variables, showDropdown state)

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
resource-permission-management.component.ts Reformatted indentation; updated localization keys for delete confirmation and success messages
resource-permission-management.component.html Reformatted indentation to 2-space standard
resource-permission-form.component.html Reformatted indentation to 2-space standard
provider-key-search.component.ts Reformatted indentation and import statements
provider-key-search.component.html Reformatted indentation to 2-space standard
permission-checkbox-list.component.html Reformatted indentation to 2-space standard
lookup-search.component.ts Reformatted indentation; changed showDropdown signal initialization from false to true
lookup-search.component.html Reformatted indentation; updated localization key for no results message; removed shadow class
lookup-search.component.scss Increased z-index from 1050 to 1060; added positioning and background-color styles

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

onDeleteClicked(grant: ResourcePermissionGrantInfoDto) {
this.confirmationService
.warn(
'AbpPermissionManagement::ResourcePermissionDeletionConfirmationMessage',
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The localization key has been changed from 'AbpPermissionManagement::PermissionDeletionConfirmationMessage' to 'AbpPermissionManagement::ResourcePermissionDeletionConfirmationMessage'. This is a breaking change that will cause the confirmation message to display the raw localization key instead of the translated text if the new key hasn't been added to the localization resources. Ensure this new key exists in all supported language files before merging.

Suggested change
'AbpPermissionManagement::ResourcePermissionDeletionConfirmationMessage',
'AbpPermissionManagement::PermissionDeletionConfirmationMessage',

Copilot uses AI. Check for mistakes.
next: res => {
this.state.setResourceData(res.permissions || []);
this.list.get();
this.toasterService.success('AbpUi::DeletedSuccessfully');
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The success message localization key has been changed from 'AbpUi::SuccessfullyDeleted' to 'AbpUi::DeletedSuccessfully'. This is a breaking change that will cause the success message to display the raw localization key instead of the translated text if the new key hasn't been added to the localization resources. Ensure this new key exists in all supported language files before merging.

Suggested change
this.toasterService.success('AbpUi::DeletedSuccessfully');
this.toasterService.success('AbpUi::SuccessfullyDeleted');

Copilot uses AI. Check for mistakes.
<ng-container *ngTemplateOutlet="noResultsTemplate()!" />
} @else {
<div class="list-group-item text-muted">
{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The localization key has been changed from 'AbpUi::NoRecordsFound' to 'AbpUi::NoDataAvailableInDatatable'. This is a breaking change that will cause the no results message to display the raw localization key instead of the translated text if the new key hasn't been added to the localization resources. Ensure this new key exists in all supported language files before merging.

Suggested change
{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}
{{ 'AbpUi::NoRecordsFound' | abpLocalization }}

Copilot uses AI. Check for mistakes.
<ng-container *ngTemplateOutlet="itemTemplate()!; context: { $implicit: item }" />
} @else {
{{ getDisplayValue(item) }}
<div class="abp-lookup-dropdown list-group position-absolute w-100">
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The removal of the 'shadow' CSS class from the dropdown may affect visual consistency if other dropdowns in the application use shadows. Additionally, the new 'background-color: var(--lpx-content-bg)' CSS variable may not be defined in all themes, which could result in the dropdown having a transparent or incorrect background. Verify that this CSS variable is defined across all supported themes.

Suggested change
<div class="abp-lookup-dropdown list-group position-absolute w-100">
<div class="abp-lookup-dropdown list-group position-absolute w-100 shadow" style="background-color: var(--lpx-content-bg, #fff);">

Copilot uses AI. Check for mistakes.
z-index: 1050;
max-height: 200px;
overflow-y: auto;
z-index: 1060;
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The z-index has been increased from 1050 to 1060. Verify that this new z-index value doesn't conflict with other UI elements (such as modals, tooltips, or navigation menus) that may have z-index values in this range. Bootstrap modals typically use z-index of 1050-1055, so this change to 1060 should ensure the dropdown appears above modals, but confirm this is the intended behavior.

Suggested change
z-index: 1060;
z-index: 1050;

Copilot uses AI. Check for mistakes.
readonly noResultsTemplate = contentChild<TemplateRef<void>>('noResultsTemplate');

readonly searchResults = signal<T[]>([]);
readonly showDropdown = signal(true);
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The showDropdown signal is being initialized to true instead of false. This will cause the dropdown to be visible by default when the component loads, which is likely unintended behavior. Users would see an empty dropdown until they interact with the search input.

Suggested change
readonly showDropdown = signal(true);
readonly showDropdown = signal(false);

Copilot uses AI. Check for mistakes.
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