refactor: Update MESSAGES_TABLE_ORDER constant in constants.ts

Update the MESSAGES_TABLE_ORDER constant in constants.ts to include additional fields for sorting messages in a table. This change improves the functionality and flexibility of the codebase, allowing for more customizable table sorting options.
This commit is contained in:
anovazzi1 2024-06-12 18:55:09 -03:00
commit fddc5fac75

View file

@ -71,6 +71,16 @@ export const programmingLanguages: languageMap = {
*/
export const MAX_LENGTH_TO_SCROLL_TOOLTIP = 200;
export const MESSAGES_TABLE_ORDER = [
"timestamp",
"message",
"text",
"sender",
"sender_name",
"session_id",
"files",
];
/**
* Number maximum of components to scroll on tooltips
* @constant