From bbc9538e88ffed2b0f58c9a0744e77b2df689a14 Mon Sep 17 00:00:00 2001 From: logikonline Date: Sun, 18 Jan 2026 13:35:44 -0500 Subject: [PATCH] fix(ui): move Show Groups toggle inline with search bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the grouping toggle to the same line as the search bar for: - /explore/organizations page - Organization repositories page 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- templates/explore/search.tmpl | 15 +++++++++++---- templates/explore/users.tmpl | 8 -------- templates/org/home.tmpl | 8 -------- templates/shared/repo/search.tmpl | 7 +++++++ 4 files changed, 18 insertions(+), 20 deletions(-) diff --git a/templates/explore/search.tmpl b/templates/explore/search.tmpl index 1d984a2e37..a0e1fc5005 100644 --- a/templates/explore/search.tmpl +++ b/templates/explore/search.tmpl @@ -13,11 +13,18 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} + {{if .PageIsExploreOrganizations}} + + + {{end}}
diff --git a/templates/explore/users.tmpl b/templates/explore/users.tmpl index 1a550fe8de..f0d95e2177 100644 --- a/templates/explore/users.tmpl +++ b/templates/explore/users.tmpl @@ -3,14 +3,6 @@ {{template "explore/navbar" .}}
{{template "explore/search" .}} - {{if .PageIsExploreOrganizations}} -
- -
- {{end}} {{if and .PageIsExploreOrganizations .ShowGrouping .OrgHeaders}} {{/* Grouped View for Organizations */}} {{template "explore/org_list_grouped" .}} diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 90c71c5d14..fcb8bb6e99 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -193,14 +193,6 @@ {{/* Repositories Tab Content */}} {{if .PageIsViewRepositories}} {{template "shared/repo/search" .}} - {{/* Group Toggle */}} -
- -
- {{if and .ShowGrouping .RepoHeaders}} {{/* Grouped View */}}
diff --git a/templates/shared/repo/search.tmpl b/templates/shared/repo/search.tmpl index a852e65582..5a5d71d7e3 100644 --- a/templates/shared/repo/search.tmpl +++ b/templates/shared/repo/search.tmpl @@ -53,6 +53,13 @@
+ {{if .PageIsViewRepositories}} + + + {{end}} {{if and .PageIsExploreRepositories .OnlyShowRelevant}}