refactor(ui): replace middle-dot separators with clearer hierarchy (#6087)

* refactor(ui): replace middle-dot separators with clearer hierarchy

* refactor(ui): use layout instead of punctuation separators
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-07 15:19:55 +08:00
1 parent d6ddceed99
commit 7cb396788c
82 files changed
+433 -462

No files matched your search

+1 -1
View File
@@ -690,7 +690,7 @@ describe("MessageBubble", () => {
const timestamp = document.querySelector("[data-message-timestamp]")!;
const automation = document.querySelector("[data-automation-trigger]")!;
expect(timestamp).toHaveTextContent(formatMessageEndTime(completedAt));
expect(automation).toHaveTextContent("Triggered automatically · drink water");
expect(automation).toHaveTextContent("Triggered automatically drink water");
expect(timestamp.compareDocumentPosition(automation) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
});