Repository navigation
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #1101.
The run header clips its original input to one line without a way to read the rest. Keep the compact preview and add a native disclosure for the complete, escaped input. The expanded text preserves line breaks, wraps long values, and supports keyboard scrolling within a bounded region. Empty input retains the existing fallback.
Retain the disclosure node, reading position, and keyboard focus when live output or artifact changes rebuild the same run detail. Switching runs or changing input creates a fresh disclosure. This follows the existing frame-preservation pattern in the renderer.
Validation:
node --check web/app/runs.jsandnode --test webtest/tests/run-input.test.mjs webtest/tests/runs-detail.test.mjs webtest/tests/runs-actions.test.mjs— 15 tests passed, 0 failed/skipped. Covers short, long, multiline, escaped, and empty input, plus live-output rebuilds retaining expanded state/scroll/focus and switching runs resetting the control.renderRunDetailDOM and repository stylesheets in a component fixture, at 1440px and 390px in light/dark themes. All four cases passed Enter-to-expand, complete original text, preserved line breaks, keyboard End scrolling, mouse collapse, and no horizontal overflow. No console/page errors.py -X utf8 scripts/check-public.pyandgit diff --checkpassed. Independent review reran the three new input tests successfully.Browser plugin not available; used existing Playwright/Edge without new dependencies. The browser fixture isolates run detail from navigation-frame handlers. Live SOP execution, full browser acceptance, and Go tests were not run; API/runtime behavior is unchanged.