Polish workflow trigger labels

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
Taylor Ho
2026-08-13 23:46:52 -07:00
parent b6df66007a
commit d52292870e
3 changed files with 3 additions and 3 deletions
@@ -285,7 +285,7 @@ export function WorkflowDialog({
) : null}
</div>
) : mode === "edit" && selectedChannel ? (
<div className="px-3 py-2">
<div className="px-3 py-2 text-center">
<p className="text-lg font-semibold text-foreground">
{selectedChannel.name}
</p>
@@ -52,7 +52,7 @@ test("describes selected trigger conditions on the workflow canvas", () => {
on: "message_posted",
filter: "str_len(trigger_text) > 0",
}),
"Text message posted",
"Messaged posted with text",
);
assert.equal(
@@ -50,7 +50,7 @@ function textConditionDescription(
return `${eventPhrase} is not ${value}`;
case "is_not_empty":
return eventPhrase === "Message posted"
? "Text message posted"
? "Messaged posted with text"
: `${eventPhrase} containing text`;
case "is_empty":
return `${eventPhrase} without text`;