MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / selectIsFeedbackOpenForMessage

Function selectIsFeedbackOpenForMessage

cli/src/state/feedback-store.ts:150–151  ·  view source on GitHub ↗
(messageId: string)

Source from the content-addressed store, hash-verified

148export const selectIsFeedbackOpen = (state: FeedbackStore) => state.feedbackMode
149export const selectFeedbackMessageId = (state: FeedbackStore) => state.feedbackMessageId
150export const selectIsFeedbackOpenForMessage = (messageId: string) => (state: FeedbackStore) =>
151 state.feedbackMode && state.feedbackMessageId === messageId
152export const selectHasSubmittedFeedback = (messageId: string) => (state: FeedbackStore) =>
153 state.messagesWithFeedback.has(messageId)
154export const selectMessageFeedbackCategory = (messageId: string) => (state: FeedbackStore) =>

Callers 2

MessageFooterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected