@stevecastaneda/paseo-progress 1.14.1 → 1.14.2
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/questions.tsx +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -178,6 +178,10 @@ The progress file, `progress.jsonl`, holds one JSON event per line, each with a
|
|
|
178
178
|
|
|
179
179
|
## Changelog
|
|
180
180
|
|
|
181
|
+
### 1.14.2
|
|
182
|
+
|
|
183
|
+
- [Fixed] **Links in a question open, and its text can be selected.** A web address in a question or in its background used to show as plain text, so you couldn't click it, and the question itself couldn't be selected or copied. The question dialog now draws the question and its background with Paseo's own Markdown view, so an address is a link and the question's text can be selected and copied. The text on an option, and what choosing it leads to, can be selected too. Because the text is read as Markdown now, characters like `*` and `_` format it, a line starting with `#` or `-` becomes a heading or a list, and the background takes Paseo's body size and color instead of the small, muted style it had.
|
|
184
|
+
|
|
181
185
|
### 1.14.1
|
|
182
186
|
|
|
183
187
|
- [Fixed] **Run history stays in its folder.** This fixes a security issue in saving run history. Progress now saves a run only when the dashboard can read the line that started it, and only into a folder inside the repo and outside `.git`.
|
package/client/questions.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PluginWorkspacePanelProps } from "@getpaseo/plugin/client";
|
|
2
|
-
import { copyText, Icon, useToast } from "@getpaseo/plugin/client/ui";
|
|
2
|
+
import { copyText, Icon, Markdown, useToast } from "@getpaseo/plugin/client/ui";
|
|
3
3
|
import React, { useState } from "react";
|
|
4
4
|
import { Text, View } from "react-native";
|
|
5
5
|
import type { Question } from "../shared/dashboard";
|
|
@@ -182,7 +182,7 @@ export function QuestionView({ colors, question, now, onCopy, onOpenAttachment,
|
|
|
182
182
|
return (
|
|
183
183
|
<View style={{ gap: 10 }}>
|
|
184
184
|
<View style={{ gap: 2 }}>
|
|
185
|
-
<
|
|
185
|
+
<Markdown>{question.question}</Markdown>
|
|
186
186
|
{!question.answer ? <QuestionState colors={colors} question={question} /> : null}
|
|
187
187
|
</View>
|
|
188
188
|
{question.answer ? <AnswerSummary colors={colors} question={question} now={now} /> : null}
|
|
@@ -236,12 +236,12 @@ export function QuestionDetail({ colors, question, now, onCopy, onOpenAttachment
|
|
|
236
236
|
<View key={option.letter} style={{ flexDirection: "row", alignItems: "flex-start", gap: 8, padding: 8, borderRadius: 12, borderWidth: 1, borderColor }}>
|
|
237
237
|
<Text style={{ color: colors.foreground, fontSize: 13, lineHeight: 18, fontWeight: "600", width: 14 }}>{option.letter}</Text>
|
|
238
238
|
<View style={{ flex: 1, gap: 2 }}>
|
|
239
|
-
<Text style={{ color: colors.foreground, fontSize: 13, lineHeight: 18 }}>
|
|
239
|
+
<Text selectable style={{ color: colors.foreground, fontSize: 13, lineHeight: 18 }}>
|
|
240
240
|
{option.label}
|
|
241
241
|
{chosen ? <Text style={{ color: colors.statusSuccess }}>{" " + m.yourAnswer}</Text> : null}
|
|
242
242
|
{recommended ? <Text style={{ color: settled ? colors.foregroundMuted : colors.accent }}>{" " + m.recommended}</Text> : null}
|
|
243
243
|
</Text>
|
|
244
|
-
{option.consequence ? <Text style={{ color: colors.foregroundMuted, fontSize: 12, lineHeight: 17 }}>{option.consequence}</Text> : null}
|
|
244
|
+
{option.consequence ? <Text selectable style={{ color: colors.foregroundMuted, fontSize: 12, lineHeight: 17 }}>{option.consequence}</Text> : null}
|
|
245
245
|
</View>
|
|
246
246
|
{!question.answer ? (
|
|
247
247
|
<PressScale accessibilityRole="button" accessibilityLabel={m.copyChoiceForAgent(question.id, option.letter)}
|
|
@@ -255,7 +255,7 @@ export function QuestionDetail({ colors, question, now, onCopy, onOpenAttachment
|
|
|
255
255
|
);
|
|
256
256
|
})}
|
|
257
257
|
{question.background ? (
|
|
258
|
-
<
|
|
258
|
+
<Markdown>{question.background}</Markdown>
|
|
259
259
|
) : null}
|
|
260
260
|
<AttachmentList colors={colors} attachments={questionAttachments(question)} onOpen={onOpenAttachment} />
|
|
261
261
|
<Text style={{ color: colors.foregroundMuted, fontSize: 11, lineHeight: 16 }}>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stevecastaneda/paseo-progress",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "A live progress dashboard per worktree for Paseo, drawn from a file agents write with the Progress tools or the paseo-progress command.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Steve Castaneda",
|