u-foo 3.0.26 → 3.0.28
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.
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/src/ui/format/index.js
CHANGED
|
@@ -835,7 +835,9 @@ function buildMergedToolExpandedLines(entries = []) {
|
|
|
835
835
|
: [];
|
|
836
836
|
const maxLength = 120;
|
|
837
837
|
return list.map((item) => {
|
|
838
|
-
const base = item.
|
|
838
|
+
const base = `${formatToolDisplayName(item.tool)}${item.detail ? ` ${item.detail}` : ""}`
|
|
839
|
+
.replace(/\s+/g, " ")
|
|
840
|
+
.trim();
|
|
839
841
|
let line;
|
|
840
842
|
if (!item.isError) {
|
|
841
843
|
line = base;
|
|
@@ -43,9 +43,13 @@ function createToolMergePublisher(publish) {
|
|
|
43
43
|
if (merge && merge.id) mergeId = Math.max(mergeId, Number(merge.id) + 1);
|
|
44
44
|
// Live collapsed summary while group grows.
|
|
45
45
|
if (merge) {
|
|
46
|
+
const detail = fmt.buildMergedToolExpandedLines(merge.entries).join("\n");
|
|
46
47
|
publish("tool.start", {
|
|
47
48
|
id: `tool-merge-${merge.id}`,
|
|
48
49
|
summary: fmt.buildUcodeToolRowText(merge.entries),
|
|
50
|
+
detail,
|
|
51
|
+
expanded_text: detail,
|
|
52
|
+
count: merge.entries.length,
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
55
|
}
|