Skip to content

fix(ssh): align parent directory row layout - #2876

Merged
bobleer merged 1 commit into
GCWing:mainfrom
guantw:fix/remote-parent-directory-layout
Sep 7, 2026
Merged

fix(ssh): align parent directory row layout#2876
bobleer merged 1 commit into
GCWing:mainfrom
guantw:fix/remote-parent-directory-layout

Conversation

@guantw

@guantw guantw commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix the cramped icon and .. label in the remote workspace directory picker by reusing the existing name-cell layout and typography.

Type and Areas

Type: Bug fix / UI/UX

Areas: Web UI, SSH remote file browser

Motivation / Impact

The parent-directory row omitted the flex wrapper and name styling used by ordinary directory entries, leaving its icon and label without the intended spacing and vertical alignment. Apply those shared styles while preserving the smaller navigation icon, spanning cell, and existing parent-directory navigation behavior.

Verification

  • pnpm run type-check:web — passed after rebasing onto the latest main.
  • pnpm run check:web:appearance — passed after refreshing the local design-system build outputs.
  • git diff --check origin/main...HEAD — passed.

Reviewer Notes

Only RemoteFileBrowser.tsx changes. No path handling, SSH operations, persistence, or user-facing strings change.

Verification is local and static. Live remote workspace, remote control, Peer Device Mode, and Detached Dispatch scenarios were not exercised. The development application was not launched.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable (no changes required).

Reuse the remote file browser name-cell layout and typography for the parent-directory entry so its icon and label have consistent spacing and vertical alignment. Preserve the smaller navigation icon, spanning cell, and parent navigation behavior.
@bobleer
bobleer merged commit c8ec1ff into GCWing:main Sep 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants