Skip to content

fix: member list does not support ignoring case#2463

Merged
wxg0103 merged 1 commit intomainfrom
pr@main@fix_1052688
Mar 3, 2025
Merged

fix: member list does not support ignoring case#2463
wxg0103 merged 1 commit intomainfrom
pr@main@fix_1052688

Conversation

@shaohuzhang1
Copy link
Copy Markdown
Contributor

fix: member list does not support ignoring case --bug=1052688 --user=王孝刚 【团队成员】成员列表搜索不支持忽略大小写 https://www.tapd.cn/57709429/s/1661230

--bug=1052688 --user=王孝刚 【团队成员】成员列表搜索不支持忽略大小写 https://www.tapd.cn/57709429/s/1661230
@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot bot commented Mar 3, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot bot commented Mar 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

)
} else {
filterMember.value = memberList.value
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The provided code does not contain any immediate irregularities, but there are a few minor improvements that can be made:

  1. Code Consistency: Ensure consistent indentation throughout the file to improve readability.
// Replace all spaces with tabs:
- <el-button type="primary" @click="submitPermissions">{{ $t('common.save')}}</el-button>
+ <el-button type="primary" @click="submitPermissions">${{ $t('common.save') }}</el-button>

// Use braces consistently for multiline expressions within templates:
<el-button type="primary"${{
  onClick: () => deleteMember(row)
}}>{{ $t('views.team.delete.button') }}</el-button>
  1. Variable Naming: Variable names follow typical JavaScript naming conventions, which is good.

  2. Comments Formatting: Comments should start on a new line after each block of text without additional space before them.

// Remove extra space at the end here:
<div class="p-24 pb-0 mb-4">...</div>
// No need to add comment here since it's clear

<!-- Add this to format comments -->
<label>Some Label</label>
<span>This is some inline span.</span>

These changes will enhance readability and maintainability of the code base while adhering to standard coding practices.

@wxg0103 wxg0103 merged commit e7f1387 into main Mar 3, 2025
4 of 5 checks passed
@wxg0103 wxg0103 deleted the pr@main@fix_1052688 branch March 3, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants