mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
remove headers and replace with checkmark for now (#277759)
* remove headers and replace with checkmark for now * fix comments
This commit is contained in:
@@ -693,8 +693,10 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
|
||||
private renderConfirmationAction(element: IChatRequestViewModel, templateData: IChatListItemTemplate) {
|
||||
dom.clearNode(templateData.detail);
|
||||
if (element.confirmation) {
|
||||
templateData.detail.textContent = localize('chatConfirmationAction', 'selected "{0}"', element.confirmation);
|
||||
dom.append(templateData.detail, $('span.codicon.codicon-check', { 'aria-hidden': 'true' }));
|
||||
dom.append(templateData.detail, $('span.confirmation-text', undefined, localize('chatConfirmationAction', 'Selected "{0}"', element.confirmation)));
|
||||
templateData.header?.classList.remove('header-disabled');
|
||||
templateData.header?.classList.add('partially-disabled');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
font-size: var(--vscode-chat-font-size-body-s);
|
||||
color: var(--vscode-descriptionForeground);
|
||||
overflow: hidden;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.interactive-item-container .detail-container .detail .agentOrSlashCommandDetected A {
|
||||
@@ -2487,6 +2488,17 @@ have to be updated for changes to the rules above, or to support more deeply nes
|
||||
display: none;
|
||||
}
|
||||
|
||||
.interactive-request .header.partially-disabled .avatar-container,
|
||||
.interactive-request .header.partially-disabled .username {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.interactive-item-container .header .detail .codicon-check {
|
||||
margin-right: 7px;
|
||||
vertical-align: middle;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.request-hover {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user