Skip to content

fix: remove slack new chat message - #38

Merged
mdjastrzebski merged 5 commits into
mainfrom
fix/slack-new-chat
Dec 17, 2024
Merged

fix: remove slack new chat message#38
mdjastrzebski merged 5 commits into
mainfrom
fix/slack-new-chat

Conversation

@Q1w1N

@Q1w1N Q1w1N commented Dec 16, 2024

Copy link
Copy Markdown
Collaborator

Summary

Removes "New chat\n" from slack. Also added super cool "context logger builder" plugin

Test plan

Tested with examples

@Q1w1N
Q1w1N requested a review from mdjastrzebski December 16, 2024 13:45
Comment thread packages/core/src/plugins/logging.ts Outdated
},
};

export const contextLoggerBuilder = (fieldsToLog: (keyof RequestContext)[]): ApplicationPlugin => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move it into separate PR, and tweak changset to reflect this?

@Q1w1N
Q1w1N force-pushed the fix/slack-new-chat branch from eb9deaa to 3cf414c Compare December 16, 2024 14:14
@mdjastrzebski mdjastrzebski changed the title fix: remove slack new chat message, add context logger plugin fix: remove slack new chat message Dec 16, 2024
import { ApplicationPlugin, MessageResponse } from '@callstack/byorg-core';
import { logger } from '@callstack/byorg-utils';

export const slackThreadNormalizerPlugin: ApplicationPlugin = {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add /** xx */ comment to explain the purpose of this plugin. Also update docs to mention in.

Comment thread packages/slack/src/plugins/thread-normalization.ts
Comment thread examples/slack/src/index.ts
@mdjastrzebski
mdjastrzebski merged commit 251f05a into main Dec 17, 2024
@mdjastrzebski
mdjastrzebski deleted the fix/slack-new-chat branch December 17, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants