From 5ce0a88de019e8d9fc3f46e766dda9eb0c8b0d8a Mon Sep 17 00:00:00 2001 From: librelad Date: Fri, 22 May 2026 11:56:16 +0100 Subject: [PATCH] style(cli): rebrand message markers with glyphs + portal chevron MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the ALLCAPS "SUCCESS:/NOTICE:/ERROR:/QUESTION:/OPTION:" prefixes with distinct per-status glyphs and calmer title-case words: ✓ Success ! Notice ✗ Error ❯ Question ❯ Option The portal chevron ❯ marks the interactive prompts. Distinct glyph + word stays readable with no colour and greppable in logs. Display-only; nothing parses these prefixes. Co-Authored-By: Claude Opus 4.7 Signed-off-by: librelad --- scripts/menu/message/markers.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/scripts/menu/message/markers.sh b/scripts/menu/message/markers.sh index 191f863..dde8687 100755 --- a/scripts/menu/message/markers.sh +++ b/scripts/menu/message/markers.sh @@ -2,44 +2,45 @@ function isSuccessful() { - echo -e "${GREEN}SUCCESS:${NC} $1" + echo -e "${GREEN}✓ Success${NC} $1" } function isError() { - echo -e "${RED}ERROR:${NC} $1" + echo -e "${RED}✗ Error${NC} $1" } function isFatalError() { - echo -e "${RED}ERROR:${NC} $1" + echo -e "${RED}✗ Error${NC} $1" } function isFatalErrorExit() { - echo -e "${RED}ERROR:${NC} $1" + echo -e "${RED}✗ Error${NC} $1" echo "" exit 1 } function isNotice() { - echo -e "${YELLOW}NOTICE:${NC} $1" + echo -e "${YELLOW}! Notice${NC} $1" } +# Interactive markers use the portal chevron ❯ — the moments you "step through". function isQuestion() { - echo -e -n "${BLUE}QUESTION:${NC} $1 " + echo -e -n "${BLUE}❯ Question${NC} $1 " } function isOptionMenu() { - echo -e -n "${PINK}OPTION:${NC} $1" + echo -e -n "${PINK}❯ Option${NC} $1" } function isOption() { - echo -e "${PINK}OPTION:${NC} $1" + echo -e "${PINK}❯ Option${NC} $1" } function isHeader()