Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(channel-reader): name the profile UI in the unresolved-sender notice

Jose Ramirezabea69563942
diff --git a/channel-reader/package-lock.json b/channel-reader/package-lock.json
index cf2d84021..274d0c9ac 100644
--- a/channel-reader/package-lock.json
+++ b/channel-reader/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-channel-reader",
- "version": "0.1.103",
+ "version": "0.1.104",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-channel-reader",
- "version": "0.1.103",
+ "version": "0.1.104",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@kubernetes/client-node": "^1.0.0",
diff --git a/channel-reader/package.json b/channel-reader/package.json
index 8aac34085..74f0bd3ea 100644
--- a/channel-reader/package.json
+++ b/channel-reader/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-channel-reader",
- "version": "0.1.103",
+ "version": "0.1.104",
"description": "Watches CommunicationChannel CRDs and fetches messages from Telegram, Email, and Slack",
"main": "dist/main.js",
"engines": {
diff --git a/channel-reader/src/main.ts b/channel-reader/src/main.ts
index 1b034b3d8..a5a8f4c05 100644
--- a/channel-reader/src/main.ts
+++ b/channel-reader/src/main.ts
@@ -100,12 +100,12 @@ const PROVIDER_EVENT_DEDUPE_TTL_MS = 10 * 60 * 1000 // 10 minutes
/** One "you are not linked" notice per Slack user per conversation per day. */
const UNRESOLVED_NOTICE_TTL_MS = 24 * 60 * 60 * 1000 // 24 hours
const UNRESOLVED_NOTICE_COPY =
- "I can't accept messages from this Slack account. If you haven't linked it yet, open " +
- 'Settings > Social channels > Slack and choose Connect Slack. ' +
+ "I can't accept messages from this Slack account. If you haven't linked it yet on the " +
+ 'profile UI, open Settings > Social channels > Slack and choose Connect Slack. ' +
'If you think you should already have access, contact your admin.'
const UNRESOLVED_NOTICE_COPY_TEAMS =
- "I can't accept messages from this Teams account. If you haven't linked it yet, open " +
- 'Settings > Social channels > Teams and choose Connect Microsoft Teams. ' +
+ "I can't accept messages from this Teams account. If you haven't linked it yet on the " +
+ 'profile UI, open Settings > Social channels > Teams and choose Connect Microsoft Teams. ' +
'If you think you should already have access, contact your admin.'
/**
diff --git a/channel-reader/test/unresolvedSenderNotice.test.ts b/channel-reader/test/unresolvedSenderNotice.test.ts
index 3486638bd..7e1172817 100644
--- a/channel-reader/test/unresolvedSenderNotice.test.ts
+++ b/channel-reader/test/unresolvedSenderNotice.test.ts
@@ -596,8 +596,8 @@ describe('unresolved notice link', () => {
await deliver('C1', 'U1')
const text = sendEphemeral.mock.calls[0][2]
expect(text).toBe(
- "I can't accept messages from this Slack account. If you haven't linked it yet, open " +
- 'Settings > Social channels > Slack and choose Connect Slack. ' +
+ "I can't accept messages from this Slack account. If you haven't linked it yet on the " +
+ 'profile UI, open Settings > Social channels > Slack and choose Connect Slack. ' +
'If you think you should already have access, contact your admin.'
)
expect(text).not.toContain('undefined')