-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Add pagination and search box to org teams list #37245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
ed2ca46
feat: add pagination, search, and description to org teams page
kmranimesh be33fd7
Refactor team visibility logic and update search input attributes
kmranimesh 6e5497a
Fix linting errors
kmranimesh f07ea43
Apply suggestion from @silverwind
silverwind 824e52c
Apply suggestion from @silverwind
silverwind f5773c1
Fix CanUserSeeAllTeams to handle Site Admins correctly
kmranimesh 69a5dec
Merge branch 'main' into feat/34482-team-list-pagination-search
silverwind 6f58072
optimize team loading and CanUserSeeAllTeams query
kmranimesh e49147f
Merge branch 'main' into feat/34482-team-list-pagination-search
kmranimesh 1b50a4c
5 teams shown at most in overview
PineBale 962c39e
Merge branch 'pr-36602' into patch-orgpage
PineBale 9c4589a
Revert "optimize team loading and CanUserSeeAllTeams query"
PineBale 9046a7d
Revert "Fix CanUserSeeAllTeams to handle Site Admins correctly"
PineBale a0657d7
Revert "Apply suggestion from @silverwind"
PineBale 4396287
Revert "Apply suggestion from @silverwind"
PineBale 57cdfa5
Revert "Fix linting errors"
PineBale 082f07f
Revert "Refactor team visibility logic and update search input attrib…
PineBale 51c06e8
Revert "feat: add pagination, search, and description to org teams page"
PineBale 76e9705
Reapply
PineBale 5c58d8b
Button
PineBale 783c886
Reapply
PineBale b298002
Reapply
PineBale 00e9e0e
lint
PineBale 9763283
Merge remote-tracking branch 'origin/patch-orgpage' into patch-orgpage
PineBale 20e6399
Pager
PineBale 0e86bbc
SearchTeam CASE WHEN name LIKE OwnerTeamName
PineBale 9367c74
Fix pager
PineBale 4fa53ae
const numOfTeamsAtMostInOverview https://github.com/go-gitea/gitea/pu…
PineBale b5a6d74
CASE WHEN name LIKE strings.ToLower(OwnerTeamName) https://github.com…
PineBale f117108
Possible shouldSeeAllTeams fix https://github.com/go-gitea/gitea/pull…
PineBale f2d4c6e
lint
PineBale a71adcd
Merge branch 'main' into patch-orgpage
PineBale 52391d9
Merge remote-tracking branch 'origin/patch-orgpage' into patch-orgpage
PineBale a2d23b5
Remove autofocus https://github.com/go-gitea/gitea/pull/37245#issueco…
PineBale 8afd0f4
Add test for org teams page pagination, search, and permissions
silverwind ed4f12e
fix
wxiaoguang 9ea6110
fix
wxiaoguang 9600ed3
refactor
wxiaoguang eefd676
add to test
PineBale 4aed576
refactor
wxiaoguang 41e88cb
optimize
wxiaoguang 4cdddb0
avatar size = 32
wxiaoguang 92e6765
remove useless TrimSpace
wxiaoguang 0592df9
Merge branch 'main' into patch-orgpage
silverwind 80c953c
add form action
wxiaoguang 82ed2bf
only show tooltip when needed
wxiaoguang 6044c82
fix layout
wxiaoguang 5bb3387
add team description
wxiaoguang 654dba1
fix layout
wxiaoguang 3041637
fix color
wxiaoguang acafaa8
fix layout
wxiaoguang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| <a class="avatar-with-link" {{if gt .user.ID 0}}href="{{.user.HomeLink}}"{{end}}>{{ctx.AvatarUtils.Avatar .user (or .size 20)}}</a> | ||
| <a class="avatar-with-link" {{if .tooltip}}data-tooltip-content="{{.user.Name}}{{if .user.FullName}} ({{.user.FullName}}){{end}}"{{end}} {{if gt .user.ID 0}}href="{{.user.HomeLink}}"{{end}}>{{ctx.AvatarUtils.Avatar .user (or .size 20)}}</a> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.