Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove slack new chat message #38

Merged
merged 5 commits into from
Dec 17, 2024
Merged

Conversation

Q1w1N
Copy link
Collaborator

@Q1w1N Q1w1N commented Dec 16, 2024

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
@@ -23,3 +25,27 @@ export const loggingPlugin: ApplicationPlugin = {
}
},
};

export const contextLoggerBuilder = (fieldsToLog: (keyof RequestContext)[]): ApplicationPlugin => {
Copy link
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
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.

@mdjastrzebski mdjastrzebski merged commit 251f05a into main Dec 17, 2024
2 checks passed
@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