inline chat positioning polish (#216630)

* make sure to show close button when having just message responses

* * no more intented rendering of inline chat
* make sure the top of the view zone is always revealed
This commit is contained in:
Johannes Rieken
2024-06-19 18:10:43 +02:00
committed by GitHub
parent a764c2ac80
commit a11602734b
4 changed files with 40 additions and 65 deletions

View File

@@ -368,7 +368,7 @@ export class CloseAction extends AbstractInlineChatAction {
group: '0_main',
order: 1,
when: ContextKeyExpr.and(
CTX_INLINE_CHAT_CONFIG_TXT_BTNS,
// CTX_INLINE_CHAT_CONFIG_TXT_BTNS,
ContextKeyExpr.or(
CTX_INLINE_CHAT_RESPONSE_TYPE.isEqualTo(InlineChatResponseType.Messages),
CTX_INLINE_CHAT_EDIT_MODE.isEqualTo(EditMode.Preview)