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:
parent
ae49081776
commit
fddc5fac75
1 changed files with 10 additions and 0 deletions
|
|
@ -71,6 +71,16 @@ export const programmingLanguages: languageMap = {
|
||||||
*/
|
*/
|
||||||
export const MAX_LENGTH_TO_SCROLL_TOOLTIP = 200;
|
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
|
* Number maximum of components to scroll on tooltips
|
||||||
* @constant
|
* @constant
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue