@cartanova/qgrid-cli 2.6.4 → 2.6.5

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.
@@ -55,9 +55,16 @@ export async function notifySlack(notification: SlackNotification): Promise<void
55
55
  },
56
56
  body: JSON.stringify({
57
57
  channel,
58
- // 알림 미리보기·접근성용 대체 텍스트. blocks 만 보내면 푸시 알림이 빈칸으로 뜬다.
59
- text: subject ? `${title} — ${subject}` : title,
60
- attachments: [{ ...(color ? { color } : {}), blocks }],
58
+ // fallback 은 attachment 안에 둔다. 최상위 text 로 보내면 blocks 가 정상 렌더되는
59
+ // 화면에서도 함께 출력돼 제목이 두 번 보인다. attachment fallback 은 blocks 를
60
+ // 못 그리는 클라이언트와 푸시 알림에서만 쓰인다.
61
+ attachments: [
62
+ {
63
+ fallback: subject ? `${title} — ${subject}` : title,
64
+ ...(color ? { color } : {}),
65
+ blocks,
66
+ },
67
+ ],
61
68
  }),
62
69
  signal: AbortSignal.timeout(SLACK_TIMEOUT_MS),
63
70
  });