You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Introduce the Workbench rail layout for Artifacts - #50481
Introduce the Workbench rail layout for Artifacts.
Files
Added
Deleted
Net
Test
0
0
0
0
Prod
29
$\color{#1a7f37}{\Huge{\mathbf{+}}}$1365
$\color{#cf222e}{\Huge{\mathbf{−}}}$167
$\color{#1a7f37}{\Huge{\mathbf{+}}}$1198
What Changed
Artifacts uses the shared rail header, toolbar and list gutters. The existing source type determines each row’s leading icon. The header only displays a total after a successful load for the current account.
Why
The four rail pages share a layout so the same kind of control stays in the same place. This is part 1 of five. The layout was checked against comparable products.
Visual Proof
The screenshots use an isolated profile and invented data.
Testing
Bounded local preflight, including lint and typecheck.
Mod+F reaches page Search from a focused rail control. Existing editor, terminal, dialog and text-entry shortcuts keep their context.
Hidden Electron interactions with isolated fixtures at 1280px and 560px in light and dark themes.
Provider and remote selection cases use seeded fixtures.
Performance
The stack was measured with 20 trials per build for each first-open and page-switch route. Times are median / p95 in milliseconds. The frame measure uses the second animation frame.
Route
DOM before
DOM after
Frame before
Frame after
Tasks first open
384.45 / 473.00
399.15 / 490.90
404.20 / 503.60
424.25 / 531.30
Automations first open
326.85 / 346.50
325.20 / 341.10
385.15 / 431.10
375.00 / 433.40
Artifacts first open
321.20 / 334.50
318.30 / 327.70
337.50 / 367.80
336.10 / 342.50
Skills first open
323.10 / 337.60
318.40 / 328.10
344.85 / 379.40
339.75 / 364.30
Tasks → Automations
24.75 / 36.40
22.45 / 35.20
34.35 / 42.70
39.05 / 47.20
Tasks → Artifacts
25.75 / 40.40
22.00 / 38.10
29.25 / 44.40
27.70 / 42.40
Tasks → Skills
29.35 / 42.10
27.10 / 38.20
36.15 / 47.00
36.35 / 48.00
Automations → Tasks
66.80 / 85.10
65.90 / 92.50
109.55 / 161.70
118.85 / 164.90
Automations → Artifacts
19.40 / 25.90
15.40 / 25.10
26.15 / 38.30
27.55 / 37.20
Automations → Skills
26.55 / 35.10
16.40 / 24.10
31.40 / 42.20
24.25 / 34.70
Artifacts → Tasks
58.70 / 80.90
55.80 / 88.90
95.60 / 145.30
95.75 / 157.00
Artifacts → Automations
19.60 / 28.00
15.25 / 22.30
28.20 / 47.60
29.10 / 47.50
Artifacts → Skills
22.05 / 32.40
14.15 / 21.80
26.60 / 38.90
28.30 / 31.60
Skills → Tasks
60.70 / 90.60
54.40 / 85.40
87.35 / 149.10
74.35 / 150.60
Skills → Automations
21.35 / 28.00
18.05 / 29.30
28.10 / 47.60
29.25 / 56.30
Skills → Artifacts
18.55 / 23.30
14.40 / 23.10
25.75 / 30.30
26.45 / 30.80
Focused retest
Before
After
Artifacts → Automations, warmed DOM
11.55 / 19.60
9.15 / 10.30
Tasks first open, alternated cold frame
364.95 / 550.30
371.40 / 514.80
The alternated retest reduced the median difference to 6.5 ms and improved p95 by 35.5 ms. The UX review accepted these results as within host variation.
Risk
Medium. Shared search focus and list layout affect rail navigation. A revert removes the shared layout and restores the previous Artifacts view.
…, Artifacts on it
One RailPage module (inset surface, 52px header band, 42px toolbar band,
notice band, non-scrolling body) with a container-query narrow mode and a
--rail-page-gutter that list rows, headers and sticky cells share.
page.search (Mod+F) is a registry action guarded to page focus.
Artifacts moves onto the template with its controls, Esc ladder and
autofocus unchanged.
Review was skipped as selected files did not have any reviewable changes.
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 0c212070-64a7-4492-b7e1-d56537eb1284
Commits
Reviewing files that changed from the base of the PR and between f74065d and f74065d.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
This change adds shared rail-page layout, header, toolbar, search, and control components. It adds a page.search keybinding with focus eligibility checks and responsive search behavior. The artifacts page adopts the shared layout and controls, displays counts only when the current page is loaded and complete, and passes error notices through its states. Artifact rows, loading skeletons, and table layout also receive updates.
Merge Risk: Minimal · up to f7406
This change moves Artifacts onto the shared rail-page layout and adds a page search shortcut. No concrete defects were found, and a revert would restore the previous view, so merge risk is minimal.
Pre-merge checks: 3 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description follows the template's section headings (ELI5, What Changed, Why, Visual Proof, Testing, Performance, Risk), and it covers the main change and the risk. However, it is missing or incom…
1. Add a Linked Issue section with an actual issue reference (for example, "Fixes #NNNN"). Outside contributors need this link or the PR may be ignored. 2. Expand the Why section to explain why a shared rail layout is better than the altern…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title "Introduce the Workbench rail layout for Artifacts" matches the main change. The diff adds shared rail-page components (RailPage, RailPageHeader, RailPageToolbar, RailPageSearch, RailPageScr…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Introduce the Workbench rail layout for Artifacts" matches the main change. The diff adds shared rail-page components (RailPage, RailPageHeader, RailPageToolbar, RailPageSearch, RailPageScroll) and applies them to ArtifactsPage and ArtifactCollection. It is specific and concise, with no file lists or vague terms. The title does not mention the search shortcut, row icons, or the header count, but those are secondary to the layout change.
Full details: Description check
Explanation
The description follows the template's section headings (ELI5, What Changed, Why, Visual Proof, Testing, Performance, Risk), and it covers the main change and the risk. However, it is missing or incomplete in several required places. The Linked Issue section is absent entirely, although the template says there should always be one for outside contributors and the author gives no issue reference. The Why section gives only a brief rationale and does not explain why this approach was chosen over alternatives. The Testing section does not say which platforms were tested (macOS, Linux, Windows, or SSH), and the template checklist items are not marked. The Review, Notes, and Checklist sections are absent, as is the Agent skill upstream boundary confirmation. The AI Disclosure section is also missing, and the template asks for it unless the author is a StablyAI team member. The Risk section has a level, but it does not name the riskiest part precisely or describe what users would see if it failed. The Performance section gives a table and a one-line reasoning but does not clearly state the trade-off. The Visual Proof section uses before and after images, which is acceptable. Overall the description is substantial, but the missing Linked Issue section and the missing platform and disclosure details keep it from being complete.
Resolution
Add a Linked Issue section with an actual issue reference (for example, "Fixes #NNNN"). Outside contributors need this link or the PR may be ignored. 2. Expand the Why section to explain why a shared rail layout is better than the alternatives that were considered. 3. In Testing, name the platforms that were actually tested (macOS, Linux, Windows, or SSH) and mark the template checklist items. 4. Add the AI Disclosure section, stating which AI model was used if any, or confirm the author is a StablyAI team member. 5. Add the Review section and the Agent skill upstream boundary checkbox. 6. Expand the Risk section to name the riskiest part (shared search focus handling for Mod+F and the shared list layout), state what users would see if it failed, and state the revert path precisely. 7. Add the Notes and Checklist sections from the template, or confirm each item. 8. In Performance, state the trade-off in one sentence, for example that the DOM and frame timings are within host variation.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
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
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.
ELI5
Introduce the Workbench rail layout for Artifacts.
What Changed
Artifacts uses the shared rail header, toolbar and list gutters. The existing source type determines each row’s leading icon. The header only displays a total after a successful load for the current account.
Why
The four rail pages share a layout so the same kind of control stays in the same place. This is part 1 of five. The layout was checked against comparable products.
Visual Proof
The screenshots use an isolated profile and invented data.
Testing
Performance
The stack was measured with 20 trials per build for each first-open and page-switch route. Times are median / p95 in milliseconds. The frame measure uses the second animation frame.
The alternated retest reduced the median difference to 6.5 ms and improved p95 by 35.5 ms. The UX review accepted these results as within host variation.
Risk
Medium. Shared search focus and list layout affect rail navigation. A revert removes the shared layout and restores the previous Artifacts view.