Skip to content

feat(FR-2987): VFolder identicon in revision detail; drop image ID from history#7618

Merged
graphite-app[bot] merged 1 commit into
mainfrom
worktree-revision-folder-identicon
May 28, 2026
Merged

feat(FR-2987): VFolder identicon in revision detail; drop image ID from history#7618
graphite-app[bot] merged 1 commit into
mainfrom
worktree-revision-folder-identicon

Conversation

@yomybaby
Copy link
Copy Markdown
Member

Resolves #7617 (FR-2987)

Summary

  • Replace the generic FolderOutlined icon next to the Model Folder link in DeploymentRevisionDetail with VFolderNodeIdenticon. This affects both the Current Revision card and the Revision Detail Drawer (they share the same component) and applies to Additional Mounts entries as well. The folder name remains a FolderLink that opens the folder explorer when clicked.
  • In DeploymentRevisionHistoryTab, drop the trailing (<BAIId globalId={imageV2.id} />) from the Image column — only the canonical image name is shown now. The id had no user-facing value next to the canonical name.

Test plan

  • On http://10.122.10.107:8090, open a deployment that has a current revision: the Model Folder row shows the VFolder identicon next to the folder name, and clicking the name opens the folder explorer.
  • Open the Revision History tab → click a row → the drawer's Model Folder row also shows the identicon; Additional Mounts entries show the identicon next to each mounted folder name.
  • Enable the (default-hidden) Image column in Revision History → only the canonical image name is shown, no (uuid) suffix.
  • bash scripts/verify.sh — Relay/Lint/Format pass; TypeScript phantom worktree errors only (no errors in the touched files).

@github-actions github-actions Bot added the size:L 100~500 LoC label May 27, 2026
@yomybaby yomybaby marked this pull request as ready for review May 27, 2026 11:36
Copilot AI review requested due to automatic review settings May 27, 2026 11:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions github-actions Bot added size:XL 500~ LoC and removed size:L 100~500 LoC labels May 27, 2026
Copy link
Copy Markdown
Member Author

yomybaby commented May 27, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 28, 2026

Coverage Report for react-coverage (./react)

Status Category Percentage Covered / Total
🔵 Lines 6.52% 1800 / 27576
🔵 Statements 5.35% 1995 / 37283
🔵 Functions 5.27% 297 / 5632
🔵 Branches 3.73% 1300 / 34822
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
react/src/components/DeploymentRevisionDetail.tsx 0% 0% 0% 0% 29-362
react/src/components/DeploymentRevisionHistoryTab.tsx 0% 0% 0% 0% 65-667
react/src/components/FolderLink.tsx 0% 0% 0% 0% 35-71
react/src/components/MountedVFolderLinks.tsx 0% 0% 0% 0% 19-113
Generated in workflow #1158 for commit bdb95cd by the Vitest Coverage Report Action

@yomybaby yomybaby removed the request for review from ironAiken2 May 28, 2026 04:27
Comment thread react/src/components/FolderLink.tsx
Copy link
Copy Markdown
Contributor

@agatha197 agatha197 left a comment

Choose a reason for hiding this comment

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

LGTM

@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented May 28, 2026

Merge activity

…om history (#7618)

Resolves #7617 (FR-2987)

## Summary
- Replace the generic `FolderOutlined` icon next to the Model Folder link in `DeploymentRevisionDetail` with `VFolderNodeIdenticon`. This affects both the Current Revision card and the Revision Detail Drawer (they share the same component) and applies to Additional Mounts entries as well. The folder name remains a `FolderLink` that opens the folder explorer when clicked.
- In `DeploymentRevisionHistoryTab`, drop the trailing `(<BAIId globalId={imageV2.id} />)` from the Image column — only the canonical image name is shown now. The id had no user-facing value next to the canonical name.

## Test plan
- [ ] On `http://10.122.10.107:8090`, open a deployment that has a current revision: the Model Folder row shows the VFolder identicon next to the folder name, and clicking the name opens the folder explorer.
- [ ] Open the Revision History tab → click a row → the drawer's Model Folder row also shows the identicon; Additional Mounts entries show the identicon next to each mounted folder name.
- [ ] Enable the (default-hidden) Image column in Revision History → only the canonical image name is shown, no `(uuid)` suffix.
- [ ] `bash scripts/verify.sh` — Relay/Lint/Format pass; TypeScript phantom worktree errors only (no errors in the touched files).
@graphite-app graphite-app Bot force-pushed the worktree-revision-folder-identicon branch from 20de2f7 to bdb95cd Compare May 28, 2026 05:44
graphite-app Bot pushed a commit that referenced this pull request May 28, 2026
…7622)

Resolves #7621 (FR-2989)

Stacked on #7618

## Summary

In the deployment revision views, the image identifier was rendered as only `canonicalName` (`registry/namespace:tag`), omitting the architecture suffix. When multiple architectures (e.g. `x86_64`, `aarch64`) coexist for the same canonical name, it was ambiguous which image variant a revision is pinned to.

This PR renders the full image path `canonicalName@architecture` instead, matching the convention used elsewhere in the app (e.g. `ImageNodeSimpleTag`, `ServiceLauncherPageContent`).

- `DeploymentRevisionDetail` (Current Revision card and Revision Detail Drawer): Image row shows `canonicalName@architecture`.
- `DeploymentRevisionHistoryTab`: the (default-hidden) Image column renders the same full path.
- Both queries/fragments add `architecture` to `imageV2.identity`.

## Test plan

- [ ] On `http://10.122.10.107:8090`, open a deployment with a current revision: the Image row shows `registry/namespace:tag@architecture`.
- [ ] Open the Revision History tab → click a row → the drawer's Image row shows the same full path.
- [ ] Enable the (default-hidden) Image column in Revision History → values include the `@architecture` suffix.
- [ ] `bash scripts/verify.sh` — Relay/Lint/Format pass; TypeScript phantom worktree errors only (no errors in touched files).
@graphite-app graphite-app Bot merged commit bdb95cd into main May 28, 2026
13 checks passed
@graphite-app graphite-app Bot deleted the worktree-revision-folder-identicon branch May 28, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL 500~ LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add VFolder identicon and link in deployment revision detail; remove image ID from history column

3 participants