Skip to content

feat(desktop): add workspace path status action - #59241

Closed
Supersynergy wants to merge 1 commit into
NousResearch:mainfrom
Supersynergy:feat/workspace-path-status-action
Closed

feat(desktop): add workspace path status action#59241
Supersynergy wants to merge 1 commit into
NousResearch:mainfrom
Supersynergy:feat/workspace-path-status-action

Conversation

@Supersynergy

Copy link
Copy Markdown
Contributor

Summary

Adds a workspace path item to the desktop status bar with quick path actions.

Why

The current working directory is one of the most important pieces of context in an agentic coding session. If users have to manually infer the folder, copy a path from text, switch to Finder, or hunt through the tree, a simple orientation task becomes a repeated context switch.

This makes the active workspace a visible, actionable object.

Changes

  • Shows the active workspace folder name in the left status bar when a cwd is attached.
  • Adds a menu with:
    • Copy workspace path
    • Reveal workspace in the system file manager
    • Reveal workspace in the Hermes file tree
  • Reuses existing file actions and file-menu translations.
  • Keeps the item hidden when no workspace cwd is attached.

Validation

  • cd apps/desktop && npm run typecheck
  • cd apps/desktop && npx eslint src/app/shell/hooks/use-statusbar-items.tsx

@alt-glitch alt-glitch added type/feature New feature or request comp/desktop Electron desktop app (apps/desktop/*) P3 Low — cosmetic, nice to have labels Jul 5, 2026
OutThisLife
OutThisLife previously approved these changes Jul 12, 2026

@OutThisLife OutThisLife left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve. Clean, well-scoped, and idiomatic.

Surfaces the active session cwd as a status-bar item (hidden when no cwd) with copy / reveal-in-file-manager / reveal-in-tree — reusing the existing copyFilePath / revealFile / revealFileInTree actions and the fileMenu i18n keys rather than adding new plumbing. This is exactly the kind of complementary status panel that's fine around the embedded TUI/composer — it's an orientation affordance, not a second chat surface. The workspaceLabel leaf helper and the added useMemo deps are correct.

Verified on a clean cherry-pick onto current main:

  • merges clean
  • tsc (app + electron) clean
  • eslint on the changed file clean

Only nit (non-blocking): no unit test, but it's a 50-line presentational item over already-tested actions. Thanks @Supersynergy.

@OutThisLife
OutThisLife dismissed their stale review July 12, 2026 08:54

Dismissing my approval — reworking as a superseding PR: drop the per-item icons from the dropdown and align it to the exact menu primitives/typography the other status-bar menus use.

@OutThisLife

Copy link
Copy Markdown
Collaborator

Superseded by #63086.

Your commit is preserved there intact — I only aligned the dropdown with the rest of the status bar: dropped the per-item icons (they mixed a lucide size-4 glyph with a Codicon 1rem one, and this was the only status-bar menu carrying item icons), so it's now text-only on the shared DropdownMenuItem primitive with default typography. The trigger keeps its folder glyph. Nice addition — thanks @Supersynergy.

@OutThisLife

Copy link
Copy Markdown
Collaborator

Closing in favor of #63086 (text-only dropdown aligned to the shared status-bar menu primitives; your commit preserved).

OutThisLife added a commit that referenced this pull request Jul 12, 2026
…e-status

feat(desktop): add workspace path status action (supersedes #59241)
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
…241-workspace-status

feat(desktop): add workspace path status action (supersedes NousResearch#59241)
shelizi pushed a commit to shelizi/hermes-agent that referenced this pull request Jul 14, 2026
…241-workspace-status

feat(desktop): add workspace path status action (supersedes NousResearch#59241)
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
…241-workspace-status

feat(desktop): add workspace path status action (supersedes NousResearch#59241)
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
…241-workspace-status

feat(desktop): add workspace path status action (supersedes NousResearch#59241)
randlee pushed a commit to randlee/hermes-agent that referenced this pull request Aug 11, 2026
…241-workspace-status

feat(desktop): add workspace path status action (supersedes NousResearch#59241)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/desktop Electron desktop app (apps/desktop/*) P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants