Repository navigation
Home: Introduced an organizations list behind the sidebar's Repositories heading - #174
Merged
Merged
Conversation
The home sidebar listed only repositories, so an organization was only reachable through the account switcher. With organizations, the Repositories heading now opens a menu, as GitHub's single-choice menus do, that swaps the list for the signed-in user's organizations, each linking to its page. Forgejo's dashboard already lists them, so nothing is fetched. The choice is kept in the browser and restored before the first paint, so someone who keeps Repositories sees GitHub's sidebar with a caret after the heading. Without organizations the heading stays plain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
whereareiam
force-pushed
the
feat/home-organizations
branch
from
October 31, 2026 20:38
64e806c to
5c366b8
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The home page's sidebar only listed repositories, so the only way to reach one of your organizations was the account switcher, then the organization. Now, if you belong to an organization, the Repositories heading opens a small menu with Repositories and Organizations. Picking Organizations swaps the list for your organizations, each linking to its page.
.Orgs), so nothing is fetched. Organization dashboards use the same template and get the same menu.home.my_reposandhome.my_orgs..ui.formfor the dropdown's option styles, markedignore-dirtyso switching lists doesn't trigger Forgejo's "leave page?" warning.Before and after
Home (
/), 1280×760, dark, signed in asalex(member of acme and globex). After: the menu closed, open, and with Organizations chosen.Release notes
Area: Descriptionwith a listed areafeaturebugonly for a bug that shipped in a release (not applicable)majornot neededChecks
src/build-output.test.ts).bun bundleandbun vitestpass (568 tests), and Prettier is clean.🤖 Generated with Claude Code