diff --git a/build/win32/code.iss b/build/win32/code.iss index 8728ca24..0bd3d09c 100644 --- a/build/win32/code.iss +++ b/build/win32/code.iss @@ -23,7 +23,7 @@ AppMutex={code:GetAppMutex} SetupMutex={#AppMutex}setup ; this is a Void icon comment. Old: WizardImageFile="{#RepoDir}\resources\win32\inno-big-100.bmp,{#RepoDir}\resources\win32\inno-big-125.bmp,{#RepoDir}\resources\win32\inno-big-150.bmp,{#RepoDir}\resources\win32\inno-big-175.bmp,{#RepoDir}\resources\win32\inno-big-200.bmp,{#RepoDir}\resources\win32\inno-big-225.bmp,{#RepoDir}\resources\win32\inno-big-250.bmp" ; this is a Void icon comment. Old: WizardSmallImageFile="{#RepoDir}\resources\win32\inno-small-100.bmp,{#RepoDir}\resources\win32\inno-small-125.bmp,{#RepoDir}\resources\win32\inno-small-150.bmp,{#RepoDir}\resources\win32\inno-small-175.bmp,{#RepoDir}\resources\win32\inno-small-200.bmp,{#RepoDir}\resources\win32\inno-small-225.bmp,{#RepoDir}\resources\win32\inno-small-250.bmp" -WizardImageFile="{#RepoDir}\resources\win32\inno-void.bmp" +; WizardImageFile="{#RepoDir}\resources\win32\inno-void.bmp" WizardSmallImageFile="{#RepoDir}\resources\win32\inno-void.bmp" SetupIconFile={#RepoDir}\resources\win32\code.ico UninstallDisplayIcon={app}\{#ExeBasename}.exe diff --git a/resources/win32/inno-void.bmp b/resources/win32/inno-void.bmp index fb3fad34..3c986c74 100644 Binary files a/resources/win32/inno-void.bmp and b/resources/win32/inno-void.bmp differ diff --git a/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts b/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts index 6de0b53b..3bc20a49 100644 --- a/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts +++ b/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts @@ -127,8 +127,6 @@ export class ConsistentItemService extends Disposable { const editorId = editor.getId() this.itemIdsOfEditorId[editorId]?.delete(itemId) - if (this.itemIdsOfEditorId[editorId]?.size === 0) - delete this.itemIdsOfEditorId[editorId] this.disposeFnOfItemId[itemId]?.() delete this.disposeFnOfItemId[itemId] @@ -175,8 +173,6 @@ export class ConsistentItemService extends Disposable { // clear this.consistentItemIdsOfURI[uri.fsPath]?.delete(consistentItemId) - if (this.consistentItemIdsOfURI[uri.fsPath]?.size === 0) - delete this.consistentItemIdsOfURI[uri.fsPath] delete this.infoOfConsistentItemId[consistentItemId] diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index 75e4579e..00092d47 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -325,7 +325,7 @@ export const SelectedFiles = ( > {/* selection summary */}
{/* clear all selections button */} - {type !== 'staging' || selections.length === 0 || i !== selections.length - 1 + {/* {type !== 'staging' || selections.length === 0 || i !== selections.length - 1 ? null :
- } + } */}
{/* selection text */} {isThisSelectionOpened && @@ -423,9 +423,8 @@ export const SelectedFiles = (
) return - {selections.length > 0 && i === selections.length && -
// divider between `selections` and `prospectiveSelections` - } + {/* divider between `selections` and `prospectiveSelections` */} + {/* {selections.length > 0 && i === selections.length &&
} */} {selectionHTML}
@@ -675,7 +674,7 @@ export const SidebarChat = () => { {/* top row */} <> {/* selections */} - + {/* middle row */} diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx index cca66c58..72dc6d39 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx @@ -104,6 +104,7 @@ export const SidebarThreadSelector = () => { flex items-center `} onClick={() => chatThreadsService.switchToThread(pastThread.id)} + onDoubleClick={() => sidebarStateService.setState({ isHistoryOpen: false })} title={new Date(pastThread.createdAt).toLocaleString()} >
{`${firstMsg}`}
diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx index c1421f66..b21df36f 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx @@ -687,6 +687,8 @@ export const VoidCodeEditor = ({ initValue, language, maxHeight, showScrollbars // maxColumn: 0, }, + hover: { enabled: false }, + selectionHighlight: false, // highlights whole words renderLineHighlight: 'none',