@stevecastaneda/paseo-progress 1.12.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/client/preview.tsx +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,6 +145,10 @@ The progress file, `progress.jsonl`, holds one JSON event per line, each with a
|
|
|
145
145
|
|
|
146
146
|
## Changelog
|
|
147
147
|
|
|
148
|
+
### 1.12.1
|
|
149
|
+
|
|
150
|
+
- [Fixed] **Long files fill the preview on a phone.** In Paseo's web app at phone width, a long file opened from a list of several files filled only the top half of the sheet, and the bottom half stayed empty. The file now fills the sheet down to its path and buttons.
|
|
151
|
+
|
|
148
152
|
### 1.12.0
|
|
149
153
|
|
|
150
154
|
- [Improved] **Markdown deliverables show formatted.** A `.md` or `.markdown` file now opens in the preview with its headings, lists, tables, code blocks and images drawn by Paseo's own Markdown view. An image with a relative path loads from the file's own folder. A link to another file in the worktree opens that file in Paseo, except on a phone, where Paseo doesn't open file links from a plugin's dialog. MDX files still show as plain text, because Paseo would hide their components.
|
package/client/preview.tsx
CHANGED
|
@@ -362,9 +362,11 @@ function FullScreenImage({ title, uri, naturalWidth, ratio, dimmed, onExit }: {
|
|
|
362
362
|
);
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
//
|
|
365
|
+
// Without preventScroll, focusing a button in a phone sheet that's still sliding
|
|
366
|
+
// up scrolls the sheet's frame, so the sheet sits at the top of the screen with
|
|
367
|
+
// its content laid out for where it stopped.
|
|
366
368
|
function focus(ref: React.RefObject<unknown>) {
|
|
367
|
-
(ref.current as { focus?(): void } | null)?.focus?.();
|
|
369
|
+
(ref.current as { focus?(options: { preventScroll: boolean }): void } | null)?.focus?.({ preventScroll: true });
|
|
368
370
|
}
|
|
369
371
|
|
|
370
372
|
// Paseo draws dialogs as bottom sheets below this window width.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stevecastaneda/paseo-progress",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "A live progress dashboard per worktree for Paseo, drawn from a file agents write with the paseo-progress command.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Steve Castaneda",
|