Quieter status bar and sidebar counts - #72336
Merged
Merged
Conversation
The sidebar labelled sections and workspace lanes `loaded/total`, which read as a progress bar people expected to fill up rather than a count of loaded rows. Pricing that label cost a COUNT(*) per profile database on every sidebar refresh, purely so the numerator and denominator could differ. Pagination only needs to know whether another page exists, and that comes free from the rows the query already returned: a window that comes back full means more remain on disk. Sections now show the loaded count alone, and the backend reports per-profile `profiles_truncated` flags in place of `total` / `profile_totals`.
Contributor
૮ >ﻌ< ა ci reviewran on c5336b4 ℹ️ InfoDesktop E2E visual evidence · View test artifacts · View job1 visual diff. inline evidence is publishing... |
The status bar shipped every affordance it had, so approvals, the terminal toggle, agents, cron and webhooks sat there permanently for users who never touched them. Those five now start hidden and the bar owns a context menu that turns them back on, persisted per install. Items opt in by naming themselves with `toggleLabel`, so a plugin contribution that doesn't opt in always shows; the system icon and the version/update pills are listed but locked on, since hiding the way back into settings strands the user. Preferences store the hidden set rather than the visible one, so an item added to the bar in a later version appears for existing users instead of staying silently off.
OutThisLife
force-pushed
the
bb/statusbar-prefs
branch
from
July 27, 2026 00:53
7411416 to
c5336b4
Compare
This was referenced Jul 27, 2026
afourniernv
pushed a commit
to afourniernv/hermes-agent
that referenced
this pull request
Jul 27, 2026
The sidebar's flat session list lost its `x/<total>` chip in NousResearch#72336, but the project drill-in kept counting: WorkspaceHeader still rendered a SidebarCount for every repo and every branch/worktree lane. Entering a project put a number next to each label again. Remove the header's count slot and both call sites, along with the now dead repo total.
OutThisLife
added a commit
that referenced
this pull request
Jul 28, 2026
#72336 removed the count from the flat list and #72912 from the entered project, but three sites still tallied rows: search results, each messaging group (Telegram, Discord, …), and cron jobs. With them gone SidebarCount never renders a count — its one caller is the projects-loading spinner — so rename it SidebarSectionMeta.
randlee
pushed a commit
to randlee/hermes-agent
that referenced
this pull request
Aug 11, 2026
…prefs Quieter status bar and sidebar counts
randlee
pushed a commit
to randlee/hermes-agent
that referenced
this pull request
Aug 11, 2026
The sidebar's flat session list lost its `x/<total>` chip in NousResearch#72336, but the project drill-in kept counting: WorkspaceHeader still rendered a SidebarCount for every repo and every branch/worktree lane. Entering a project put a number next to each label again. Remove the header's count slot and both call sites, along with the now dead repo total.
randlee
pushed a commit
to randlee/hermes-agent
that referenced
this pull request
Aug 11, 2026
NousResearch#72336 removed the count from the flat list and NousResearch#72912 from the entered project, but three sites still tallied rows: search results, each messaging group (Telegram, Discord, …), and cron jobs. With them gone SidebarCount never renders a count — its one caller is the projects-loading spinner — so rename it SidebarSectionMeta.
33hodl
pushed a commit
to 33hodl/hermes-agent
that referenced
this pull request
Aug 12, 2026
The sidebar's flat session list lost its `x/<total>` chip in NousResearch#72336, but the project drill-in kept counting: WorkspaceHeader still rendered a SidebarCount for every repo and every branch/worktree lane. Entering a project put a number next to each label again. Remove the header's count slot and both call sites, along with the now dead repo total.
33hodl
pushed a commit
to 33hodl/hermes-agent
that referenced
this pull request
Aug 12, 2026
NousResearch#72336 removed the count from the flat list and NousResearch#72912 from the entered project, but three sites still tallied rows: search results, each messaging group (Telegram, Discord, …), and cron jobs. With them gone SidebarCount never renders a count — its one caller is the projects-loading spinner — so rename it SidebarSectionMeta.
prmartinow
pushed a commit
to prmartinow/hermes-agent
that referenced
this pull request
Aug 26, 2026
…prefs Quieter status bar and sidebar counts
prmartinow
pushed a commit
to prmartinow/hermes-agent
that referenced
this pull request
Aug 26, 2026
The sidebar's flat session list lost its `x/<total>` chip in NousResearch#72336, but the project drill-in kept counting: WorkspaceHeader still rendered a SidebarCount for every repo and every branch/worktree lane. Entering a project put a number next to each label again. Remove the header's count slot and both call sites, along with the now dead repo total.
prmartinow
pushed a commit
to prmartinow/hermes-agent
that referenced
this pull request
Aug 26, 2026
NousResearch#72336 removed the count from the flat list and NousResearch#72912 from the entered project, but three sites still tallied rows: search results, each messaging group (Telegram, Discord, …), and cron jobs. With them gone SidebarCount never renders a count — its one caller is the projects-loading spinner — so rename it SidebarSectionMeta.
melon-xf
added a commit
to melon-xf/hermes-agent
that referenced
this pull request
Sep 3, 2026
…prefs Quieter status bar and sidebar counts
melon-xf
added a commit
to melon-xf/hermes-agent
that referenced
this pull request
Sep 3, 2026
The sidebar's flat session list lost its `x/<total>` chip in NousResearch#72336, but the project drill-in kept counting: WorkspaceHeader still rendered a SidebarCount for every repo and every branch/worktree lane. Entering a project put a number next to each label again. Remove the header's count slot and both call sites, along with the now dead repo total.
melon-xf
added a commit
to melon-xf/hermes-agent
that referenced
this pull request
Sep 3, 2026
NousResearch#72336 removed the count from the flat list and NousResearch#72912 from the entered project, but three sites still tallied rows: search results, each messaging group (Telegram, Discord, …), and cron jobs. With them gone SidebarCount never renders a count — its one caller is the projects-loading spinner — so rename it SidebarSectionMeta.
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.
Two changes to what the desktop chrome shows by default, both aimed at surfaces that were reporting numbers and controls nobody asked for.
Sidebar counts
Sections and workspace lanes labelled themselves
loaded/total, which reads as a progress bar people expect to fill up rather than a count of loaded rows. Pricing that label cost aCOUNT(*)per profile database on every sidebar refresh, purely so the numerator and denominator could differ.Pagination only needs to know whether another page exists, and that falls out of the rows the query already returned: a window that comes back full means more remain on disk. Sections now show the loaded count alone, and the backend reports per-profile
profiles_truncatedflags in place oftotal/profile_totals. "Load more" behaves the same; the per-refresh counting is gone.Status bar
The bar shipped every affordance it had, so approvals, the terminal toggle, agents, cron and webhooks sat there permanently for users who never touched them. Those five now start hidden, and right-clicking the bar opens a menu to turn them back on. The choice persists per install.
Items opt into the menu by naming themselves with
toggleLabel, so a plugin contribution that doesn't opt in always shows. The system icon and the version/update pills are listed but locked on — hiding the way back into settings would strand the user, and update state isn't a preference. Preferences store the hidden set rather than the visible one, so an item added to the bar in a later version appears for existing users instead of staying silently off.Covered by
statusbar-visibility.test.tsx: defaults, toggling through the menu, the locked items, and pass-through for items that never opted in.