Skip to content

Commit 43f5c37

Browse files
committed
Update changelog
1 parent c5ceb22 commit 43f5c37

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

extensions/ql-vscode/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Fix a bug where the results view moved column even when it was already visible. [#1070](https://github.com/github/vscode-codeql/pull/1070)
66
- Add packaging-related commands. _CodeQL: Download Packs_ downloads query packs from the package registry that can be run locally, and _CodeQL: Install Pack Dependencies_ installs dependencies for packs in your workspace. [#1076](https://github.com/github/vscode-codeql/pull/1076)
7+
- Add query history items as soon as a query is run, including new icons for each history item. [#1094](https://github.com/github/vscode-codeql/pull/1094)
78

89
## 1.5.9 - 17 December 2021
910

extensions/ql-vscode/src/vscode-tests/no-workspace/query-history.test.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -318,18 +318,14 @@ describe('query-history', () => {
318318
});
319319
expect(treeItem.label).to.contain('hucairz');
320320
expect(treeItem.contextValue).to.eq('rawResultsItem');
321-
expect(treeItem.iconPath).to.deep.eq({
322-
id: 'check', color: undefined
323-
});
321+
expect(treeItem.iconPath).to.deep.eq('/a/b/c/media/drive.svg');
324322
});
325323

326324
it('should get a tree item with interpreted results', async () => {
327325
const mockQuery = createMockFullQueryInfo('a', createMockQueryWithResults(true, /* interpreted results */ true));
328326
const treeItem = await historyTreeDataProvider.getTreeItem(mockQuery);
329327
expect(treeItem.contextValue).to.eq('interpretedResultsItem');
330-
expect(treeItem.iconPath).to.deep.eq({
331-
id: 'check', color: undefined
332-
});
328+
expect(treeItem.iconPath).to.deep.eq('/a/b/c/media/drive.svg');
333329
});
334330

335331
it('should get a tree item that did not complete successfully', async () => {
@@ -348,7 +344,7 @@ describe('query-history', () => {
348344
const mockQuery = createMockFullQueryInfo('a');
349345
const treeItem = await historyTreeDataProvider.getTreeItem(mockQuery);
350346
expect(treeItem.iconPath).to.deep.eq({
351-
id: 'search-refresh', color: undefined
347+
id: 'sync~spin', color: undefined
352348
});
353349
});
354350

0 commit comments

Comments
 (0)