[PR #2636] [MERGED] Use Semantic UI's Search component for user and repo search #16515

Closed
opened 2025-11-02 12:12:25 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2636
Author: @harryxu
Created: 10/1/2017
Status: Merged
Merged: 10/3/2017
Merged by: @lafriks

Base: masterHead: search-input


📝 Commits (9)

  • 0d64b05 Use search component on org invitation user input.
  • 585024c Search component for collaboration and members.
  • ccf5f90 Search component for repo search.
  • ef07e73 minCharacters for search input
  • e587167 Display full_name for user search.
  • 221648c Fixed missing uid query parameter for repo search.
  • 77bec9e Removed unused comment.
  • ab58a42 Merge branch 'master' into search-input
  • 916ad17 Merge branch 'master' into search-input

📊 Changes

7 files changed (+49 additions, -109 deletions)

View changed files

📝 public/css/index.css (+1 -1)
📝 public/js/index.js (+36 -87)
📝 public/less/_repository.less (+8 -13)
📝 templates/org/member/invite.tmpl (+1 -2)
📝 templates/org/team/members.tmpl (+1 -2)
📝 templates/org/team/repositories.tmpl (+1 -2)
📝 templates/repo/settings/collaboration.tmpl (+1 -2)

📄 Description

Current user and repo search input is not support keyboard navigation and must use mouse click to select item.

So I use Semantic UI's Search component replace the jquery ajax code and html generating code, for improve the UI experience.

Here is the screenshots:

New user search

New repo search

Old user search (Can only use mouse select):


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2636 **Author:** [@harryxu](https://github.com/harryxu) **Created:** 10/1/2017 **Status:** ✅ Merged **Merged:** 10/3/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `search-input` --- ### 📝 Commits (9) - [`0d64b05`](https://github.com/go-gitea/gitea/commit/0d64b0512587ec18f05d2eba8c73a722c24d4631) Use search component on org invitation user input. - [`585024c`](https://github.com/go-gitea/gitea/commit/585024ced14df1103b7b2977da837830a85ab4d9) Search component for collaboration and members. - [`ccf5f90`](https://github.com/go-gitea/gitea/commit/ccf5f90f55e62ac50b67f965b633fec6480bf0d6) Search component for repo search. - [`ef07e73`](https://github.com/go-gitea/gitea/commit/ef07e738eaa08f016931e2dbbcfeaef18e29ad56) minCharacters for search input - [`e587167`](https://github.com/go-gitea/gitea/commit/e5871679c7d7cab61960e9c26b44d6e80b5d5a9d) Display full_name for user search. - [`221648c`](https://github.com/go-gitea/gitea/commit/221648c531e67319f1fc4ec59beb111e00eb0edb) Fixed missing uid query parameter for repo search. - [`77bec9e`](https://github.com/go-gitea/gitea/commit/77bec9ef9855055f73e6758031bea5cbeffea472) Removed unused comment. - [`ab58a42`](https://github.com/go-gitea/gitea/commit/ab58a42d14ae9cacd0b574ee0ec50f443fb75cf8) Merge branch 'master' into search-input - [`916ad17`](https://github.com/go-gitea/gitea/commit/916ad17fb597320ddc754f389c72ea9f8df443f2) Merge branch 'master' into search-input ### 📊 Changes **7 files changed** (+49 additions, -109 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+1 -1) 📝 `public/js/index.js` (+36 -87) 📝 `public/less/_repository.less` (+8 -13) 📝 `templates/org/member/invite.tmpl` (+1 -2) 📝 `templates/org/team/members.tmpl` (+1 -2) 📝 `templates/org/team/repositories.tmpl` (+1 -2) 📝 `templates/repo/settings/collaboration.tmpl` (+1 -2) </details> ### 📄 Description Current user and repo search input is not support keyboard navigation and must use mouse click to select item. So I use Semantic UI's Search component replace the jquery ajax code and html generating code, for improve the UI experience. Here is the screenshots: **New user search** ![](https://i.imgur.com/rO9tMqT.gif) **New repo search** ![](https://i.imgur.com/Ex1Onsr.gif) **Old user search** (Can only use mouse select): ![](https://i.imgur.com/ap1HzfD.gif) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:12:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16515