Readable command output: ANSI stripped, Copy / Wrap / Expand / .txt (#27)
CI / Lint (eslint) (pull_request) Successful in 20s
CI / Test (jest) (pull_request) Successful in 21s
CI / Security (npm audit) (pull_request) Successful in 15s
CI / Integration (api) (pull_request) Successful in 2m43s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m44s
CI / UI (playwright) (pull_request) Successful in 2m35s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 1m54s
CI / Lint (eslint) (pull_request) Successful in 20s
CI / Test (jest) (pull_request) Successful in 21s
CI / Security (npm audit) (pull_request) Successful in 15s
CI / Integration (api) (pull_request) Successful in 2m43s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m44s
CI / UI (playwright) (pull_request) Successful in 2m35s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 1m54s
A shared output block (Pulse.output.render) now draws every command output in Executions and Quick Command: - ANSI escape codes (colours, cursor moves, titles, charset switches) are stripped, so systemctl, ls --color and docker read cleanly. - Copy and .txt use the full, clean text; .txt downloads it as a file. - Wrap turns long-line wrapping on or off for every block, remembered. - Output over 25 lines starts at 24rem high with an Expand button. - Over 100,000 characters, the display is cut with a notice saying how much is hidden; Copy and .txt still include all of it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
64703482fd
commit
ecc1b447be
6 files changed
+162
-22
No files matched your search
@@ -187,3 +187,36 @@ html[data-theme="light"] .pulse-running {
|
||||
.lt-form-group { display: flex }, or hidden sections still show (both
|
||||
Quick Command worker pickers were visible in either mode). */
|
||||
[hidden] { display: none !important; }
|
||||
|
||||
/* Command output blocks (#27): toolbar above a wrapping, collapsible <pre>. */
|
||||
.pl-out { margin-top: 0.4rem; min-width: 0; }
|
||||
.pl-out-bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
.pl-out-label {
|
||||
margin-right: auto;
|
||||
font-size: 0.65rem;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.pl-out-btn { padding: 0.1rem 0.5rem; font-size: 0.62rem; }
|
||||
.pl-out-pre {
|
||||
margin: 0.3rem 0 0;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
overflow: auto;
|
||||
}
|
||||
.pl-out-pre.is-nowrap { white-space: pre; overflow-wrap: normal; }
|
||||
.pl-out-pre.is-tall { max-height: 24rem; }
|
||||
.pl-out-pre.is-tall.is-expanded { max-height: none; }
|
||||
.pl-out-err {
|
||||
color: var(--accent-red);
|
||||
border-left-color: var(--accent-red);
|
||||
text-shadow: none;
|
||||
}
|
||||
.pl-out-note { margin-top: 0.3rem; font-size: 0.7rem; color: var(--text-muted); }
|
||||
Reference in new issue
Block a user