Feat [UI/UX Page] [Chats] Displaying Models

- [+] chore(chat.module.scss): update opacity value for .chat-message-action-date class
- [+] feat(chat.tsx): update logic for displaying message date and model information in .chat-message-action-date element
This commit is contained in:
H0llyW00dzZ 2023-12-29 20:52:46 +07:00
parent 5cf58d9446
commit 8a5b8d7f90
No known key found for this signature in database
GPG Key ID: 05C7FFFC0845C930
2 changed files with 3 additions and 3 deletions

View File

@ -383,7 +383,7 @@
.chat-message-action-date {
font-size: 12px;
opacity: 0.2;
opacity: 0.6;
white-space: nowrap;
transition: all ease 0.6s;
color: var(--black);

View File

@ -1251,8 +1251,8 @@ function _Chat() {
<div className={styles["chat-message-action-date"]}>
{isContext
? Locale.Chat.IsContext
: message.date.toLocaleString()}
? `${Locale.Chat.IsContext} - ${Locale.Exporter.Model}: ${message.model || session.mask.modelConfig.model}`
: `${Locale.Exporter.Time}: ${message.date.toLocaleString()} - ${Locale.Exporter.Model}: ${message.model || session.mask.modelConfig.model}`}
</div>
</div>
</div>