From fb36af1542306e015da33927d9d4307e68c65209 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Tue, 7 Jan 2025 09:49:14 +0100 Subject: [PATCH] Display a screen emoji in documentation flows table when they are not tied to an Object (#975) --- CHANGELOG.md | 2 ++ src/commands/hardis/doc/project2markdown.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f54b120c..482562991 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta` +- [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) Display a screen emoji in documentation flows table when they are not tied to an Object + ## [5.13.0] 2025-01-05 - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) Add branch & orgs strategy MermaidJS diagram in documentation diff --git a/src/commands/hardis/doc/project2markdown.ts b/src/commands/hardis/doc/project2markdown.ts index ff8285168..93c05108c 100644 --- a/src/commands/hardis/doc/project2markdown.ts +++ b/src/commands/hardis/doc/project2markdown.ts @@ -354,7 +354,7 @@ ${Project2Markdown.htmlInstructions} `[${flow.name}](${prefix}${flow.name}.md) [🕒](${prefix}${flow.name}-history.md)` : `[${flow.name}](${prefix}${flow.name}.md)`; lines.push(...[ - `| ${flow.object} | ${flowNameCell} | ${flow.type} | ${flow.description.replace(/\n/gm, "
".replace(/\|/gm, ""))} |` + `| ${flow.object || "💻"} | ${flowNameCell} | ${flow.type} | ${flow.description.replace(/\n/gm, "
".replace(/\|/gm, ""))} |` ]); } lines.push("");