Skip to content

Commit

Permalink
Merge branch 'main' into lego/hb_8a5c857d-921a-4789-a5f2-d04520db775e…
Browse files Browse the repository at this point in the history
…_20250224164100124
  • Loading branch information
Benjin committed Feb 25, 2025
2 parents 99af1ff + 41cc2e9 commit 0cc9fca
Show file tree
Hide file tree
Showing 10 changed files with 1,942 additions and 15 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## Version 1.29.0
* Release date: February 26, 2025
* Release status: GA
### What's new in 1.29.0
* Fixed support for Always Encrypted - Secure Enclaves in the Connection Dialog
* Removed SQL editor actions from Git diff editor to improve usability
* Fixed Query Result pane issues related to copying data while sorting and filtering
* Fixed an issue with Query Result pane column filters in multiple result set scenarios where filter settings might get shared between result sets
* Fixed accessibility issues in Query Plan Visualizer
* Fixed indefinite hangs when connecting to paused Azure SQL Database Serverless databases
* Fixed issue where HTTPS-over-HTTP proxies were not getting handled correctly

## Version 1.28.0
* Release date: January 29, 2025
* Release status: GA
Expand Down
277 changes: 275 additions & 2 deletions localization/LCL/de/vscode-mssql.xlf.lcl

Large diffs are not rendered by default.

277 changes: 275 additions & 2 deletions localization/LCL/es/vscode-mssql.xlf.lcl

Large diffs are not rendered by default.

277 changes: 275 additions & 2 deletions localization/LCL/it/vscode-mssql.xlf.lcl

Large diffs are not rendered by default.

277 changes: 275 additions & 2 deletions localization/LCL/ja/vscode-mssql.xlf.lcl

Large diffs are not rendered by default.

277 changes: 275 additions & 2 deletions localization/LCL/pt-BR/vscode-mssql.xlf.lcl

Large diffs are not rendered by default.

277 changes: 275 additions & 2 deletions localization/LCL/ru/vscode-mssql.xlf.lcl

Large diffs are not rendered by default.

277 changes: 275 additions & 2 deletions localization/LCL/zh-Hans/vscode-mssql.xlf.lcl

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/reactviews/pages/QueryResult/queryResultPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ export const QueryResultPane = () => {

const renderGridPanel = () => {
const grids = [];
gridRefs.current.forEach((r) => r?.refreshGrid());
let count = 0;
for (const batchIdStr in state?.resultSetSummaries ?? {}) {
const batchId = parseInt(batchIdStr);
Expand Down
5 changes: 4 additions & 1 deletion src/reactviews/pages/QueryResult/resultGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
useEffect,
useImperativeHandle,
useRef,
useState,
} from "react";
import "../../media/slickgrid.css";
import { ACTIONBAR_WIDTH_PX, range, Table } from "./table/table";
Expand Down Expand Up @@ -79,6 +80,7 @@ const ResultGrid = forwardRef<ResultGridHandle, ResultGridProps>(
return undefined;
}
const gridContainerRef = useRef<HTMLDivElement>(null);
const [refreshkey, setRefreshKey] = useState(0);
const refreshGrid = () => {
if (gridContainerRef.current) {
while (gridContainerRef.current.firstChild) {
Expand All @@ -87,6 +89,7 @@ const ResultGrid = forwardRef<ResultGridHandle, ResultGridProps>(
);
}
}
setRefreshKey((prev) => prev + 1);
};
const resizeGrid = (width: number, height: number) => {
let gridParent: HTMLElement | null;
Expand Down Expand Up @@ -308,7 +311,7 @@ const ResultGrid = forwardRef<ResultGridHandle, ResultGridProps>(
),
);
}
}, []);
}, [refreshkey]);

useImperativeHandle(ref, () => ({
refreshGrid,
Expand Down

0 comments on commit 0cc9fca

Please sign in to comment.