Skip to content

fix(ios): show GitHub vaults as owner/repo, not a container path#160

Merged
oratis merged 1 commit into
mainfrom
ux/github-vault-visual
Jun 14, 2026
Merged

fix(ios): show GitHub vaults as owner/repo, not a container path#160
oratis merged 1 commit into
mainfrom
ux/github-vault-visual

Conversation

@oratis

@oratis oratis commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Item 3/4 (iOS half) — make GitHub vaults legible in the UI.

Problem

A materialized GitHub vault lives at an opaque app-container path (…/GitHubVaults/owner/refslug/repo). That's what the file-list header and the vault switcher displayed — so you couldn't tell a GitHub vault from a local folder, and the path was unreadable.

Fix

  • VaultStore.githubSlugowner/repo (+ @ref for a non-default branch), built from the manifest sidecar; rootDisplayPath returns it for GitHub vaults.
  • StoredVault persists the slug (migration-safe decodeIfPresent) so the switcher shows it for remembered vaults too.
  • VaultSwitcherView: GitHub vaults get a code-branch icon + the repo slug as the title (no more cryptic path subtitle); local folders unchanged.

Verify

App simulator build ✓.

Desktop half + dedupe/clear-cache follow.

🤖 Generated with Claude Code

A materialized GitHub vault lives at an opaque app-container path
(.../GitHubVaults/owner/refslug/repo), which is what the file-list header and
the vault switcher showed — so you couldn't tell a GitHub vault from a local
folder, and the path was unreadable.

- VaultStore.githubSlug → "owner/repo" (+ "@ref" for a non-default branch),
  built from the manifest sidecar; rootDisplayPath returns it for GitHub vaults.
- StoredVault persists the slug (migration-safe decodeIfPresent) so the switcher
  shows it for remembered vaults too.
- VaultSwitcherView: GitHub vaults get a code-branch icon + the repo slug as the
  title (dropping the cryptic path subtitle); local folders unchanged.

app simulator build ✓.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@oratis oratis force-pushed the ux/github-vault-visual branch from e334940 to f3c6df8 Compare June 14, 2026 05:59
@oratis oratis merged commit 1638ea2 into main Jun 14, 2026
4 checks passed
@oratis oratis deleted the ux/github-vault-visual branch June 14, 2026 06:03
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.

1 participant