You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hester Gong 661e78bed5
Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463)
This PR adds the ability to search both fullname and username for
assignees, reviewers and author search boxes when the config
[`DEFAULT_SHOW_FULL_NAME`](6ff5400af9/custom/conf/app.example.ini (L1238))
in `app.ini` is set to `true`. Which is originally raised
[here](https://projects.blender.org/infrastructure/blender-projects-platform/issues/14)
And if `DEFAULT_SHOW_FULL_NAME` is set to `false`(default value), these
search boxes will only show username.

Example:
When `DEFAULT_SHOW_FULL_NAME = true`

<img width="1220" alt="截屏2023-03-14 14 28 06"
src="https://user-images.githubusercontent.com/17645053/224914546-80ef2837-ab72-4d66-9f00-6eb77ed4baaa.png">

When `DEFAULT_SHOW_FULL_NAME = false` (default value)

<img width="1243" alt="截屏2023-03-14 14 29 37"
src="https://user-images.githubusercontent.com/17645053/224914798-f69ec8a2-0929-4330-827c-3e30188f9b47.png">


The specific search boxes that adapts these changes include:
1. Author, Assignee search boxes in pull requests tab and issues tab in
repository
<img width="1283" alt="截屏2023-03-14 14 35 01"
src="https://user-images.githubusercontent.com/17645053/224916250-8e452525-71d6-4b48-bf1c-bf7a176abaaa.png">

2. Assigee and Author on milestones issue page (Added missing search box
for author here)
<img width="1261" alt="截屏2023-03-14 14 38 20"
src="https://user-images.githubusercontent.com/17645053/224916569-d3105619-7824-4bb8-a6d0-1a600eaa9963.png">

3. Assignee on issues and PR Sidebar, Reviewer on PR Sidebar
<img width="976" alt="截屏2023-03-14 14 41 06"
src="https://user-images.githubusercontent.com/17645053/224917431-c45d821e-9660-4f58-a196-5979a0bb64ce.png">

<img width="1027" alt="截屏2023-03-14 14 41 58"
src="https://user-images.githubusercontent.com/17645053/224917290-ad4dbc52-0c20-45c4-9fce-9dcd59ad7d47.png">

4. Assignee when creating new issue
<img width="961" alt="截屏2023-03-14 14 44 33"
src="https://user-images.githubusercontent.com/17645053/224917694-34bee5a7-e975-4f37-8862-56ebc2556808.png">

5. Whitelisted users for pushing, Whitelisted users for merging and
Whitelisted reviewers in Protected branch settings
<img width="920" alt="截屏2023-03-14 14 48 56"
src="https://user-images.githubusercontent.com/17645053/224918551-9b46b44e-b075-4895-8d33-1aafc7d3c8e5.png">
<img width="901" alt="截屏2023-03-14 14 49 02"
src="https://user-images.githubusercontent.com/17645053/224918584-efa66f23-a593-4e26-a3eb-bb1fbc5516ae.png">
<img width="944" alt="截屏2023-03-14 14 49 21"
src="https://user-images.githubusercontent.com/17645053/224918591-be60455d-0513-4f66-84f6-b5e1bc40ff91.png">


6.  "Allowed users" in tags settings
<img width="935" alt="截屏2023-03-14 14 50 11"
src="https://user-images.githubusercontent.com/17645053/224918701-797699aa-c7e5-4290-b3fe-27dcead1c6c7.png">
1 year ago
..
actions Add workflow error notification in ui (#23404) 1 year ago
branch Make branches list page operations remember current page (#23420) 1 year ago
cite Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
diff Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
editor Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
find Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
graph Add context cache as a request level cache (#22294) 1 year ago
issue Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 1 year ago
migrate Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
projects Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
pulls Always go full width in PR view (#22844) 1 year ago
release Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
settings Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 1 year ago
wiki Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
activity.tmpl Add context when rendering labels or emojis (#23281) 1 year ago
blame.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
branch_dropdown.tmpl Refactor branch/tag selector to Vue SFC (#23421) 1 year ago
clone_buttons.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
clone_script.tmpl Make clone URL use current page's host (#22808) 1 year ago
commit_page.tmpl Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
commit_status.tmpl Fix missing commit status in PR which from forked repo (#23351) 1 year ago
commit_statuses.tmpl Fix hidden commit status on multiple checks (#22889) 1 year ago
commits.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
commits_list.tmpl Add context when rendering labels or emojis (#23281) 1 year ago
commits_list_small.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
commits_table.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
create.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
create_helper.tmpl Add templates to customize text when creating and migrating repositories 2 years ago
empty.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
file_info.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
forks.tmpl Add context cache as a request level cache (#22294) 1 year ago
graph.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
header.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
home.tmpl Fix and move "Use this template" button (#23398) 1 year ago
icon.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
packages.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
search.tmpl Fix 'View File' button in code search (#23478) 1 year ago
search_name.tmpl Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 1 year ago
shabox_badge.tmpl Fix shabox regression (#22924) 1 year ago
sub_menu.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
unicode_escape_prompt.tmpl Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
upload.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
user_cards.tmpl Add context cache as a request level cache (#22294) 1 year ago
view_file.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
view_list.tmpl Add wrapper to author to avoid long name ui problem (#23030) 1 year ago
watchers.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago