mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-08-23 13:07:06 +00:00
Also fixes it so users without bot in header can send it messages. Previous to this change we would seed all bots with database seeds. This lead to lots of confusion for people who do not enable ai bot. Instead: 1. We do not seed any bots **until** user enables the ai_bot_enabled setting 2. If it is disabled we will a. If no messages were created by bot - delete it b. Otherwise we will deactivate account
67 lines
1.1 KiB
SCSS
67 lines
1.1 KiB
SCSS
nav.post-controls .actions button.cancel-streaming {
|
|
display: none;
|
|
}
|
|
|
|
.ai-bot-chat {
|
|
#reply-control {
|
|
.title-and-category,
|
|
#private-message-users {
|
|
display: none;
|
|
}
|
|
}
|
|
.gpt-persona {
|
|
margin-bottom: 5px;
|
|
margin-top: -10px;
|
|
}
|
|
}
|
|
|
|
.ai-bot-pm {
|
|
.gpt-persona {
|
|
margin-bottom: 5px;
|
|
}
|
|
#reply-control .composer-fields {
|
|
.mini-tag-chooser,
|
|
.add-warning {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ai-bot-chat-warning {
|
|
color: var(--tertiary);
|
|
background-color: var(--tertiary-low);
|
|
border-top: 1px solid var(--tertiary-medium);
|
|
opacity: 0.75;
|
|
.d-icon {
|
|
color: var(--tertiary);
|
|
}
|
|
margin: 0;
|
|
padding: 4px 10px;
|
|
width: calc(100% - 20px);
|
|
}
|
|
|
|
article.streaming nav.post-controls .actions button.cancel-streaming {
|
|
display: inline-block;
|
|
}
|
|
|
|
.ai-bot-available-bot-options {
|
|
.ai-bot-available-bot-content {
|
|
color: var(--primary-high);
|
|
display: flex;
|
|
width: 100%;
|
|
.d-button-label {
|
|
flex: 1;
|
|
text-align: left;
|
|
}
|
|
&:hover {
|
|
background: var(--primary-low);
|
|
}
|
|
}
|
|
}
|
|
|
|
.topic-body .persona-flair {
|
|
order: 2;
|
|
font-size: var(--font-down-1);
|
|
padding-top: 3px;
|
|
}
|