<commit_before>export const FETCH_CONVERSATION_COMMENTS = 'FETCH_CONVERSATION_COMMENTS';
export const FETCH_CONVERSATION_COMMENTS_SUCCESS = 'FETCH_CONVERSATION_COMMENTS_SUCCESS';
export const FETCH_CONVERSATION_COMMENTS_FAILURE = 'FETCH_CONVERSATION_COMMENTS_FAILURE';

export const ADD_CONVERSATION_COMMENT = 'ADD_CONVERSATION_COMMENT';
export const DELETE_CONVERSATION_COMMENT = 'DELETE_CONVERSATION_COMMENT';

export function fetchConversationComments(conversationId) {
  return { type: FETCH_CONVERSATION_COMMENTS, meta: { conversationId } };
}

export function addConversationComment({ resolve, reject, values }) {
  return { type: ADD_CONVERSATION_COMMENT, meta: { resolve, reject, values } };
}
export function deleteConversationComment(conversationCommentId, conversationId) {
  return { type: DELETE_CONVERSATION_COMMENT, meta: { conversationCommentId, conversationId } };
}
<commit_msg>Adds a success flow for inline comment editing<commit_after>export const FETCH_CONVERSATION_COMMENTS = 'FETCH_CONVERSATION_COMMENTS';
export const FETCH_CONVERSATION_COMMENTS_SUCCESS = 'FETCH_CONVERSATION_COMMENTS_SUCCESS';
export const FETCH_CONVERSATION_COMMENTS_FAILURE = 'FETCH_CONVERSATION_COMMENTS_FAILURE';

export const ADD_CONVERSATION_COMMENT = 'ADD_CONVERSATION_COMMENT';
export const DELETE_CONVERSATION_COMMENT = 'DELETE_CONVERSATION_COMMENT';

export const UPDATE_CONVERSATION_COMMENT = 'UPDATE_CONVERSATION_COMMENT';
export const UPDATE_CONVERSATION_COMMENT_SUCCESS = 'UPDATE_CONVERSATION_COMMENT_SUCCESS';

export function fetchConversationComments(conversationId) {
  return { type: FETCH_CONVERSATION_COMMENTS, meta: { conversationId } };
}

export function addConversationComment({ resolve, reject, values }) {
  return { type: ADD_CONVERSATION_COMMENT, meta: { resolve, reject, values } };
}

export function deleteConversationComment(conversationCommentId, conversationId) {
  return { type: DELETE_CONVERSATION_COMMENT, meta: { conversationCommentId, conversationId } };
}

export function updateConversationComment({ resolve, reject, values }) {
  return { type: UPDATE_CONVERSATION_COMMENT, meta: { resolve, reject, values } };
}

{'fraction_non_alphanumeric': 0.07441860465116279, 'fraction_numerical': 0.0, 'mean_word_length': 9.19431279620853, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6099781', 'n_tokens_mistral': 693, 'n_tokens_neox': 637, 'n_words': 130}