diff --git a/src/extensionsIntegrated/Phoenix-live-preview/live-preview.css b/src/extensionsIntegrated/Phoenix-live-preview/live-preview.css index 9847eb1931..6641e9d4aa 100644 --- a/src/extensionsIntegrated/Phoenix-live-preview/live-preview.css +++ b/src/extensionsIntegrated/Phoenix-live-preview/live-preview.css @@ -100,14 +100,14 @@ height: 22px; padding: 1px 6px; flex-shrink: 0; - margin-top: 3.5px; + margin-top: 0; } .lp-device-size-icon { min-width: fit-content; display: flex; align-items: center; - margin: 3.5px 4px 0 3px; + margin: 0 4px 0 3px; cursor: pointer; background: transparent; box-shadow: none; @@ -165,7 +165,7 @@ min-width: fit-content; display: flex; align-items: center; - margin: 3.5px 4px 0 3px; + margin: 0 4px 0 3px; max-width: 80%; text-overflow: ellipsis; overflow: hidden; @@ -197,7 +197,7 @@ #reloadLivePreviewButton { margin-left: 3px; - margin-top: 3.5px; + margin-top: 0; width: 30px; height: 22px; flex-shrink: 0; @@ -206,7 +206,7 @@ #previewModeLivePreviewButton { color: #a0a0a0; margin-left: 3px; - margin-top: 3.3px; + margin-top: 0; width: 30px; height: 22px; flex-shrink: 0; diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index a54cf81b7f..bf1a747703 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -2086,6 +2086,7 @@ define({ "AI_CHAT_MODE_INFO_EDIT": "AI can edit files. Shell commands need approval", "AI_CHAT_MODE_INFO_FULL_AUTO": "AI can edit files and run commands without approval", "AI_CHAT_MODE_SWITCH_HINT": "(Shift+Tab to switch)", + "AI_CHAT_INPUT_HINT": "Press {0} to send ยท {1} for new line", "AI_CHAT_BASH_CONFIRM_TITLE": "Allow command?", "AI_CHAT_BASH_ALLOW": "Allow", "AI_CHAT_BASH_DENY": "Deny", diff --git a/src/styles/Extn-AIChatPanel.less b/src/styles/Extn-AIChatPanel.less index 50a14ed221..c43f78b7ee 100644 --- a/src/styles/Extn-AIChatPanel.less +++ b/src/styles/Extn-AIChatPanel.less @@ -1717,7 +1717,8 @@ display: flex; align-items: center; gap: 6px; - padding: 4px 8px; + padding: 6px 8px 0 8px; + min-height: 18px; cursor: pointer; user-select: none; @@ -1751,7 +1752,7 @@ line-height: 1; } - .ai-permission-info { + .ai-info { display: none; margin-left: auto; font-size: 11px; @@ -1761,13 +1762,36 @@ overflow: hidden; text-overflow: ellipsis; color: @project-panel-text-2; + transition: opacity 0.3s ease; + + kbd { + display: inline-block; + padding: 1px 5px; + font-size: 10px; + font-family: inherit; + line-height: 1.2; + color: @project-panel-text-1; + background: rgba(255, 255, 255, 0.1); + border: 1px solid rgba(255, 255, 255, 0.15); + border-radius: 3px; + } + + &.ai-info-flash { + display: inline; + animation: ai-info-flash-in 0.3s ease; + } } - &:hover .ai-permission-info { + &:hover .ai-info { display: inline; } } + @keyframes ai-info-flash-in { + from { opacity: 0; } + to { opacity: 1; } + } + .ai-chat-context-bar { display: none; flex-wrap: wrap; diff --git a/tracking-repos.json b/tracking-repos.json index ed880098d3..7cee151d68 100644 --- a/tracking-repos.json +++ b/tracking-repos.json @@ -1,5 +1,5 @@ { "phoenixPro": { - "commitID": "69b8d0160b40bbcc89f454498ef30115a018c3e9" + "commitID": "4b7f18af0837e289a48e6064ef884f66397b5f61" } }