Koen Vlaswinkel
0a9a9792ad
Merge pull request #2891 from github/koesie10/dispose-webview
...
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
Dispose tracked objects when panel is disposed
2023-09-29 12:19:56 +02:00
Koen Vlaswinkel
4cf67ef799
Fix disposing in ResultsView
2023-09-29 12:00:26 +02:00
Koen Vlaswinkel
0a27c0538d
Dispose tracked objects when panel is disposed
...
This will change the `AbstractWebview` to dispose its tracked objects
(using `this.push`) when the panel is disposed rather than when the
view is disposed. This makes `this.push` actually useful in a view.
Before, the objects would only get disposed when the extension itself
was disposed.
2023-09-29 11:34:59 +02:00
Koen Vlaswinkel
66fdabf4c8
Merge pull request #2887 from github/v1.9.1
...
Release v1.9.1
2023-09-29 10:30:40 +02:00
Koen Vlaswinkel
f249b36660
v1.9.1
2023-09-29 10:05:43 +02:00
Anders Starcke Henriksen
552a4f6eb3
Merge pull request #2873 from github/starcke/language-context-store
...
Add language context store.
2023-09-29 09:24:31 +02:00
Shati Patel
493e8d915e
Hide the language filter behind an extra flag ( #2881 )
2023-09-28 14:47:25 +00:00
Anders Starcke Henriksen
dc632d5c3d
Change to use QueryLanguage | undefined.
2023-09-28 16:43:33 +02:00
Charis Kyriakou
27a7474f2b
Add modeling indicator to method usages panel ( #2876 )
2023-09-28 15:33:46 +01:00
Koen Vlaswinkel
469f65a392
Merge pull request #2854 from github/koesie10/bump-min-version
...
Bump minimum VS Code version to 1.82
2023-09-28 16:04:57 +02:00
Anders Starcke Henriksen
6accba66fe
Rename state to languageFilter.
2023-09-28 14:28:31 +02:00
Anders Starcke Henriksen
a657df4468
Move context manipulation into store and fix initial state.
2023-09-28 14:19:07 +02:00
Koen Vlaswinkel
6aab4b4090
Merge pull request #2875 from github/koesie10/update-csharp-query
...
Update model editor C# query to return method parameters with parentheses
2023-09-28 14:10:50 +02:00
Anders Starcke Henriksen
c7e5922bd5
Merge branch 'main' into starcke/language-context-store
2023-09-28 14:08:26 +02:00
Anders Starcke Henriksen
bb25874299
Remove TODO.
2023-09-28 14:05:31 +02:00
Shati Patel
d5c78fd67b
Indicate which language is selected in the databases view ( #2871 )
2023-09-28 12:30:11 +02:00
Koen Vlaswinkel
6c5f160eee
Update model editor C# query to return method parameters with parentheses
2023-09-28 12:17:06 +02:00
Nora
ecbc458106
Merge pull request #2802 from github/nora/minor-integration-test-improvement
...
Minor test updates for `db-panel.test`
2023-09-28 12:16:54 +02:00
Koen Vlaswinkel
93652fc75f
Merge pull request #2872 from github/koesie10/resolve-queries-from-ql
...
Resolve model editor queries from CodeQL packs if present
2023-09-28 12:14:41 +02:00
Nora
859eca0195
Merge pull request #2812 from github/nora/remove-rate-limit-code-search
...
Code Search: don't show rate limit warnings to users
2023-09-28 11:57:15 +02:00
Koen Vlaswinkel
905eaf66aa
Implement PR feedback
2023-09-28 11:27:42 +02:00
Nora
7af8b7a274
Use BaseLogger instead of ExtLogger
2023-09-28 08:50:35 +00:00
Nora
a6b6b5a7d6
Show rate limit messages in extension output
2023-09-28 08:24:58 +00:00
Nora
9aff9891d3
Fix comment
2023-09-28 08:18:44 +00:00
Nora
681a15ce45
Extract dbConfigFilePath
2023-09-28 08:17:38 +00:00
Nora
f82b51f7c5
Add comment
2023-09-28 08:17:38 +00:00
Nora
5b7124683a
Replace void with await
2023-09-28 08:17:38 +00:00
Charis Kyriakou
031b5076db
Update modeling panel when clicking 'view' on model editor ( #2874 )
2023-09-27 16:59:39 +01:00
Dave Bartolomeo
f1533dde2d
Merge pull request #2858 from github/dbartol/long-strings
...
Use streaming when creating log symbols file.
2023-09-27 09:55:25 -04:00
Koen Vlaswinkel
e9b67dd90c
Resolve model editor queries from ql if present
2023-09-27 15:32:01 +02:00
Anders Starcke Henriksen
7bfe0df901
Add language context store.
2023-09-27 15:28:11 +02:00
Koen Vlaswinkel
b1debee244
Merge pull request #2868 from github/koesie10/new-model-editor-queries
...
Update model editor queries
2023-09-27 12:03:48 +02:00
Charis Kyriakou
3b00d74f47
Hook method modeling view to modeling store ( #2870 )
2023-09-27 09:57:27 +00:00
Koen Vlaswinkel
4efd3f8fe8
Merge pull request #2865 from github/github-action/bump-cli
...
Bump CLI Version to v2.14.6 for integration tests
2023-09-27 11:23:40 +02:00
Koen Vlaswinkel
95c512e3e8
Fix compilation errors when using submodule with updated queries
2023-09-27 11:20:57 +02:00
Koen Vlaswinkel
7501f9b81e
Merge pull request #2864 from github/koesie10/right-align-format-numbers
...
Right align and format raw result numbers
2023-09-27 11:03:12 +02:00
Charis Kyriakou
a98b998e5f
Add selected method and usage state to modeling store ( #2869 )
2023-09-27 08:15:51 +01:00
Koen Vlaswinkel
e03d106bc2
Update model editor queries
...
This updates the model editor queries to the version that will be merged
into the CodeQL repository. There are some slight changes to the output
format, so we slightly need to change the BQRS decoding of those
queries.
The queries themselves were copied from the two PRs with some minor
additions at the end since these were changes in core CodeQL library
files.
2023-09-27 09:05:15 +02:00
Dave Bartolomeo
3c63df2221
Unit tests for SplitBuffer
2023-09-26 17:54:47 -04:00
Charis Kyriakou
c6996771ab
Add unsaved tag on method modeling panel ( #2867 )
2023-09-26 20:17:16 +01:00
Koen Vlaswinkel
e475036721
Right align and format raw result numbers
...
This changes the formatting for both the local raw results table and the
variant analysis raw results table to right align and format numbers.
2023-09-26 16:18:42 +02:00
Charis Kyriakou
42192fa922
Move modeling status code to its own module ( #2866 )
...
* Move ModelingStatus to its own file
* Move getModelingStatus to modeling status module
2023-09-26 13:52:04 +00:00
Koen Vlaswinkel
947084d792
Merge pull request #2863 from github/koesie10/refactor-raw-results-table
...
Split out components in variant analysis raw results table
2023-09-26 15:41:47 +02:00
Charis Kyriakou
6c1cd71743
Move modeled and modified method state to store ( #2861 )
2023-09-26 14:23:12 +01:00
github-actions[bot]
c4b890597d
Bump CLI version from v2.14.5 to v2.14.6 for integration tests
2023-09-26 13:19:05 +00:00
Charis Kyriakou
93251f8d57
Make MethodModelingViewProvider a disposable object ( #2862 )
2023-09-26 13:53:23 +01:00
Koen Vlaswinkel
452329b07a
Extract RawResultRow to separate file
2023-09-26 14:46:42 +02:00
Koen Vlaswinkel
1afee02e78
Extract RawResultCell to separate file
2023-09-26 14:46:39 +02:00
Koen Vlaswinkel
cbb1de4faf
Merge pull request #2847 from github/dependabot/npm_and_yarn/extensions/ql-vscode/types/js-yaml-4.0.6
...
Bump @types/js-yaml from 3.12.5 to 4.0.6 in /extensions/ql-vscode
2023-09-26 12:41:11 +02:00
Charis Kyriakou
9e92c6c304
Merge pull request #2857 from github/charisk/initial-modeling-store
...
Introduce modeling store and move some state there
2023-09-26 11:36:46 +01:00
Koen Vlaswinkel
7864844ddd
Fix missing string type on dataExtensions
2023-09-26 11:58:33 +02:00
Charis Kyriakou
c77a300f24
Move methods, hideModeledMethods and active editor state to the modeling store
2023-09-26 09:52:59 +00:00
Koen Vlaswinkel
f5fbd7f4cc
Switch tests to new types
2023-09-26 11:32:25 +02:00
Koen Vlaswinkel
405292ecd4
Introduce type for QlPackFile
2023-09-26 11:29:19 +02:00
Shati Patel
3be7eb9e15
Add ability to filter DB view by language ( #2856 )
2023-09-26 09:20:40 +00:00
Dave Bartolomeo
c972a5c0de
Use streaming when creating log symbols file.
2023-09-25 14:24:10 -04:00
Koen Vlaswinkel
5ae67fecda
Do not export unused types
2023-09-25 15:54:26 +02:00
Charis Kyriakou
d33c26798d
Introduce modeling store
2023-09-25 13:42:57 +00:00
Koen Vlaswinkel
9392fb75c8
Format generated schema files with Prettier
2023-09-25 15:35:02 +02:00
Koen Vlaswinkel
e0509f684b
Merge pull request #2845 from github/dependabot/npm_and_yarn/extensions/ql-vscode/zip-a-folder-3.1.2
...
Bump zip-a-folder from 2.0.0 to 3.1.2 in /extensions/ql-vscode
2023-09-25 15:26:01 +02:00
Koen Vlaswinkel
c55e87c64b
Generate schema for extension pack file
2023-09-25 15:25:40 +02:00
Koen Vlaswinkel
bc01d73ba5
Fix some type errors in tests
2023-09-25 15:25:39 +02:00
Koen Vlaswinkel
db55e9cd42
Generate schema for extension pack metadata
...
After the upgrade to the correct types for js-yaml, the return type
of `load` is correctly typed as `unknown`. This means that we can't
use the return value directly, but need to validate it first.
This adds such validation by generating a JSON schema for a newly
created typed. The JSON schema generation is very similar to how we do
it in https://github.com/github/codeql-variant-analysis-action .
2023-09-25 15:25:37 +02:00
Charis Kyriakou
19890b8591
Merge pull request #2855 from github/charisk/tidy-castings
...
Don't use 'as any' when checking open view
2023-09-25 13:52:14 +01:00
Shati Patel
df1c12f2ba
Rearrange DB panel UI commands ( #2853 )
2023-09-25 14:10:34 +02:00
Charis Kyriakou
bd67afe799
Extract logic into reusable function
2023-09-25 10:08:52 +00:00
Koen Vlaswinkel
7a2876faad
Bump zip-a-folder to v3.1.3
...
This fixes an issue with TypeScript declarations.
See: https://redirect.github.com/maugenst/zip-a-folder/issues/48
2023-09-25 12:07:01 +02:00
Charis Kyriakou
4c9ce2d537
Don't use 'as any' when checking open view
2023-09-25 09:48:57 +00:00
Charis Kyriakou
868ffd79a5
Hide modeling panel when modeling editor is active ( #2851 )
2023-09-25 10:39:43 +01:00
Koen Vlaswinkel
eb3900f642
Bump minimum VS Code version for warnings
2023-09-25 11:38:39 +02:00
Charis Kyriakou
3934ba7e69
Remove redundant argument from onChange ( #2852 )
2023-09-25 09:41:36 +01:00
Charis Kyriakou
3e259f14c9
Add modeling inputs to method modeling panel ( #2849 )
2023-09-22 15:13:40 +00:00
Charis Kyriakou
4323aad254
Fix MethodRow stories to not all show as modeled ( #2850 )
2023-09-22 11:38:36 +00:00
Charis Kyriakou
cd7c26f2ff
Merge pull request #2848 from github/dependabot/npm_and_yarn/extensions/ql-vscode/graphql-16.8.1
...
Bump graphql from 16.6.0 to 16.8.1 in /extensions/ql-vscode
2023-09-22 11:43:04 +01:00
dependabot[bot]
6e9280b97e
Bump graphql from 16.6.0 to 16.8.1 in /extensions/ql-vscode
...
Bumps [graphql](https://github.com/graphql/graphql-js ) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases )
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1 )
---
updated-dependencies:
- dependency-name: graphql
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-21 17:49:46 +00:00
dependabot[bot]
e43adb6424
Bump @types/js-yaml from 3.12.5 to 4.0.6 in /extensions/ql-vscode
...
Bumps [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml ) from 3.12.5 to 4.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml )
---
updated-dependencies:
- dependency-name: "@types/js-yaml"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-21 13:06:11 +00:00
dependabot[bot]
54435d78cf
Bump zip-a-folder from 2.0.0 to 3.1.2 in /extensions/ql-vscode
...
Bumps [zip-a-folder](https://github.com/maugenst/zip-a-folder ) from 2.0.0 to 3.1.2.
- [Commits](https://github.com/maugenst/zip-a-folder/commits )
---
updated-dependencies:
- dependency-name: zip-a-folder
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-21 13:04:12 +00:00
Charis Kyriakou
3a1431ca31
Merge pull request #2843 from github/charisk/model-kind-dropdown
...
Update KindInput component to bring it inline with others
2023-09-21 08:24:54 +01:00
Charis Kyriakou
73f161cdac
Clean up model editor onChange callback ( #2844 )
2023-09-21 08:16:11 +01:00
Robert
ef008a1659
Merge pull request #2840 from github/robertbrignull/node-version
...
Add docs about the Node.js version
2023-09-20 17:27:18 +01:00
Charis Kyriakou
dc33784dbc
Update ModelKindDropdown to be more self-contained
2023-09-20 14:59:11 +00:00
Charis Kyriakou
c4396b764c
Rename KindInput to ModelKindDropdown
2023-09-20 14:59:10 +00:00
Charis Kyriakou
4e096400db
Extract model output dropdown to its own component ( #2839 )
2023-09-20 15:58:24 +01:00
Robert
f99177ac21
Merge pull request #2842 from github/robertbrignull/revert-node18
...
Switch back to Node.js version 16
2023-09-20 14:41:04 +01:00
Robert
f95bf6889b
Revert "Disable unit tests using MockGitHubApiServer"
...
This reverts commit 26450e9236 .
2023-09-20 13:48:21 +01:00
Robert
ed48f4ac76
Revert "Change node version to 18.15.0"
...
This reverts commit 8136328ad6 .
2023-09-20 13:48:12 +01:00
Charis Kyriakou
d2f4f33bea
Extract type for modeled method kind ( #2835 )
2023-09-20 13:36:41 +01:00
Robert
a68d5df13b
Apply suggestions from code review
2023-09-20 12:25:30 +01:00
Robert
495f632ae2
Update node-version.md
2023-09-20 11:57:16 +01:00
Robert
929f54333b
Create vscode-version.md
2023-09-20 11:55:13 +01:00
Charis Kyriakou
4f1a92d09c
Extract model input dropdown to its own component ( #2837 )
2023-09-20 11:25:26 +01:00
Robert
91866971dd
Update node-version.md
2023-09-20 11:17:14 +01:00
Robert
9b15b35274
Add files via upload
2023-09-20 11:15:55 +01:00
Robert
b3544b461a
Update releasing.md
2023-09-20 11:15:35 +01:00
Robert
53fccdfb2e
Create node-version.md
2023-09-20 11:14:06 +01:00
Charis Kyriakou
606bfd7f87
Remove unnecessary spread of modeled method ( #2836 )
2023-09-20 10:56:47 +01:00
Charis Kyriakou
7d088b749b
Update import to fix build ( #2838 )
2023-09-20 09:53:44 +00:00
Charis Kyriakou
315021ef35
Minor redesign of method modeling title ( #2832 )
2023-09-20 10:10:40 +01:00
Charis Kyriakou
1dc70fe625
Extract model type dropdown to its own component ( #2833 )
2023-09-20 10:02:12 +01:00
Charis Kyriakou
36f6531fc4
Move method factories to factories/model-editor ( #2834 )
2023-09-20 08:55:02 +00:00
Koen Vlaswinkel
fc735cb83b
Merge pull request #2829 from github/koesie10/fix-return-value
...
Fix incorrect `ReturnType` instead of `ReturnValue`
2023-09-19 17:52:20 +02:00
Robert
c514575bc8
Merge pull request #2831 from github/version/bump-to-v1.9.1
...
Bump version to v1.9.1
2023-09-19 15:22:21 +01:00
Charis Kyriakou
651bc51ed6
Only download automodel query pack when relevant ( #2830 )
2023-09-19 15:11:15 +01:00
github-actions[bot]
dea6426c0b
Bump version to v1.9.1
2023-09-19 13:49:34 +00:00
Koen Vlaswinkel
96a8bea50a
Fix incorrect ReturnType instead of ReturnValue
2023-09-19 15:29:45 +02:00
Robert
297260af88
Merge pull request #2828 from github/v1.9.0
...
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
Release v1.9.0
2023-09-19 13:43:40 +01:00
Robert
26450e9236
Disable unit tests using MockGitHubApiServer
2023-09-19 11:37:25 +01:00
Robert
8d74933c70
v1.9.0
2023-09-19 10:13:20 +01:00
Robert
8136328ad6
Change node version to 18.15.0
2023-09-19 10:11:55 +01:00
Robert
d3df14f860
Merge pull request #2827 from github/robertbrignull/any/stderr
...
Avoid use of "as any" during error handling
2023-09-19 09:52:51 +01:00
Robert
31e233cc59
Add getChildProcessErrorMessage
2023-09-18 16:34:20 +01:00
Robert
23641a01d9
Avoid checking err.stderr when it's not necessary
2023-09-18 16:33:54 +01:00
Robert
209edf86e7
Merge pull request #2825 from github/robertbrignull/any/preview.ts
...
Avoid using "as any" in .storybook/preview.ts
2023-09-18 16:32:42 +01:00
Robert
3d410c9ce2
Merge pull request #2826 from github/robertbrignull/any/deploy.ts
...
Avoid use of "as any" in gulpfile.ts/deploy.ts
2023-09-18 16:27:28 +01:00
Robert
ef38ffaa6d
Move resolution of package.json path to inside deployPackage
2023-09-18 15:49:06 +01:00
Robert
f195e93d91
Import type of package.json
2023-09-18 15:47:37 +01:00
Robert
26c301603d
Include .storybook in deadcode detection
2023-09-18 15:36:56 +01:00
Robert
b9367095cf
Avoid use of "as any" in gulpfile.ts/deploy.ts
2023-09-18 15:26:18 +01:00
Robert
3d415d2852
Avoid using "as any" in preview.ts
2023-09-18 15:14:28 +01:00
Robert
1b0f0f4566
Merge pull request #2823 from github/robertbrignull/model-editor-changelog
...
Add changelog entry for model editor
2023-09-18 09:56:45 +01:00
Robert
1c81eb1b07
Merge pull request #2822 from github/robertbrignull/model-editor-feature-flag
...
Remove codeQL.model.editor feature flag
2023-09-18 09:56:32 +01:00
Robert
f183703b34
Add link to PR
2023-09-15 14:20:35 +01:00
Robert
49a3b534ae
Add changelog entry for model editor
2023-09-15 14:19:38 +01:00
Koen Vlaswinkel
d83ca35f0c
Merge pull request #2817 from github/koesie10/model-editor-row-tests
...
Add tests for model editor row and grid components
2023-09-15 14:04:53 +02:00
Koen Vlaswinkel
8bc8ffe1a1
Merge pull request #2820 from github/koesie10/cleanup-temp-directories
...
Cleanup temporary directories in model editor
2023-09-15 14:04:42 +02:00
Robert
ea2454742c
Remove codeQL.model.editor feature flag
2023-09-15 12:22:22 +01:00
Koen Vlaswinkel
d970b51a7c
Merge pull request #2814 from github/koesie10/test-model-editor-view
...
Add simple test for ModelEditorView
2023-09-15 13:19:13 +02:00
Koen Vlaswinkel
69f5d2c134
Cleanup model editor query dir after use
2023-09-15 11:59:11 +02:00
Koen Vlaswinkel
4d4a72bddb
Cleanup automodel temporary pack after use
2023-09-15 11:59:11 +02:00
Koen Vlaswinkel
ac9355edd1
Rename restoreView test and add comment
2023-09-15 11:26:25 +02:00
Koen Vlaswinkel
2a9c8ef9dd
Merge pull request #2816 from github/koesie10/simple-model-editor-react-tests
...
Add some simple model editor React unit tests
2023-09-15 11:22:37 +02:00
Koen Vlaswinkel
48f0b92d67
Merge pull request #2819 from github/github-action/bump-cli
...
Bump CLI Version to v2.14.5 for integration tests
2023-09-15 10:16:46 +02:00
Koen Vlaswinkel
57dcf58518
Merge pull request #2813 from github/koesie10/use-app-in-webview
...
Use `App` instead of `ExtensionContext` for webviews
2023-09-15 10:12:34 +02:00
github-actions[bot]
43efc9cc4c
Bump CLI version from v2.14.4 to v2.14.5 for integration tests
2023-09-14 15:17:49 +00:00
Koen Vlaswinkel
17e0291bb5
Add tests for MethodRow
2023-09-14 14:41:03 +02:00
Koen Vlaswinkel
499060d549
Add tests for ModeledMethodDataGrid
2023-09-14 14:24:24 +02:00
Koen Vlaswinkel
a359fd7054
Add tests for ModeledMethodsList
2023-09-14 14:11:40 +02:00
Koen Vlaswinkel
d3a9426411
Add story and tests for LibraryRow
2023-09-14 14:06:36 +02:00
Koen Vlaswinkel
72faf86678
Add some simple model editor React unit tests
2023-09-14 13:45:45 +02:00
Koen Vlaswinkel
7f20921984
Add simple test for ModelEditorView
2023-09-14 12:20:01 +02:00
Koen Vlaswinkel
d7565fb849
Use App instead of ExtensionContext for webviews
2023-09-14 12:03:18 +02:00
Robert
9175449323
Merge pull request #2811 from github/robertbrignull/fix-jump-to-usage
...
Fix jumping to usage and updating method modeling panel
2023-09-13 13:07:24 +01:00
Robert
c8487c9431
Fix jumping to usage and updating method modeling panel
2023-09-13 12:41:53 +01:00
Robert
93fc90fcd0
Merge pull request #2790 from github/dependabot/github_actions/actions/checkout-4
...
Bump actions/checkout from 3 to 4
2023-09-12 16:53:57 +01:00
Robert
0a705a6bfa
Merge pull request #2808 from github/robertbrignull/rename_hideModeledMethods_code
...
Rename hideModeledApis => hideModeledMethods throughout the code
2023-09-12 16:48:46 +01:00
Robert
b424157ab0
Merge pull request #2806 from github/robertbrignull/rename_externalApiUsages
...
Renames remaining references to "external API usage" in the code
2023-09-12 16:45:51 +01:00
github-actions[bot]
8c13124dfd
Bump CLI version from v2.14.3 to v2.14.4 for integration tests ( #2809 )
...
Co-authored-by: github-actions[bot] <github-actions@github.com >
2023-09-12 15:13:34 +00:00
Robert
cbf0f279b9
Update extensions/ql-vscode/src/model-editor/model-editor-view.ts
2023-09-12 15:53:24 +01:00
Robert
a5b22fd0b9
Update extensions/ql-vscode/test/unit-tests/model-editor/bqrs.test.ts
2023-09-12 15:50:48 +01:00
Robert
c6736e8576
Merge pull request #2807 from github/robertbrignull/rename_hideModeledMethods_checkbox
...
Rename checkbox for hide modeled APIs => methods
2023-09-12 15:47:45 +01:00
Nick Rolfe
acf7270e39
Relax 'resolve ram' test ( #2805 )
2023-09-12 14:35:42 +01:00
Robert
3ae55e92b8
Rename hideModeledApis => hideModeledMethods throughout
2023-09-12 14:30:22 +01:00
Robert
c3fa83f301
Rename checkbox for hide modeled APIs => methods
2023-09-12 14:18:28 +01:00
Robert
9018cac91a
Rename decodeBqrsToExternalApiUsages => decodeBqrsToMethods
2023-09-12 14:02:23 +01:00
Robert
aec742a508
Rename loadExternalApiUsages => loadMethods
2023-09-12 13:59:29 +01:00
Robert
64f6a770c3
Merge pull request #2800 from github/robertbrignull/num-hidden-methods
...
Add a row to the model editor tables showing how many methods have been hidden
2023-09-12 11:38:48 +01:00
Koen Vlaswinkel
7a2b61432c
Merge pull request #2804 from github/koesie10/source-archive-model-editor
...
Do not add source archive folder for "Model dependency"
2023-09-12 12:10:58 +02:00
Robert
b04ecc959a
Use pluralize
2023-09-12 10:18:26 +01:00
Robert
3ee16f88f2
Pull out props to separate variables instead of referencing props.foo
2023-09-12 10:14:10 +01:00
github-actions[bot]
ca079e085d
Bump version to v1.8.13 ( #2803 )
...
Co-authored-by: github-actions[bot] <github-actions@github.com >
2023-09-11 14:52:33 +00:00
Koen Vlaswinkel
c93dd7a25b
Do not add source archive folder for "Model dependency"
2023-09-11 15:45:46 +02:00
Shati Patel
9925b4e3bc
v1.8.12 ( #2801 )
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
2023-09-11 14:02:23 +01:00
Koen Vlaswinkel
27f46062ae
Merge pull request #2799 from github/koesie10/upgrade-semver
...
Upgrade transitive semver dependencies
2023-09-11 13:08:48 +02:00
Robert
e379320015
Add row showing how many methods are hidden
2023-09-11 11:57:18 +01:00
Robert
bbacb147d2
Hide table entirely if there aren't any non-hidden methods
2023-09-11 11:56:33 +01:00
Robert
58d38ff867
Move calculation of hidden/modelable rows into ModeledMethodDataGrid
2023-09-11 11:52:37 +01:00
Koen Vlaswinkel
90972defed
Upgrade transitive semver dependencies
2023-09-11 10:51:07 +02:00
Andrew Eisenberg
3a8028cb6f
Merge pull request #2786 from github/aeisenberg/extensible-predicate-metadata
...
Copy more files into the synthetic variant analysis pack
2023-09-08 09:38:49 -07:00
Koen Vlaswinkel
6e802b1212
Merge pull request #2798 from github/koesie10/group-framework-mode-models
...
Group framework mode model files by package
2023-09-08 17:17:53 +02:00
Koen Vlaswinkel
c868bdcdec
Merge pull request #2797 from github/koesie10/sort-methods-alphabetically
...
Sort methods alphabetically
2023-09-08 16:54:52 +02:00
Koen Vlaswinkel
b1412912ec
Merge pull request #2795 from github/koesie10/switch-mode-loading
...
Set loading state when switching between modes
2023-09-08 16:54:27 +02:00
Koen Vlaswinkel
708c5bc3ef
Group framework mode model files by package
2023-09-08 16:08:13 +02:00
Koen Vlaswinkel
6f020d4b33
Sort methods alphabetically
2023-09-08 14:41:19 +02:00
Anders Starcke Henriksen
1b7a68a43e
Merge pull request #2791 from github/starcke/model-editor-test-plan
...
Test plan for model editor.
2023-09-08 14:38:01 +02:00
Shati Patel
8f7befd031
Make "databases" the top panel in the CodeQL sidebar ( #2796 )
2023-09-08 12:23:01 +00:00
Koen Vlaswinkel
3157ffab88
Set empty array in ModelEditorView
2023-09-08 14:20:45 +02:00
Koen Vlaswinkel
bf024943a8
Merge pull request #2794 from github/koesie10/improve-model-editor
...
Improve responsiveness of model editor
2023-09-08 13:40:29 +02:00
Koen Vlaswinkel
b0eab8b9fe
Set loading state when switching between modes
2023-09-08 13:34:08 +02:00
Koen Vlaswinkel
72ab83f15b
Remove createLockFile argument
2023-09-08 12:56:02 +02:00
Koen Vlaswinkel
567cb10a57
Merge pull request #2793 from github/koesie10/feature-flag-flow-generation
...
Add feature flag for flow generation
2023-09-08 12:48:59 +02:00
Koen Vlaswinkel
13c2f5979e
Add feature flag for flow generation
2023-09-08 12:07:27 +02:00
Koen Vlaswinkel
cecd8033bb
Improve responsiveness of model editor
2023-09-08 12:06:26 +02:00
Anders Starcke Henriksen
35dfebd353
Fix linter.
2023-09-08 10:28:56 +02:00
Anders Starcke Henriksen
6e50d4af7b
Address feedback.
2023-09-08 10:20:15 +02:00
Anders Starcke Henriksen
f8a90e5fba
Update docs/test-plan.md
...
Co-authored-by: Koen Vlaswinkel <koesie10@users.noreply.github.com >
2023-09-08 10:01:02 +02:00
Robert
45312865b1
Merge pull request #2782 from github/robertbrignull/calculateModeledPercentage
...
Change calculateModeledPercentage to accept Method instead of using Pick
2023-09-07 16:51:53 +01:00
Robert
0897cdd96d
Merge branch 'main' into dependabot/github_actions/actions/checkout-4
2023-09-07 16:37:03 +01:00
Robert
2e45dcd7b9
Merge pull request #2777 from github/robertbrignull/model-remove-disableAutoNameExtensionPack
...
Remove the disableAutoNameExtensionPack feature flag
2023-09-07 16:35:59 +01:00
Robert
4b93d341fe
Merge pull request #2784 from github/robertbrignull/saving-progress
...
Make progress notifications more useful when calling loadExternalApiUsages
2023-09-07 16:35:28 +01:00
Robert
5922bdf0e0
Merge pull request #2785 from github/robertbrignull/in-progress-dropdown
...
Adjust styling of disabled dropdowns when automodeling is in progress
2023-09-07 16:31:15 +01:00
dependabot[bot]
709c49542e
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 13:19:53 +00:00
Anders Starcke Henriksen
860507dfa5
Merge pull request #2789 from github/version/bump-to-v1.8.12
...
Bump version to v1.8.12
2023-09-07 15:16:15 +02:00
github-actions[bot]
3a07e143de
Bump version to v1.8.12
2023-09-07 12:40:41 +00:00
Anders Starcke Henriksen
baf959efa9
Test plan for model editor.
2023-09-07 14:35:17 +02:00
Anders Starcke Henriksen
df5a7bce19
Merge pull request #2788 from github/v1.8.11
...
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.8.11
2023-09-07 13:51:35 +02:00
Anders Starcke Henriksen
1b3dc7d132
v1.8.11
2023-09-07 13:31:03 +02:00
Andrew Eisenberg
d8fb227cc7
Fix failing test
2023-09-05 14:49:36 -07:00
Andrew Eisenberg
767051e43f
Update changelog
2023-09-05 13:31:18 -07:00
Andrew Eisenberg
d264bca304
Copy more files into the synthetic variant analysis pack
...
Before this change and starting with CLI v2.14.3, if you wanted to run
a variant analysis query and the pack it is contained in has at least
one query that contains an extensible predicate, this would be an error.
The reason is that v2.14.3 introduced deep validation for data
extensions. We are not copying the query that contains an extensible
predicate to the synthetic pack we are generating. This means that deep
validation will fail because there will be extensions that target the
missing extensible predicate.
This change avoids the problem by copying any query files that contain
extensible predicates to the synthetic pack. It uses the internal
`generate extensible-predicate-metadata` command to discover which
query files contain extensible predicates and copies them.
2023-09-05 13:28:53 -07:00
Robert
a2f1710aa5
Add story for when modeling is in progress
2023-09-05 16:58:10 +01:00
Robert
fd1c7f338d
Make onChange optional
2023-09-05 16:58:10 +01:00
Robert
040a91a6d7
Use custom disabled placeholder text for InProgressDropdown
2023-09-05 16:58:10 +01:00
Robert
1e2acb0acb
Clarify progress message from loadExternalApiUsages
2023-09-05 16:53:01 +01:00
Robert
2171ec1a03
Include cliServer.resolveQlpacks in the progress notification so there isn't a gap with no updates
2023-09-05 16:48:25 +01:00
Robert
8407516b31
Move progress notification to cover entire saveModeledMethods message handler
2023-09-05 16:45:50 +01:00
Robert
899cfb058c
Store externalApiQueriesProgressMaxStep as a constant
2023-09-05 16:43:31 +01:00
Robert
95e4b04471
Move custom progress editing from loadExternalApiUsages into runExternalApiQueries
2023-09-05 16:43:03 +01:00
Robert
816b66c57c
Move withProgress out of loadExternalApiUsages
2023-09-05 16:36:01 +01:00
Robert
247ba4e8ea
Merge pull request #2779 from github/robertbrignull/dropdown-disabled
...
Adjust styling of disabled dropdowns to make their state clearer
2023-09-05 16:20:40 +01:00
Robert
a1c6a3a642
Change calculateModeledPercentage to accept Method instead of using Pick
2023-09-05 15:23:31 +01:00
Robert
e9a2028c10
Delete askForWorkspaceFolder
2023-09-05 11:03:01 +01:00
Shati Patel
a3ce9f516a
Queries Panel: Create query from welcome view ( #2780 )
2023-09-05 10:34:38 +01:00
Robert
f6b3f28039
Merge pull request #2781 from github/robertbrignull/model-editor-telemetry
...
Emit telemetry for all messages sent from model editor
2023-09-05 10:04:14 +01:00
Robert
ba423376cd
Emit telemetry for all messages sent from model editor
2023-09-04 17:13:29 +01:00
Robert
e9b459adaf
Merge pull request #2778 from github/robertbrignull/MethodRow_stories
...
Provide stories for all states of MethodRow
2023-09-04 15:42:59 +01:00
Robert
074f3fb402
Move dropdown arrow away from the right-hand edge
2023-09-04 15:23:21 +01:00
Robert
c316d52514
Set opacity to 40% when disabled
2023-09-04 15:23:03 +01:00
Robert
9af0239041
Show a dash when dropdown is disabled
2023-09-04 15:22:52 +01:00
Robert
5cf6786e9c
Merge branch 'main' into robertbrignull/MethodRow_stories
2023-09-04 14:19:35 +01:00
Charis Kyriakou
09077a0e24
Rename ExternalApiUsage to Method ( #2776 )
2023-09-04 14:10:10 +02:00
Robert
47c897e9bd
Include stories for all modeled method types
2023-09-04 11:12:07 +01:00
Robert
096e6e8ffd
Wrap MethodRow in a VSCodeDataGrid during story
2023-09-04 11:00:55 +01:00
Robert
480fa517ea
Remove the disableAutoNameExtensionPack feature flag
2023-09-04 10:16:08 +01:00
Charis Kyriakou
2d033bff57
Update jump to usage to include the method ( #2773 )
2023-09-01 13:30:54 +01:00
Robert
1861692055
Merge pull request #2768 from github/robertbrignull/mocked-treeview
...
Use mockedObject for TreeView
2023-09-01 12:41:27 +01:00
Charis Kyriakou
ac7a37c02e
Add ability to set method for modeling in the modeling panel ( #2767 )
2023-09-01 11:16:10 +00:00
Robert
b5d6c4d84c
Merge pull request #2771 from github/robertbrignull/normalize-feature-flag
...
Make methodModelingView match the naming of other flags
2023-09-01 11:05:10 +01:00
Anders Starcke Henriksen
cdd6553735
Merge pull request #2772 from github/starcke/fix-rename-comment
...
Fix a comment that should be renamed.
2023-09-01 11:52:00 +02:00
Anders Starcke Henriksen
6bb0854ff2
Fix a comment that should be renamed.
2023-09-01 11:26:33 +02:00
Robert
c51aaf7790
Make methodModelingView match the other flags
2023-09-01 10:19:12 +01:00
Anders Starcke Henriksen
a6745379c4
Merge pull request #2766 from github/starcke/rename-ff
...
Rename feature flags.
2023-09-01 10:35:28 +02:00
Robert
1178e4c3ae
Merge pull request #2770 from github/robertbrignull/model-beta-label
...
Add beta label to model editor
2023-08-31 15:49:27 +01:00
Robert
59c567a8fa
Add beta label to model editor
2023-08-31 15:25:54 +01:00
Shati Patel
4f2b46aa85
Add "create query" button to queries panel ( #2764 )
2023-08-31 15:02:25 +01:00
Shati Patel
66f12bfbef
Make the "Create query" location workspace-specific ( #2769 )
2023-08-31 15:02:10 +01:00
Robert
2b5d233847
Use mockedObject for TreeView
2023-08-31 12:01:49 +01:00
Robert
11ca60f213
Merge pull request #2738 from github/robertbrignull/useScrollIntoView
...
Convert ScrollIntoViewHelper into a React hook
2023-08-31 10:58:50 +01:00
Robert
dea6bc257a
Merge branch 'main' into robertbrignull/useScrollIntoView
2023-08-31 10:37:16 +01:00
Charis Kyriakou
26b602399a
Extract external api usage name component and reuse it ( #2765 )
2023-08-31 10:12:19 +01:00
Anders Starcke Henriksen
0836307f29
Rename feature flags.
2023-08-31 09:46:22 +02:00
Anders Starcke Henriksen
e61f619f8f
Merge pull request #2763 from github/starcke/rename-vars
...
Starcke/rename vars
2023-08-31 09:17:20 +02:00
Nora
fad674b1c5
Merge pull request #2760 from github/nora/add-components-to-modeling-panel
...
Adds container and header css to new method model sidebar
2023-08-30 17:37:34 +02:00
Nora
4d2856699b
polish
2023-08-30 15:14:51 +00:00
Shati Patel
b51d027b0c
Make "create query" command available when queries panel is enabled ( #2762 )
2023-08-30 16:09:39 +01:00
Nora
595249a9d6
Addning props and minor changes
2023-08-30 15:05:11 +00:00
Anders Starcke Henriksen
00b3ea473c
Misc renames.
2023-08-30 16:36:17 +02:00
Anders Starcke Henriksen
46f80efa4c
Rename in strings.
2023-08-30 16:36:17 +02:00
Anders Starcke Henriksen
05a7d933d1
Rename DataExtensionsEditor
2023-08-30 16:36:17 +02:00
Anders Starcke Henriksen
6da39ee79f
Rename "DataExtensionEditor".
2023-08-30 16:36:17 +02:00
Anders Starcke Henriksen
bb4d97999e
Merge pull request #2761 from github/starcke/rename-files2
...
Rename files.
2023-08-30 16:35:52 +02:00
Anders Starcke Henriksen
af3434b87c
Remove spurious theme.
2023-08-30 16:08:42 +02:00
Nora
083b232bb3
Fix merge conflict
2023-08-30 13:35:03 +00:00
Nora
a65c91c84e
Add Container and Header
2023-08-30 13:33:32 +00:00
Anders Starcke Henriksen
23f8c48b06
Rename files.
2023-08-30 15:06:45 +02:00
Anders Starcke Henriksen
7fbb1286b9
Merge pull request #2759 from github/starcke/rename-files
...
Starcke/rename files
2023-08-30 14:50:51 +02:00
Anders Starcke Henriksen
571e6f285f
Update webview enum.
2023-08-30 13:59:51 +02:00
Anders Starcke Henriksen
e64cf4073c
Rename data-extension-editor files.
2023-08-30 13:46:48 +02:00
Anders Starcke Henriksen
e3a2a11b3d
Merge pull request #2754 from github/starcke/rename-directories
...
Starcke/rename directories
2023-08-30 09:11:00 +02:00
Anders Starcke Henriksen
9b121d56c2
Merge branch 'main' into starcke/rename-directories
2023-08-29 15:38:08 +02:00
Anders Starcke Henriksen
b548bbd43b
Merge pull request #2758 from github/starcke/more-java-update
...
Change the java query to work for multiple java versions.
2023-08-29 15:37:28 +02:00
Anders Starcke Henriksen
ccdb46a1bb
Merge branch 'main' into starcke/rename-directories
2023-08-29 15:16:33 +02:00
Anders Starcke Henriksen
d1a342beaf
Merge pull request #2757 from github/starcke/automodel-pack
...
Use auto-model pack to run auto-model queries.
2023-08-29 15:12:03 +02:00
Anders Starcke Henriksen
eeac123ee5
Update non-build references.
2023-08-29 14:39:22 +02:00
Anders Starcke Henriksen
73c596c87a
Rename other directories.
2023-08-29 14:38:18 +02:00
Anders Starcke Henriksen
c6f40b3152
Rename main directory.
2023-08-29 14:38:18 +02:00
Anders Starcke Henriksen
3a0843219e
Change the java query to work for multiple java versions.
2023-08-29 13:57:16 +02:00
Anders Starcke Henriksen
b00a2cc803
Use auto-model pack to run auto-model queries.
2023-08-29 13:39:44 +02:00
Anders Starcke Henriksen
14b9f932ab
Merge pull request #2731 from github/starcke/no-submodule
...
Make automodel and flow queries work without submodule.
2023-08-29 12:45:22 +02:00
Anders Starcke Henriksen
f3e32baec4
Update extensions/ql-vscode/src/data-extensions-editor/external-api-usage-queries.ts
...
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com >
2023-08-29 11:45:32 +02:00
Anders Starcke Henriksen
20e5429af8
Merge pull request #2755 from github/starcke/fix-neutral-fetch
...
Fix ql code in neutral fetch.
2023-08-29 09:29:59 +02:00
Dave Bartolomeo
d23178be85
Merge pull request #2756 from github/github-action/bump-cli
...
Bump CLI Version to v2.14.3 for integration tests
2023-08-28 12:18:48 -04:00
Andrew Eisenberg
b09e9942b2
Add more path triggers for cli-test.yml
2023-08-28 15:25:00 +00:00
github-actions[bot]
fc5cfd0aec
Bump CLI version from v2.14.2 to v2.14.3 for integration tests
2023-08-28 13:45:42 +00:00
Anders Starcke Henriksen
259159df45
Add missing pack download and fix lock file creation.
2023-08-28 13:22:03 +02:00
Anders Starcke Henriksen
bc7c97e216
Fix ql code in neutral fetch.
2023-08-28 09:42:04 +02:00
Charis Kyriakou
af22a1573b
Add new method modeling panel ( #2752 )
2023-08-25 15:47:57 +00:00
Anders Starcke Henriksen
d2eb366e74
Make automodel and flow queries work without submodule.
2023-08-25 14:57:54 +02:00
Anders Starcke Henriksen
6a6028bf63
Merge pull request #2746 from github/starcke/update-editor-name
...
Update editor name in visible strings.
2023-08-25 14:13:19 +02:00
Charis Kyriakou
3c7e1fc192
Remove codeQL.dataExtensions.frameworkMode setting ( #2753 )
2023-08-25 11:28:21 +00:00
Anders Starcke Henriksen
0433f899fd
Merge pull request #2750 from github/starcke/fetch-queries-out-of-view
...
Starcke/fetch queries out of view
2023-08-25 13:25:04 +02:00
Charis Kyriakou
c82f00eb45
Rename ModelDetail to MethodsUsage in types and functions ( #2751 )
2023-08-25 11:06:21 +01:00
Shati Patel
94edb9bf16
Merge pull request #2749 from github/shati-patel/implement-dropdown
...
Make "result format" dropdown determine result display
2023-08-25 10:52:23 +01:00
Shati Patel
4a87a6fddf
Merge pull request #2745 from github/shati-patel/result-format-view
...
Display "result format" dropdown in results view for (path-)problem queries
2023-08-25 09:46:54 +01:00
Anders Starcke Henriksen
9543ab339f
Update tests.
2023-08-25 09:50:01 +02:00
Anders Starcke Henriksen
398f16c4cb
Change fetch queries to use shared methods.
2023-08-25 09:49:57 +02:00
Anders Starcke Henriksen
ea14767f2a
Rename methods in fetch queries.
2023-08-25 09:28:46 +02:00
Anders Starcke Henriksen
b6deb8e0ea
Merge pull request #2744 from github/starcke/general-setup
...
Move pack setup out of fetch queries.
2023-08-25 09:26:01 +02:00
Nora
7b78fc1dd9
Merge pull request #2748 from github/nora/rename-method-usages-folder
...
Rename methods usage folder and command
2023-08-24 20:02:28 +02:00
shati-patel
0ccd39a368
Update changelog
2023-08-24 17:37:40 +01:00
shati-patel
24b93e247c
Make "result format" dropdown determine result display
2023-08-24 17:28:54 +01:00
Nora
6e3b0b245c
Merge pull request #2747 from github/nora/rename-model-details-files
...
Rename methods usage panel files
2023-08-24 18:12:39 +02:00
Nora
6939caa6a5
Rename command and folders
2023-08-24 15:22:13 +00:00
Nora
2e8e7cae47
Rename files only
2023-08-24 15:13:01 +00:00
shati-patel
f8d542d141
Only show the "result format" dropdown for (path-)problem queries
2023-08-24 15:44:08 +01:00
shati-patel
6715669036
Add "result format" dropdown to MRVA view
2023-08-24 15:44:07 +01:00
Shati Patel
c38a01e937
Add a dropdown for choosing MRVA result format ( #2743 )
2023-08-24 14:42:44 +00:00
Anders Starcke Henriksen
74a12b9fed
Move test to separate file.
2023-08-24 16:16:24 +02:00
Anders Starcke Henriksen
906af36337
Update editor name in visible strings.
2023-08-24 16:07:33 +02:00
Anders Starcke Henriksen
359e23fc59
Fix test.
2023-08-24 13:53:34 +02:00
Anders Starcke Henriksen
b13dd7545c
Merge branch 'main' into starcke/general-setup
2023-08-24 13:45:00 +02:00
Anders Starcke Henriksen
ac0dfa5e83
Merge pull request #2742 from github/starcke/flow-queries-refactor
...
Starcke/flow queries refactor
2023-08-24 13:38:13 +02:00
Shati Patel
2ffb7894d4
Always read BQRS results file ( #2741 )
2023-08-24 12:11:51 +01:00
Nora
422f6de05e
Merge pull request #2735 from github/nora/test-model-details-view
...
Add tests for Model Details View
2023-08-24 12:33:51 +02:00
Shati Patel
ee88ea1658
Store query @kind when running a variant analysis ( #2740 )
2023-08-24 10:18:20 +01:00
Nora
0daa06bc0d
rename test and remove boolean type
2023-08-24 08:58:37 +00:00
Anders Starcke Henriksen
c584d02805
Merge pull request #2734 from github/starcke/automodel-queries-refactor
...
Starcke/automodel queries refactor
2023-08-24 09:57:32 +02:00
Nora
c56936e2f6
create and use factories
2023-08-23 16:06:30 +00:00
Anders Starcke Henriksen
1fc735639b
Merge pull request #2733 from github/starcke/refactor-names
...
Rename query files to have consistent suffix.
2023-08-23 12:58:18 +02:00
Charis Kyriakou
0352629eb4
Rename WebviewView to WebviewKind ( #2739 )
2023-08-23 11:27:58 +01:00
Anders Starcke Henriksen
877fc51494
Move pack setup out of fetch queries.
2023-08-23 11:27:18 +02:00
Anders Starcke Henriksen
886f211441
Change flow queries to use shared methods.
2023-08-23 11:27:03 +02:00
Anders Starcke Henriksen
75d275c93f
Rename methods in flow queries.
2023-08-23 11:27:03 +02:00
Anders Starcke Henriksen
5d1fa1d6b5
Reorder methods in flow queries.
2023-08-23 11:27:03 +02:00
Anders Starcke Henriksen
4fce448717
Address comments.
2023-08-23 11:26:23 +02:00
Robert
610c936690
Add useScrollIntoView hook
2023-08-22 17:01:25 +01:00
Robert
d777427c0a
Merge pull request #2737 from github/robertbrignull/AlertTable-functional
...
Convert AlertTable to a function component
2023-08-22 16:59:00 +01:00
Charis Kyriakou
81924af1e4
Don't download artifacts for repos with no results in MRVA ( #2736 )
...
* Don't download artifacts for repos with no results
* Remove getVariantAnalysisRepoResult requests for repos with no results
* Run fix-scenario-file-numbering for mrva-problem-query-success scenario
* Update CHANGELOG
2023-08-22 16:23:40 +01:00
Nora
45f7d22d2a
Add reveal test
2023-08-22 13:11:46 +00:00
Robert
dcef43c6d5
Convert updateSelectionCallback to use useCallback
2023-08-22 14:08:14 +01:00
Robert
160642ec73
Convert toggle to use useCallback
2023-08-22 14:07:54 +01:00
Robert
240dd51dc0
Convert handleNavigationEvent to use useCallback
2023-08-22 14:07:54 +01:00
Robert
ad42b060b7
Decompose props earlier
2023-08-22 14:07:54 +01:00
Robert
23b2327bd0
Convert AlertTable to a function component
2023-08-22 14:07:52 +01:00
Robert
450d294bab
Move render to the end of the component
2023-08-22 14:04:48 +01:00
Robert
4e376063ee
Move getNewSelection to before it is used
2023-08-22 14:02:56 +01:00
Anders Starcke Henriksen
39cb219e56
Fix broken reference in test.
2023-08-22 14:53:04 +02:00
Anders Starcke Henriksen
e01fb9172f
Update tests.
2023-08-22 14:23:26 +02:00
Anders Starcke Henriksen
1764151bf7
Change automodel queries to use shared methods.
2023-08-22 14:20:59 +02:00
Anders Starcke Henriksen
82c40c69e6
Add generalized run query method.
2023-08-22 14:18:19 +02:00
Anders Starcke Henriksen
1a34d782e8
Reorder methods in automodel queries.
2023-08-22 14:16:18 +02:00
Anders Starcke Henriksen
08c1b57661
Rename query files to have consistent suffix.
2023-08-22 14:06:22 +02:00
Robert
5fc34248b3
Merge pull request #2732 from github/robertbrignull/AlertTable-decompose
...
Split AlertTable into smaller components
2023-08-22 12:24:12 +01:00
Robert
bee7d81fb4
Merge branch 'main' into robertbrignull/AlertTable-decompose
2023-08-22 11:40:45 +01:00
Charis Kyriakou
3094405f68
Split out CLI version tests to separate workflow ( #2729 )
2023-08-22 11:28:36 +01:00
Nora
392e76d8f2
Add getChildren tests
2023-08-22 08:56:42 +00:00
Nora
6e4e89a006
Move dataProvider creation to beforeEach
2023-08-22 08:56:07 +00:00
Nora
cb2802e2e7
Add mode details panel test
2023-08-22 08:55:25 +00:00
Robert
af1af074dc
Convert updateSelectionCallback to not use double-nested methods
2023-08-21 17:17:37 +01:00
Robert
d65ce3e24a
Use useCallback when calling toggleExpanded
2023-08-21 17:13:49 +01:00
Robert
13ce5f7e3c
Merge pull request #2730 from github/robertbrignull/details-ship
...
Remove config.codeQL.dataExtensions.modelDetailsView feature flag
2023-08-21 14:53:24 +01:00
Robert
eebe11e5dd
Simplify passing similar props
2023-08-21 14:52:42 +01:00
Robert
bd5d361de1
Pass around toggle instead of toggler
2023-08-21 14:26:10 +01:00
Robert
e3596db8e7
Remove rows array and render AlertTableResultRow inline
2023-08-21 14:26:10 +01:00
Robert
21b1c997c6
Move rendering of AlertTablePathRow to inside of AlertTableResultRow
2023-08-21 14:26:09 +01:00
Robert
9ecf97152a
Move rendering of msg to inside AlertTableResuiltRow
2023-08-21 14:25:42 +01:00
Robert
3983087bc8
Use useMemo for callback passed to SarifLocation.onClick in AlertTableResultRow
2023-08-21 14:25:08 +01:00
Robert
636d0bf025
Move rendering of locationCells to inside AlertTableResuiltRow
2023-08-21 14:25:08 +01:00
Robert
fe4d87dae5
Teach AlertTableResultRow how to render results without codeFlows
2023-08-21 14:25:06 +01:00
Robert
1794c6b7f7
Simplify rendering in AlertTable
2023-08-21 14:24:36 +01:00
Robert
23d815ff05
Use useMemo for callback passed to AlertTableDropdownIndicatorCell.onClick in AlertTableResultRow
2023-08-21 14:24:25 +01:00
Robert
8945abcb57
Pull out AlertTableResultRow to a separate component
2023-08-21 14:23:57 +01:00
Robert
a576dace04
Do all rendering in AlertTablePathRow in one place
2023-08-21 14:23:05 +01:00
Robert
3e7577c984
Use useMemo for callback passed to AlertTableDropdownIndicatorCell.onClick in AlertTablePathRow
2023-08-21 14:21:58 +01:00
Robert
acb76a64ef
Pull out AlertTablePathRow to a separate component
2023-08-21 14:20:45 +01:00
Robert
ba0cf9a22d
Use useMemo for callback passed to SarifLocation.onClick in AlertTablePathNodeRow
2023-08-21 14:19:54 +01:00
Robert
443c9ac56c
Inline some rendering in AlertTablePathNodeRow
2023-08-21 14:19:53 +01:00
Robert
91e69c93be
Pull out AlertTablePathNodeRow to a separate component
2023-08-21 14:19:53 +01:00
Robert
7e31b6e42a
Construct rows using maps instead of mutating array from multiple places
2023-08-21 14:19:52 +01:00
Robert
cff7170fdc
Move AlertTableTruncatedMessage to a new component in a new file
2023-08-21 14:17:47 +01:00
Robert
ca40963238
Move AlertTableNoResults to a new component in a new file
2023-08-21 14:17:45 +01:00
Robert
b1ff75b646
Remove config.codeQL.dataExtensions.modelDetailsView feature flag
2023-08-21 12:32:45 +01:00
Robert
e5ab1118ee
Merge pull request #2719 from github/koesie10/fix-button-accessibility
...
Fix button accessibility
2023-08-21 11:48:36 +01:00
Robert
d90fb69e39
Merge branch 'main' into koesie10/fix-button-accessibility
2023-08-21 11:11:35 +01:00
Robert
2f4eed4a4d
Merge pull request #2726 from github/koesie10/fix-alert-table-accessibility
...
Fix accessibility of alert table
2023-08-21 11:04:41 +01:00
Nora
2cb520d603
Merge pull request #2717 from github/nora/hide-modeled-on-model-details-view
...
Respect the "Hide modeled APIs" checkbox in the model details view
2023-08-21 11:09:48 +02:00
Charis Kyriakou
4a752d27c4
Moves mock GitHub API to /common ( #2728 )
...
* Move mock GitHub API to /common
* Rename MRVA mock scenarios
* Update mock GitHub API docs
2023-08-21 08:49:27 +01:00
Nora
6cfd20eca4
Set hodeModeledApis variable
2023-08-21 07:29:37 +00:00
dependabot[bot]
36259b21db
Bump @testing-library/jest-dom in /extensions/ql-vscode ( #2723 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.5 to 6.0.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.5...v6.0.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com >
2023-08-18 15:39:28 +01:00
dependabot[bot]
cd14a37f79
Bump lint-staged from 13.2.0 to 14.0.0 in /extensions/ql-vscode ( #2722 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 13.2.0 to 14.0.0.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v13.2.0...v14.0.0 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com >
2023-08-18 14:55:10 +01:00
Koen Vlaswinkel
d6e0c6a4a7
Fix accessibility of alert table dropdown
2023-08-18 13:28:17 +02:00
Koen Vlaswinkel
9f589880df
Split alert table dropdown indicator cell
2023-08-18 13:26:45 +02:00
Koen Vlaswinkel
b7a4419420
Add story for AlertTable
2023-08-18 13:26:19 +02:00
Koen Vlaswinkel
1d2ef805fb
Merge remote-tracking branch 'origin/main' into koesie10/fix-button-accessibility
2023-08-18 10:03:54 +02:00
Koen Vlaswinkel
2888fddf61
Move all ResultTablesHeader styles to styled-components
2023-08-18 10:03:36 +02:00
Koen Vlaswinkel
a5c675b8c7
Add story for ResultTablesHeader
2023-08-18 09:58:34 +02:00
Shati Patel
d05dba4bba
Fix changelog entry ( #2725 )
2023-08-17 16:13:40 +00:00
Shati Patel
2db0ca8ecc
Group extension settings in the VS Code UI ( #2706 )
2023-08-17 16:48:15 +01:00
Robert
497dc31819
Merge pull request #2716 from github/robertbrignull/data-renames
...
Rename files in src/view/results to match their components
2023-08-17 15:23:38 +01:00
Nora
cd309aece6
Adjust badge number
2023-08-17 12:53:24 +00:00
Nora
aaaf799557
Add test
2023-08-17 12:27:16 +00:00
Nora
ece54b8f7d
Make all setStage arguments mandatory
2023-08-17 12:26:13 +00:00
Nora
0824892507
Move post message and use effect
2023-08-17 11:02:20 +00:00
Nora
082268e201
Rename constant file
2023-08-17 11:00:45 +00:00
Nora
27bce4a1e9
Add tests
2023-08-17 09:19:01 +00:00
Nora
56ecd1a84c
hide unmodeled apis
2023-08-17 09:19:01 +00:00
Nora
84ab602277
Send message from from view
2023-08-17 09:19:01 +00:00
Koen Vlaswinkel
a86a373e19
Merge pull request #2718 from github/koesie10/upgrade-storybook
...
Upgrade Storybook
2023-08-17 10:04:36 +02:00
Koen Vlaswinkel
90a39ec293
Use button instead of a for raw results link
2023-08-16 16:45:51 +02:00
Koen Vlaswinkel
3dd8583116
Use button instead of a for clickable location links
2023-08-16 16:45:47 +02:00
Koen Vlaswinkel
b0663669b0
Use button instead of a for compare table queries
2023-08-16 16:45:44 +02:00
Koen Vlaswinkel
493c9cb5fe
Add story for compare table
2023-08-16 16:45:41 +02:00
Robert
99dd9166b3
Merge pull request #2709 from github/robertbrignull/details-visible
...
Only show the details view when a data extensions editor is open
2023-08-16 15:28:38 +01:00
Koen Vlaswinkel
10604808e0
Upgrade Storybook
2023-08-16 15:45:28 +02:00
Robert
3164c3f11f
Rename results.tsx => ResultsApp.tsx
2023-08-16 13:21:07 +01:00
Robert
ed36fb725b
Rename raw-results-table.tsx => RawTable.tsx
2023-08-16 13:21:07 +01:00
Robert
67b138f0c2
Rename graph.tsx => Graph.tsx
2023-08-16 13:21:04 +01:00
Robert
fed9870a0c
Only show the details view when a data extensions editor is open
2023-08-16 13:06:14 +01:00
Robert
51844bb541
Merge pull request #2705 from github/robertbrignull/details-multiple-editors
...
Allow the details view to handle multiple open data extensions editors
2023-08-16 12:47:44 +01:00
Robert
0acd06f773
Rename alert-table.tsx => AlertTable.tsx
2023-08-16 10:35:59 +01:00
Robert
acb9669e9f
Merge pull request #2714 from github/robertbrignull/EmptyQueryResultsMessage
...
Move EmptyQueryResultsMessage out of results-table-utils
2023-08-16 10:05:58 +01:00
Charis Kyriakou
2a71183695
Start with collapsed items in data extensions editor ( #2713 )
2023-08-15 17:06:12 +01:00
Robert
1c3d3428e4
Merge pull request #2712 from github/robertbrignull/AlertTableHeader-filename
...
Rename alert-table-header.tsx => AlertTableHeader.tsx
2023-08-15 16:58:55 +01:00
Robert
c77bb2b9c2
Rename result-table-utils.tsx => result-table-utils.ts
2023-08-15 16:44:29 +01:00
Robert
d3d96a1dbe
Make EmptyQueryResultsMessage into a component
2023-08-15 16:42:10 +01:00
Robert
7c62176f59
Rename alert-table-header.tsx => AlertTableHeader.tsx
2023-08-15 16:31:55 +01:00
Robert
87754a9ec9
Move mostRecentlyActiveView variable to DataExtensionsEditorModule
2023-08-15 15:36:14 +01:00
Robert
ee78df683a
Add onPanelWasDisposed
2023-08-15 15:16:37 +01:00
Robert
3764a7e567
Split isTheMostRecentlyActivePanel into two methods
2023-08-15 15:14:15 +01:00
Robert
552baa5570
Merge branch 'main' into robertbrignull/details-multiple-editors
2023-08-15 14:57:45 +01:00
Charis Kyriakou
57262446fb
Merge pull request #2711 from github/version/bump-to-v1.8.11
...
Bump version to v1.8.11
2023-08-15 14:07:35 +01:00
Robert
5b128711e5
Merge pull request #2708 from github/robertbrignull/details-updates
...
Only update the details view when data has changed
2023-08-15 14:01:35 +01:00
Robert
6787deed04
Use not.toHaveBeenCalled()
2023-08-15 11:16:44 +01:00
Robert
381e8c0849
Fix test name
2023-08-15 11:15:32 +01:00
github-actions[bot]
74c6f3ce54
Bump version to v1.8.11
2023-08-15 10:08:02 +00:00
Charis Kyriakou
0c2773481a
v1.8.10 ( #2710 )
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
2023-08-15 10:41:34 +01:00
Robert
96660ebbf9
Merge pull request #2702 from github/robertbrignull/ResultTables
...
Convert ResultTables to a function component
2023-08-15 09:45:56 +01:00
Dave Bartolomeo
e308c2b8c9
Merge pull request #2685 from github/shati-patel/get-current-query
...
Fix `getCurrentQuery` to look at active tabs instead of active text editors
2023-08-14 12:35:56 -04:00
Robert
35622a94f2
Move ProblemsViewCheckbox to a separate component
2023-08-14 17:08:13 +01:00
Robert
2ff0ee58fc
Move ResultCount to a separate component
2023-08-14 16:54:33 +01:00
Alexander Eyers-Taylor
a965ea4044
Graph: Set fill color for all graph text ( #2707 )
...
Grapviz no longer sets it to the default so we don't have anything to
override
2023-08-14 15:53:25 +00:00
Robert
194c8d5cfc
Make hook imports consistent
2023-08-14 16:49:43 +01:00
Robert
4e70c8999f
Only update the details view when data has changed
2023-08-14 15:55:01 +01:00
Shati Patel
2569f631a2
Add code lens for "Open referenced file" ( #2704 )
2023-08-14 15:26:43 +01:00
Robert
6005e3ab70
Update details view on view state changes, and remember the most recently active panel
2023-08-14 15:02:40 +01:00
Robert
7c93c7046e
Store the latest set of external API usages on the view class
2023-08-14 14:08:10 +01:00
Koen Vlaswinkel
a46209b22d
Merge pull request #2701 from github/koesie10/fix-duplicate-test-running
...
Fix running tests twice when test paths are passed
2023-08-14 13:28:54 +02:00
Robert
408d38dc88
Merge pull request #2703 from github/robertbrignull/InProgressMethods_immutable
...
Make InProgressMethods immutable so it's safer to use as react state
2023-08-14 12:26:24 +01:00
Robert
55aeb3ce86
Update extensions/ql-vscode/src/data-extensions-editor/shared/in-progress-methods.ts
...
Co-authored-by: Koen Vlaswinkel <koesie10@users.noreply.github.com >
2023-08-14 11:27:38 +01:00
Robert
37c461a89b
Make InProgressMethods immutable so it's safer to use as react state
2023-08-14 10:46:24 +01:00
Robert
1595f7c879
Merge pull request #2700 from github/robertbrignull/data-rows
...
Fix spacing of columns
2023-08-14 10:32:20 +01:00
Robert
a893bf7a77
Merge pull request #2688 from github/robertbrignull/data-view-jump
...
Implementing expanding/selecting item in details view when clicking "view"
2023-08-14 10:15:17 +01:00
Robert
81579351cd
Convert resultSet to use useMemo
2023-08-14 09:47:07 +01:00
Koen Vlaswinkel
1b0bcb3d2f
Fix running tests twice when test paths are passed
...
When running tests using `--runTestsByPath <some-path>`, the tests were
being run twice because jest-runner-vscode
[resolves test paths](0c98dc12ad/packages/jest-runner-vscode/src/runner.ts (L57-L66) ),
while the original arguments were also still passed to Jest. So, the
arguments Jest would receive would look something like
`test/vscode-tests/no-workspace/databases/local-databases/locations.test.ts /Users/koesie10/github/vscode-codeql/extensions/ql-vscode/test/vscode-tests/no-workspace/databases/local-databases/locations.test.ts`
which would cause Jest to run the tests twice. This fixes this by
resolving the paths to their absolute paths, and then removing any
duplicates.
2023-08-14 10:22:24 +02:00
Robert
8713a5403f
Convert resultSets to use useMemo
2023-08-11 17:32:31 +01:00
Robert
943a61b6a9
Convert getOffset to just a number
2023-08-11 17:31:44 +01:00
Robert
3652e52312
Convert alertTableExtras to use useMemo
2023-08-11 17:30:14 +01:00
Robert
94a8536f28
Move condition check into alertTableExtras
2023-08-11 17:27:02 +01:00
Robert
4e0ab5b46e
Convert handleCheckboxChanged to use useCallback
2023-08-11 17:24:42 +01:00
Robert
f761083342
Move handleCheckboxChanged out of alertTableExtras
2023-08-11 17:24:03 +01:00
Robert
57241c906e
Convert onTableSelectionChange to use useCallback
2023-08-11 17:23:06 +01:00
Robert
ee20a28fdc
Add dependencies to useEffect hooks
2023-08-11 17:22:43 +01:00
Robert
d173ff3c48
Convert vscodeMessageHandler to use useCallback
2023-08-11 17:22:21 +01:00
Robert
da8f959c42
Convert handleMessage to use useCallback
2023-08-11 17:21:24 +01:00
Robert
3d9f34e658
Naiely convert to function component
2023-08-11 17:17:50 +01:00
Robert
c124192879
Delete sendResultsPageChangedTelemetry as it is unused
2023-08-11 17:08:25 +01:00
Robert
2cb6a95ffd
Move handleMessage and componentDidMount to be before render method
2023-08-11 16:48:50 +01:00
Robert
c0568a837c
Move vscodeMessageHandler to before it is used
2023-08-11 16:46:45 +01:00
Robert
1f20836d53
Fix spacing of columns
2023-08-11 16:16:07 +01:00
Robert
5bf56baab8
Merge branch 'main' into robertbrignull/data-view-jump
2023-08-11 15:56:31 +01:00
Robert
dd0534b353
Merge pull request #2666 from github/robertbrignull/ResultTables-Header
...
Move ResultTablesHeader to its own component
2023-08-11 15:45:41 +01:00
Robert
dd89f0d337
Merge branch 'main' into robertbrignull/ResultTables-Header
2023-08-11 14:48:07 +01:00
Shati Patel
616bdb9021
Merge branch 'main' into shati-patel/get-current-query
2023-08-11 13:51:42 +01:00
github-actions[bot]
3b7f7e5528
Bump CLI version from v2.14.1 to v2.14.2 for integration tests ( #2699 )
...
Co-authored-by: github-actions[bot] <github-actions@github.com >
2023-08-11 12:26:41 +00:00
Charis Kyriakou
11a9668e44
Merge pull request #2698 from github/charisk/remove-automodel-v1
...
Remove automodel v1 code
2023-08-11 13:22:16 +01:00
Robert
1e0a7555f9
Merge branch 'main' into robertbrignull/data-view-jump
2023-08-11 12:28:54 +01:00
Robert
a52e067636
Merge branch 'main' into robertbrignull/ResultTables-Header
2023-08-11 12:26:21 +01:00
Charis Kyriakou
feb4bb61fe
Drop v2 from automodel code
2023-08-11 11:07:25 +00:00
Charis Kyriakou
2a5b6ea95b
Remove automodel v1
2023-08-11 11:07:19 +00:00
Nora
217114777f
Merge pull request #2683 from github/nora/model-details-view-styling
...
Add icons and main badge to Model Details View
2023-08-11 11:52:15 +02:00
Koen Vlaswinkel
2cac3181a8
Merge pull request #2697 from github/koesie10/downgrade-octokit
...
Revert "Bump @octokit/plugin-retry from 4.1.6 to 6.0.0"
2023-08-11 10:41:10 +02:00
Koen Vlaswinkel
9ebf99a572
Merge pull request #2693 from github/dependabot/npm_and_yarn/extensions/ql-vscode/patch-package-8.0.0
...
Bump patch-package from 7.0.0 to 8.0.0 in /extensions/ql-vscode
2023-08-11 10:35:42 +02:00
Koen Vlaswinkel
3059e78ca4
Merge pull request #2694 from github/dependabot/npm_and_yarn/extensions/ql-vscode/cosmiconfig-8.2.0
...
Bump cosmiconfig from 7.1.0 to 8.2.0 in /extensions/ql-vscode
2023-08-11 10:32:22 +02:00
Koen Vlaswinkel
7d9d1077fd
Revert "Bump @octokit/plugin-retry from 4.1.6 to 6.0.0 in /extensions/ql-vscode ( #2602 )"
...
This reverts commit e938a6a9cb .
2023-08-11 10:15:01 +02:00
Anders Starcke Henriksen
b3e81ffa53
Merge pull request #2691 from github/starcke/more-kinds
...
Add more sink and source kinds.
2023-08-11 09:45:42 +02:00
Koen Vlaswinkel
0ef688792b
Merge pull request #2692 from github/dependabot/npm_and_yarn/extensions/ql-vscode/eslint-config-prettier-9.0.0
...
Bump eslint-config-prettier from 8.5.0 to 9.0.0 in /extensions/ql-vscode
2023-08-10 17:19:56 +02:00
Koen Vlaswinkel
fa66b2757a
Merge pull request #2695 from github/dependabot/npm_and_yarn/extensions/ql-vscode/ts-unused-exports-10.0.0
...
Bump ts-unused-exports from 9.0.5 to 10.0.0 in /extensions/ql-vscode
2023-08-10 17:03:09 +02:00
Robert
9069ba2d62
Use sourceLocationPrefix to get relative path inside database
2023-08-10 15:06:41 +01:00
dependabot[bot]
5e1a9a330b
Bump ts-unused-exports from 9.0.5 to 10.0.0 in /extensions/ql-vscode
...
Bumps [ts-unused-exports](https://github.com/pzavolinsky/ts-unused-exports ) from 9.0.5 to 10.0.0.
- [Changelog](https://github.com/pzavolinsky/ts-unused-exports/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pzavolinsky/ts-unused-exports/commits )
---
updated-dependencies:
- dependency-name: ts-unused-exports
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:48:45 +00:00
dependabot[bot]
49df14eeb8
Bump cosmiconfig from 7.1.0 to 8.2.0 in /extensions/ql-vscode
...
Bumps [cosmiconfig](https://github.com/cosmiconfig/cosmiconfig ) from 7.1.0 to 8.2.0.
- [Changelog](https://github.com/cosmiconfig/cosmiconfig/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cosmiconfig/cosmiconfig/compare/v7.1.0...v8.2.0 )
---
updated-dependencies:
- dependency-name: cosmiconfig
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:48:17 +00:00
dependabot[bot]
0c0a4fe78d
Bump patch-package from 7.0.0 to 8.0.0 in /extensions/ql-vscode
...
Bumps [patch-package](https://github.com/ds300/patch-package ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/ds300/patch-package/releases )
- [Changelog](https://github.com/ds300/patch-package/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ds300/patch-package/compare/v7.0.0...v8.0.0 )
---
updated-dependencies:
- dependency-name: patch-package
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:47:43 +00:00
dependabot[bot]
50b8ae5713
Bump eslint-config-prettier from 8.5.0 to 9.0.0 in /extensions/ql-vscode
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.5.0 to 9.0.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:47:08 +00:00
Nora
ebc5ef2d90
Adjust message
2023-08-10 12:36:28 +00:00
Anders Starcke Henriksen
c676ffdc13
Add more sink and source kinds.
2023-08-10 14:31:06 +02:00
Charis Kyriakou
b8ba32f028
Minor auto-model polish ( #2689 )
2023-08-10 13:03:02 +01:00
Charis Kyriakou
52a8704786
Improve auto-modeling in-progress state handling ( #2687 )
2023-08-10 11:58:49 +01:00
Robert
23ddc83c52
Inline methods that are small and only used from one place
2023-08-10 11:47:41 +01:00
Robert
54ec146c8e
Jump to usage as well as revealing in details view
2023-08-10 11:43:05 +01:00
Robert
b04f316730
Call revealItemInDetailsPanel when clicking view
2023-08-10 11:05:17 +01:00
Robert
2b58edaa84
Implement getParent by searching all usages
2023-08-10 11:05:17 +01:00
Robert
6aea8fee3a
Covert to canonical usage object before calling reveal
2023-08-10 11:05:17 +01:00
Robert
e37a833c9a
Add revealItem method and pass through to DataExtensionsEditorView
2023-08-10 11:05:17 +01:00
Robert
805bb74a8a
Include full usage in jumpToUsage message
2023-08-10 11:05:17 +01:00
Charis Kyriakou
209822e093
Add auto-model mock API scenario ( #2684 )
2023-08-10 09:55:17 +00:00
Charis Kyriakou
5d2e20516b
Rename 'dependency' to 'package' in auto-modeling code ( #2686 )
2023-08-10 09:06:33 +00:00
Nora
c905814393
Show line numbers and file path
2023-08-10 08:10:38 +00:00
Charis Kyriakou
b1dc862392
Merge pull request #2682 from github/charisk/batch-automodeling
...
Batch automodeling
2023-08-10 08:58:23 +01:00
shati-patel
c5febb4b48
Fix getCurrentQuery to look at active tabs instead of active text editors
2023-08-09 17:07:33 +01:00
Nora
df880496cc
Add icons and main badge
2023-08-09 16:41:45 +02:00
Charis Kyriakou
4b0f59983a
Add ability to stop automodeling
2023-08-09 12:25:14 +00:00
Charis Kyriakou
4f7126296e
Break up automodeling into batches
2023-08-09 12:24:44 +00:00
Robert
bd6a7b263f
Merge pull request #2679 from github/robertbrignull/data-details-jump
...
Implementing jumping to location when clicking on a usage in the details panel
2023-08-09 13:04:08 +01:00
Charis Kyriakou
6791ddb445
Pass dependency name around when automodeling ( #2681 )
2023-08-09 12:39:05 +01:00
Charis Kyriakou
6dc0b14be7
Merge pull request #2680 from github/charisk/move-automodeling
...
Move automodeling logic out of view
2023-08-09 12:00:06 +01:00
Robert
1139790620
Rename command from codeQLDataExtensions => codeQLDataExtensionsEditor
2023-08-09 11:57:19 +01:00
Charis Kyriakou
0cc8e68155
Extract modeling of specific set of candidates into its own function
2023-08-08 15:56:51 +00:00
Robert
f52a512794
Merge pull request #2672 from github/robertbrignull/sarif-processing-no-location
...
Handle when an alert message contains links to files outside of the repository source
2023-08-08 16:56:03 +01:00
Charis Kyriakou
75882710ad
Move automodeling logic to AutoModeler class
2023-08-08 15:52:03 +00:00
Robert
7443b35ebc
Jump to location when clicking on usage
2023-08-08 16:34:15 +01:00
Robert
16d5f0f12b
Add DatabaseItem to model details panel state
2023-08-08 16:34:10 +01:00
Robert
946607098a
Add command to jump to usage location
2023-08-08 16:26:33 +01:00
Robert
f4d6990c1f
Move duplicated error handling into showResolvableLocation
2023-08-08 16:26:27 +01:00
Robert
daf389a5ed
Merge pull request #2678 from github/robert-nora/model-details-data
...
Populate details panel with external API usages
2023-08-08 14:20:00 +01:00
Robert
29916be143
Send externalApiUsages data to details view whenever new data is calculated
2023-08-08 10:52:59 +01:00
Robert
aa227357e9
Add blank data provider for codeQLModelDetails view
2023-08-07 17:19:13 +01:00
Nora
0aae7392f0
Merge pull request #2677 from github/robert-nora/set-up-model-details-view
...
Set up model details view
2023-08-07 18:03:45 +02:00
Nora
81294ecf3a
Focus on panel when clicking view button
2023-08-07 14:38:34 +00:00
Nora
839e4d6246
Set up empty panel tab
2023-08-07 14:24:35 +00:00
Nora
ae6dc879ef
Create new feature flag
2023-08-07 14:11:42 +00:00
Charis Kyriakou
55557df53f
Add in-progress UI state for modeling methods ( #2675 )
2023-08-07 11:58:41 +00:00
Charis Kyriakou
f1204ce8f4
Move automodel version split further up ( #2676 )
2023-08-07 11:54:47 +00:00
Anders Starcke Henriksen
234760efd3
Merge pull request #2670 from github/starcke/apply-slice-filter
...
Use filtering queries to do batched AI querying
2023-08-07 11:37:40 +02:00
Robert
61f8f5fb88
Merge pull request #2673 from github/robertbrignull/unused_npm_dependencies
...
Remove unused NPM dependencies
2023-08-07 10:35:00 +01:00
Charis Kyriakou
4109da6a50
Add support for automodel requests in the mock API server ( #2674 )
2023-08-07 09:58:39 +01:00
Anders Starcke Henriksen
9bd2286660
Update extensions/ql-vscode/src/data-extensions-editor/auto-model-codeml-queries.ts
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2023-08-07 10:21:12 +02:00
Robert
c068769af7
Uninstall ts-protoc-gen dependency
2023-08-04 16:19:33 +01:00
Robert
30fd9c28ac
Uninstall @types/stream-chain dependency
2023-08-04 15:22:26 +01:00
Robert
3238c0eb0e
Uninstall @types/jszip dependency
2023-08-04 15:20:14 +01:00
Robert
997e12c358
Uninstall @types/gulp-sourcemaps dependency
2023-08-04 15:18:52 +01:00
Robert
79f29a812e
Uninstall @types/google-protobuf dependency
2023-08-04 15:16:54 +01:00
Robert
91cfeb9acb
Uninstall stream-chain dependency
2023-08-04 15:13:35 +01:00
Robert
27d5169ce7
Uninstall stream dependency
2023-08-04 15:10:03 +01:00
Robert
ed91dafc25
Uninstall minimist dependency
2023-08-04 15:01:26 +01:00
Robert
461bf2d645
Uninstall minimatch dependency
2023-08-04 14:59:37 +01:00
Anders Starcke Henriksen
d4137b2c43
Address comments.
2023-08-04 15:59:25 +02:00
Robert
6a12dc23bb
Assert alert message in test
2023-08-04 14:45:41 +01:00
Anders Starcke Henriksen
12abf81623
Apply suggestions from code review
...
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com >
2023-08-04 15:35:12 +02:00
Robert
62e45a2c1c
Handle when a related location has no region
2023-08-04 12:26:32 +01:00
Robert
fef55e3ec5
Add failing test when a related location is undefined
2023-08-04 12:26:03 +01:00
Anders Starcke Henriksen
f6c492dca4
Use filtering queries to do batched AI quering.
2023-08-04 13:09:59 +02:00
Robert
69c92b4434
Check key / keyCode in onKeyDownHandler
2023-08-04 11:29:29 +01:00
dependabot[bot]
7530920a0b
Bump @typescript-eslint/eslint-plugin from 5.41.0 to 6.2.1 in /extensions/ql-vscode ( #2668 )
2023-08-04 10:10:16 +00:00
dependabot[bot]
e938a6a9cb
Bump @octokit/plugin-retry from 4.1.6 to 6.0.0 in /extensions/ql-vscode ( #2602 )
...
Bumps [@octokit/plugin-retry](https://github.com/octokit/plugin-retry.js ) from 4.1.6 to 6.0.0.
- [Release notes](https://github.com/octokit/plugin-retry.js/releases )
- [Commits](https://github.com/octokit/plugin-retry.js/compare/v4.1.6...v6.0.0 )
---
updated-dependencies:
- dependency-name: "@octokit/plugin-retry"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-04 10:46:08 +01:00
Robert
de8d0df818
Merge pull request #2671 from github/robertbrignull/sarif-parser-unit-test
...
Move sarif-parser.test.ts from no-workspace to unit-tests
2023-08-04 10:16:32 +01:00
Robert
f7b07a0892
Move test sarif data to a more shared location + fix links
2023-08-04 09:56:58 +01:00
dependabot[bot]
2b9aad34f8
Bump styled-components from 5.3.9 to 6.0.2 in /extensions/ql-vscode ( #2585 )
2023-08-04 09:45:17 +01:00
dependabot[bot]
a3c0896d37
Bump @typescript-eslint/parser in /extensions/ql-vscode ( #2669 )
2023-08-03 16:58:37 +00:00
Robert
3e6466d717
Move sarif-parser.test.ts from no-workspace to unit-tests
2023-08-03 17:28:33 +01:00
Robert
3960ece3e4
Merge pull request #2667 from github/robertbrignull/scrubber_tests
...
Try to fix flakes in query history scrubber tests
2023-08-03 17:05:27 +01:00
Andrew Eisenberg
87bbf2933b
Merge pull request #2660 from github/aeisenberg/qhelp-preview
...
Ensure the qhelp preview is refreshed after editing
2023-08-03 08:38:03 -07:00
Robert
8952874bb6
Merge branch 'main' into robertbrignull/ResultTables-Header
2023-08-03 16:14:24 +01:00
Robert
36f92da9ac
Merge pull request #2664 from github/robertbrignull/ResultTables-naming
...
Make sure ResultTable and ResultTables are in correctly named files
2023-08-03 15:48:57 +01:00
Robert
23a8927df1
Merge branch 'main' into robertbrignull/ResultTables-naming
2023-08-03 15:03:57 +01:00
Nora
4993e7b6a5
Merge pull request #2663 from github/version/bump-to-v1.8.10
...
Bump version to v1.8.10
2023-08-03 16:00:17 +02:00
Robert
2ffbb9c14c
Perform dirSync inside beforeEach block
2023-08-03 14:19:12 +01:00
Robert
8bce7b531c
Use a jest.fn() to track calls to the scrubber, instead of a local variable counter
2023-08-03 14:17:23 +01:00
Robert
28a0075fe4
Move creation of the mock context to a function
2023-08-03 14:16:43 +01:00
Robert
428014ce35
Move timestamp constants to be outside of describe block
2023-08-03 14:01:45 +01:00
Robert
6b21f3f29d
Merge pull request #2665 from github/robertbrignull/ResultTables-untoggleProblemsView
...
Delete untoggleProblemsView as it is unused
2023-08-03 13:55:56 +01:00
Robert
892f052227
Move ResultTablesHeader to its own component
2023-08-03 12:36:05 +01:00
Robert
fed2a22062
Delete untoggleProblemsView as it is unused
...
As far as I can tell it's been unused as far as back as
https://github.com/github/vscode-codeql/pull/602 when it was introduced.
It seems just to be an error in that PR.
2023-08-03 12:14:50 +01:00
Robert
aa1edfc231
Move ResultTable to its own file
2023-08-03 11:36:52 +01:00
Robert
ab442c4dde
Rename result-tables.tsx => ResultTables.tsx
2023-08-03 11:36:52 +01:00
github-actions[bot]
69490b1948
Bump version to v1.8.10
2023-08-03 09:53:59 +00:00
Nora
9ed6b011a5
Merge pull request #2662 from github/v1.8.9
...
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
Release prep for v1.8.9
2023-08-03 10:52:15 +02:00
Nora
912254fd3c
Update extensions/ql-vscode/CHANGELOG.md
...
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com >
2023-08-03 10:31:41 +02:00
Nora
7eab911cc5
v1.8.9
2023-08-03 08:17:20 +00:00
Andrew Eisenberg
d7d1351957
Remove unused import
2023-08-02 12:31:53 -07:00
Nora
80ae9a4b36
Merge pull request #2658 from github/nora-koen/data-extensions-editor-without-ql-submodule
...
Remove submodules dependency from data extension editor
2023-08-02 17:30:46 +02:00
Nora
868fae093d
Reorder db language check
2023-08-02 14:25:39 +00:00
Andrew Eisenberg
2ce5ff7085
Update extensions/ql-vscode/CHANGELOG.md
...
Co-authored-by: Robert <robertbrignull@github.com >
2023-08-01 12:54:16 -07:00
Andrew Eisenberg
1289ab509c
Merge pull request #2659 from github/aeisenberg/download-pack-in-tests2
...
Install `java-all` and transitive dependencies
2023-08-01 07:43:40 -07:00
Nora
5f489212d4
Add test for setup
2023-08-01 12:39:30 +00:00
Nora
fea45ea04d
wrap all describe blocks in external api usage test
2023-08-01 12:39:30 +00:00
Nora
a39e55590a
Move query setup to query file
2023-08-01 12:39:30 +00:00
Nora
6e4641f2c1
Clean up runQyery test
2023-08-01 12:39:30 +00:00
Nora
553e5cb4a1
Remove automodel qll file
2023-08-01 12:39:29 +00:00
Nora
4c0f68f193
Adjust picker test
2023-08-01 12:39:29 +00:00
Nora
1ee9cdaadd
Add test for error log
2023-08-01 12:39:29 +00:00
Nora
098437b463
Cleanup
2023-08-01 12:39:29 +00:00
Nora
558a70e3c8
Adjust external api query test
2023-08-01 12:39:29 +00:00
Nora
7c10447bb5
Add .github folder manually
2023-08-01 12:39:29 +00:00
Nora
9fd6cb8c1f
Cleanup and install pack dependencies
2023-08-01 12:39:29 +00:00
Koen Vlaswinkel
f4da522953
wip: data extensions editor without ql submodule
2023-08-01 12:39:29 +00:00
Robert
6dfe1736f8
Merge pull request #2657 from github/robertbrignull/clean-test-dir
...
Add `npm run clean-test-dir`
2023-08-01 09:19:42 +01:00
Andrew Eisenberg
f067c6540b
Ensure the qhelp preview is refreshed after editing
...
This commit fixes a bug in the extension where the qhelp preview was not
being refreshed after the first time the preview was rendered. The
reason is that vscode will not refresh the markdown preview unless the
original file with the markdown in it is already open in the editor.
This fix will briefly open the raw markdown, refresh the preview and
close the raw markdown.
2023-07-31 16:21:09 -07:00
Andrew Eisenberg
b46e0ab175
Install java-all and transitive dependencies
...
need to install all transitive dependencies of `java-all` as well. This
will do it.
2023-07-31 11:14:59 -07:00
Andrew Eisenberg
34fa629054
Merge pull request #2655 from github/aeisenberg/download-pack-in-tests
...
Download `codeql/java-all` in tests
2023-07-31 10:02:14 -07:00
Robert
5107086a93
Switch to using find
2023-07-31 11:09:31 +01:00
Robert
58c5c0e5f5
Add npm run clean-test-dir
2023-07-31 11:09:31 +01:00
Charis Kyriakou
5427b5718f
Only show automodel button for Java ( #2656 )
2023-07-31 09:43:07 +00:00
Andrew Eisenberg
0cc399507f
Download codeql/java-all in tests
...
An upcoming change in the CLI will require that the extensible
predicates that are targeted by a data extension needs to be available
in order for the `resolve extensions` command to succeed.
There are a handful of tests that are failing with this new CLI. This
change will update the tests so that the `codeql/java-all` pack is
available in the tests and ensures they pass.
2023-07-28 14:49:55 -07:00
Robert
bb9299e0e2
Merge pull request #2646 from github/robertbrignull/fix_alert_461
...
Split codeQL.copyVariantAnalysisRepoList into two commands
2023-07-28 10:56:35 +01:00
Robert
e8afa54584
Fix test by mocking the correct function
2023-07-28 10:26:52 +01:00
Robert
d94443e025
Merge pull request #2652 from github/robertbrignull/data_narrow
...
Make the data extensions editor look a little bit better at small screen sizes
2023-07-28 10:15:28 +01:00
Robert
0e5cb1a3e8
Merge pull request #2653 from github/robertbrignull/dependencies_versions
...
Change all dependencies to use ^ instead of ~
2023-07-28 10:09:57 +01:00
Robert
59958a5b32
Log a ui-interaction telemetry event when copying repository lists
2023-07-28 10:09:12 +01:00
Robert
3d9b2da514
Remove codeQL.copyVariantAnalysisRepoListView command and instead call copyRepoListToClipboard directly
2023-07-28 10:09:11 +01:00
Robert
3b8cea8df4
Remove codeQL.copyVariantAnalysisRepoListQueryHistory command and instead call copyRepoListToClipboard directly
2023-07-28 10:00:38 +01:00
Robert
6adf683c87
Merge branch 'main' into robertbrignull/dependencies_versions
2023-07-28 09:51:43 +01:00
Robert
37f1c62ee6
Merge branch 'main' into robertbrignull/data_narrow
2023-07-28 09:51:27 +01:00
Chuan-kai Lin
c1107d7423
Merge pull request #2649 from github/cklin/remove-legacy-query-server-test
...
legacy-query.test.ts: skip if CLI supports new query server
2023-07-27 09:48:36 -07:00
Chuan-kai Lin
72fa1c5583
legacy-query.test.ts: skip if CLI supports new query server
2023-07-27 09:10:04 -07:00
github-actions[bot]
5f65498e0a
Bump CLI version from v2.14.0 to v2.14.1 for integration tests ( #2650 )
...
Co-authored-by: github-actions[bot] <github-actions@github.com >
2023-07-27 16:04:05 +00:00
Shati Patel
6e21706c15
Implement "Hide modeled APIs" checkbox and make it the default ( #2651 )
2023-07-27 15:49:41 +00:00
Robert
4dcca4e97c
Change all dependencies to use ^ instead of ~
2023-07-27 16:15:39 +01:00
Robert
84492d2fb9
Make sure the classifications don't wrap
2023-07-27 16:00:38 +01:00
Robert
a2c9ac792b
Move the method classification to the start of the row
2023-07-27 15:57:45 +01:00
Robert
18704558d3
Make the method name column 50%
2023-07-27 15:57:34 +01:00
Robert
ca16dca7ed
Merge pull request #2645 from github/robertbrignull/fix_alert_546
...
Don't alert for multiple usages of built-in VS Code commands
2023-07-27 15:20:39 +01:00
Robert
f05d5d9766
Split codeQL.copyVariantAnalysisRepoList into two commands
2023-07-27 12:22:19 +01:00
Robert
aacc243bae
Don't report multiply usages of builtin VS Code commands
2023-07-27 11:24:18 +01:00
Robert
396dc3e915
Merge pull request #2644 from github/robertbrignull/fix_alert_384
...
Fix alert by rewriting query history scrubbed to do fewer file operations
2023-07-27 11:22:10 +01:00
Robert
d3b2d0fce8
Fix indentation in query
2023-07-27 11:14:14 +01:00
Robert
4d4cd4c2d6
Use getErrorMessage
2023-07-27 10:32:19 +01:00
Shati Patel
72512da3b5
Data extensions editor: Allow users to pick an existing database from their workspace ( #2643 )
2023-07-27 10:09:12 +01:00
Koen Vlaswinkel
c2ed98eb85
Merge pull request #2633 from github/koesie10/automodel-v2
...
Add LLM functionality using auto-model V2
2023-07-27 10:02:55 +02:00
Koen Vlaswinkel
bebe130fb0
Do not use mocked URI in locations test
2023-07-27 09:40:37 +02:00
Koen Vlaswinkel
db065584fa
Merge remote-tracking branch 'origin/main' into koesie10/automodel-v2
2023-07-27 09:18:59 +02:00
Robert
844f25ed98
Rewrite query history scrubbed to do fewer file operations
2023-07-26 16:56:02 +01:00
Koen Vlaswinkel
546f668301
Move createMockUri to mocking helpers
2023-07-26 14:35:15 +02:00
Koen Vlaswinkel
a79753d0a5
Move all runAutoModelQuery arguments into the options object
2023-07-26 14:32:43 +02:00
Koen Vlaswinkel
32c44cdfe3
Rename Options to AutoModelQueriesOptions
2023-07-26 14:31:28 +02:00
Koen Vlaswinkel
de5dbea69f
Use promisify for gzip
2023-07-26 14:28:45 +02:00
Robert
3f896751f3
Merge pull request #2640 from github/robertbrignull/fix_alert_547
...
Fix alert by replacing regex with path.basename
2023-07-26 11:18:40 +01:00
Robert
41f5beb619
Merge pull request #2638 from github/robertbrignull/data_new_header
...
Add new data extensions header UI elements
2023-07-26 11:12:25 +01:00
Koen Vlaswinkel
5e5535653b
Merge pull request #2642 from github/koesie10/remove-path-browserify
...
Remove path-browserify
2023-07-26 12:09:47 +02:00
Robert
af50d90bcb
Merge branch 'main' into robertbrignull/data_new_header
2023-07-26 10:29:22 +01:00
Robert
c5a4c53a1a
Merge branch 'main' into robertbrignull/fix_alert_547
2023-07-26 10:26:24 +01:00
Koen Vlaswinkel
016940f2ce
Remove path-browserify
2023-07-26 11:23:39 +02:00
Robert
e877695a14
Merge pull request #2641 from github/robertbrignull/LockFileForStandardQueryResult
...
Unexport LockFileForStandardQueryResult
2023-07-26 10:22:53 +01:00
Robert
e2256e28ba
Unexport LockFileForStandardQueryResult
2023-07-26 10:06:55 +01:00
Robert
5c08083336
Merge pull request #2639 from github/robertbrignull/data_progress
...
Remove custom progress bar and use normal VS Code notification for progress
2023-07-26 10:05:05 +01:00
Robert
07b8732a31
Use custom implementation of basename instead of path-browserify version
2023-07-26 09:59:02 +01:00
Robert
3e49d05ef9
Text is uppercased automatically by styling
2023-07-26 09:51:51 +01:00
Koen Vlaswinkel
83cc9835e8
Merge pull request #2634 from github/koesie10/cleanup-query-resolver
...
Make query resolver more generic
2023-07-26 09:36:32 +02:00
Robert
c5af8bdcd7
Replace regex with path.basename
2023-07-25 17:29:34 +01:00
Robert
55b21c2add
Remove custom progress bar and use normal VS Code notification for progress
2023-07-25 15:33:39 +01:00
Charis Kyriakou
b87fe94a92
Remove most recent commit information and sorting ( #2637 )
2023-07-25 14:15:08 +00:00
Robert
493de4c190
Add new header UI elements
2023-07-25 15:01:27 +01:00
Shati Patel
8f99ed2478
Data extensions editor: Change "already modeled" message ( #2636 )
2023-07-25 13:40:54 +00:00
Shati Patel
cdcbdc60fb
Data extensions editor: Remove buttons that are no longer needed ( #2635 )
2023-07-25 14:12:16 +01:00
Robert
e1bbbd6e9c
Merge pull request #2631 from github/robertbrignull/deadcode_ci
...
Add check for deadcode for CI
2023-07-25 13:09:44 +01:00
Koen Vlaswinkel
84de8ad252
Add creation of auto-model request V2
2023-07-25 10:35:19 +02:00
Koen Vlaswinkel
57bcfbbe29
Extract creation of lock file to more generic function
2023-07-25 10:03:01 +02:00
Koen Vlaswinkel
32656c1cb8
Extract query resolving to more generic functions
2023-07-25 10:03:01 +02:00
Robert
5572cece83
Convert find-deadcode to a script
2023-07-24 18:00:30 +01:00
Robert
08675e6713
Rename to tsconfig.deadcode.json
2023-07-24 17:27:39 +01:00
Robert
abee109dbd
Merge branch 'main' into robertbrignull/deadcode_ci
2023-07-24 17:26:18 +01:00
Robert
ef27730e5e
Merge pull request #2632 from github/robertbrignull/deadcode_changes
...
Remove or fix dead code / unused exports
2023-07-24 16:32:13 +01:00
Robert
10c6708db5
Fix reference to tsconfig.json
2023-07-24 14:29:01 +01:00
Robert
a618aed415
Mark fileMock and styleMock as allowable exports
2023-07-24 14:28:41 +01:00
Robert
8e8e0faa9e
Unexport types that are unused outside of their source file
2023-07-24 14:22:23 +01:00
Robert
41ce5086e7
Mark the extension activation function as allowed to be exported but unused
2023-07-24 14:22:23 +01:00
Robert
a79b71cff6
Switch ALLOW_HTTP_SETTING for allowHttp()
2023-07-24 14:22:23 +01:00
Robert
f0318b0c84
Delete vsCodeGetConfiguration
2023-07-24 14:22:23 +01:00
Robert
814acfa74a
Add find-deadcode to CI linting workflow
2023-07-24 11:23:04 +01:00
Robert
d73276c136
Add find-deadcode npm script
2023-07-24 11:23:01 +01:00
Robert
44b58280e8
Merge pull request #2628 from github/robertbrignull/disposable
...
Merge definitions of Disposable where possible
2023-07-24 11:20:39 +01:00
Robert
49a05c412c
Delete pathRowClassName
2023-07-24 11:11:55 +01:00
Robert
f57bbc2b52
Delete decimalFormatter
2023-07-24 11:11:55 +01:00
Robert
e620120144
Delete getTestDirectory
2023-07-24 11:11:55 +01:00
Robert
6fbe95a334
Delete isRemoteSystemDefinedListDbItem
2023-07-24 11:11:55 +01:00
Robert
cb4dcc81ea
Delete remoteDbKinds and localDbKinds
2023-07-24 11:11:55 +01:00
Robert
3126c8d1a8
Delete PAGE_SIZE
2023-07-24 11:11:55 +01:00
Robert
0d7814c778
Delete InspectionResult
2023-07-24 11:11:55 +01:00
Robert
f70ea71885
Delete isVariantAnalysisLiveResultsEnabled
2023-07-24 11:11:55 +01:00
Robert
04df20a732
Install ts-unused-exports
2023-07-24 11:10:19 +01:00
Robert
c7b556e748
Merge pull request #2624 from github/robertbrignull/autoClosingPairs
...
Delete autoClosingPairs from LanguageConfiguration to appease proposed API
2023-07-24 11:04:52 +01:00
Charis Kyriakou
8314a5486d
Merge pull request #2627 from github/charisk/remove-deprecated-version-support
...
Remove conditionals and version constraints for unsupported CLI versions
2023-07-24 10:07:34 +01:00
Charis Kyriakou
e80ef7c1dc
Remove CLI_VERSION_WITH_PER_QUERY_EVAL_LOG constraint
2023-07-24 08:24:07 +00:00
Robert
f1a928994a
Merge all our DisposableObject definitions
2023-07-21 17:06:53 +01:00
Charis Kyriakou
0f594704d5
Remove CLI_VERSION_WITH_STRUCTURED_EVAL_LOG constraint
2023-07-21 15:37:56 +00:00
Charis Kyriakou
3064415068
Remove setting of evaluator log verbosity level
2023-07-21 15:33:07 +00:00
Charis Kyriakou
f03ef66596
Update handling of return value from packlist command
2023-07-21 15:31:57 +00:00
Robert
0617e3ec7f
Merge pull request #2626 from github/robertbrignull/data-make-selected
...
Instead of resetting the database after importing, pass through makeSelected = false
2023-07-21 16:20:37 +01:00
Shati Patel
dacaf4e394
Update title in Data extensions editor tab ( #2625 )
2023-07-21 14:44:41 +01:00
Robert
e6566b910a
Instead of resetting the database after importing, pass through makeSelected = false
2023-07-21 12:49:36 +01:00
Robert
778f839e8e
Merge pull request #2623 from github/robertbrignull/data-model-dependency
...
Implement "model dependency" button in application mode
2023-07-21 12:10:15 +01:00
Robert
52711c5cc1
Delete autoClosingPairs from LanguageConfiguration to appease proposed API
2023-07-21 11:31:55 +01:00
Robert
d8687b5985
Merge pull request #2621 from github/robertbrignull/data-saving
...
Load existing modeled methods before saving, to avoid overwriting data
2023-07-20 08:54:29 +01:00
Robert
19ad237427
Pull out common code for importing and resetting the current database
2023-07-19 16:29:13 +01:00
Robert
bb246144c2
Add comments to createDataExtensionYamlsForFrameworkMode too
2023-07-19 16:22:00 +01:00
Robert
fa01b33dfa
Implement modelDependency message
2023-07-19 16:14:44 +01:00
Robert
00780442dd
Send modelDependency message
2023-07-19 16:14:44 +01:00
Robert
5b170d02eb
Avoiding overwriting any existing modeled methods from the files
2023-07-19 11:44:12 +01:00
Robert
db4dc89e42
Split loadModeledMethods into loading all files individually and then merging them
2023-07-19 11:44:12 +01:00
Robert
b5b606d486
Make loadModeledMethodFiles return relative paths from the extension pack
2023-07-19 11:43:57 +01:00
Robert
f2c7c41117
Merge pull request #2406 from Marcono1234/location-url-column
...
Include column numbers in location URLs
2023-07-19 11:01:20 +01:00
Robert
152e194655
Merge branch 'main' into location-url-column
2023-07-19 09:58:46 +01:00
Robert
f12ba96389
Update CHANGELOG.md
2023-07-19 09:57:58 +01:00
Koen Vlaswinkel
add3296071
Merge pull request #2618 from github/dependabot/npm_and_yarn/extensions/ql-vscode/word-wrap-1.2.4
...
Bump word-wrap from 1.2.3 to 1.2.4 in /extensions/ql-vscode
2023-07-19 10:04:56 +02:00
Koen Vlaswinkel
a90b85c2a6
Merge pull request #2259 from github/koesie10/upgrade-storybook-7
...
Upgrade to Storybook 7
2023-07-19 09:51:13 +02:00
dependabot[bot]
3568d4a780
Bump word-wrap from 1.2.3 to 1.2.4 in /extensions/ql-vscode
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-18 23:40:55 +00:00
Robert
d3a5a5e669
Merge pull request #2611 from github/robertbrignull/data-unsaved-checkbox
...
Show whether changes to a method are saved or not
2023-07-18 16:31:46 +01:00
Robert
fc77a52c46
Merge pull request #2614 from github/robertbrignull/Locations
...
Move components for rendering locations to a separate file
2023-07-18 15:31:15 +01:00
Robert
5617331598
Pass in methodIsUnsaved instead of modifiedSignatures
2023-07-18 15:26:34 +01:00
Robert
76a7a266ff
Rename jumpToLocationHandler => handleClick
2023-07-18 15:11:54 +01:00
Robert
b6c60b26cd
Rename handleClick => onClick
2023-07-18 15:11:22 +01:00
Robert
30d8303320
Pull out getModelingStatus method and avoid useMemo
2023-07-18 15:07:26 +01:00
Robert
5c12a4b205
Merge pull request #2605 from github/robertbrignull/data-modeled-methods-tests
...
Refactor the code for loading/saving modeled methods to disk, and add tests
2023-07-18 14:34:21 +01:00
Koen Vlaswinkel
b830781e48
Replace deprecated uses of ComponentMeta and ComponentStory
2023-07-18 15:29:11 +02:00
Koen Vlaswinkel
8329dedd7f
Upgrade to Storybook 7
2023-07-18 15:07:15 +02:00
Robert
70e04a1c99
Rename to MdelingStatusIndicator and move to a separate file
2023-07-18 10:59:08 +01:00
Marcono1234
768b95d3a9
Fix typo in CHANGELOG.md ( #2617 )
2023-07-17 19:39:38 +00:00
Shati Patel
8e4ee5df3d
Update release test plan ( #2616 )
2023-07-17 19:05:25 +01:00
Alexander Eyers-Taylor
baa2a7fed3
Add comma as a word boundary charecter. ( #2615 )
...
* Add comma as a word boundary charecter.
* Add changelog for missing trailing commas.
2023-07-17 16:12:36 +00:00
Robert
1f16294d7e
Avoid else blocks when we're returning early
2023-07-17 17:04:41 +01:00
Robert
679266c0b7
Remove unnecessarily forcing non-undefined
2023-07-17 17:02:59 +01:00
Robert
f1e96f7812
Use more standard name for callback
2023-07-17 17:02:16 +01:00
Robert
f8e6ccea23
Do event propogation cancelation before other work
2023-07-17 16:59:26 +01:00
Robert
8f46052459
Use optional call instead of explicit if-then
2023-07-17 16:58:52 +01:00
Robert
b210d83210
Use named Props interfaces instead of defining types inline
2023-07-17 16:58:08 +01:00
Robert
eaf8d68dd1
Remove all usages of NonClickableLocation outside of Location
2023-07-17 16:56:16 +01:00
Robert
c4ebee8e8d
Have each component in a separate file
2023-07-17 16:56:15 +01:00
Robert
2962306094
Specify that tmp dir is under homedir on windows
2023-07-17 15:48:20 +01:00
Robert
a4c0365a95
Move components for rendering locations to a separate file
2023-07-17 14:36:08 +01:00
Shati Patel
2abc4d542b
Merge pull request #2613 from github/version/bump-to-v1.8.9
...
Bump version to v1.8.9
2023-07-17 12:01:59 +01:00
github-actions[bot]
700b9bf348
Bump version to v1.8.9
2023-07-17 10:35:30 +00:00
Robert
9924f87473
Add a test that calls loadModeledMethods
2023-07-17 11:07:24 +01:00
Robert
f19b600287
Fix semantic merge conflict in imports
2023-07-17 11:07:10 +01:00
Robert
14200a5011
Merge branch 'main' into robertbrignull/data-modeled-methods-tests
2023-07-17 11:06:40 +01:00
Marcono1234
fffb692ca8
Include column numbers in location URLs
2023-07-15 22:00:21 +02:00
Robert
de7d65fc8b
Replace checkbox with an icon that shows saved status
2023-07-14 16:16:30 +01:00
Robert
e73421dabb
Track changed signatures instead of unsaved models
2023-07-14 16:16:27 +01:00
Robert
421fe11664
Normalize paths before doing string comparisons
2023-07-14 15:12:12 +01:00
Robert
1dcd048268
Move version check next to existing check
2023-07-14 14:20:58 +01:00
Robert
12511922ad
Remove version check in resolveExtensions method
2023-07-14 14:15:07 +01:00
Robert
1782239c7c
Add in CodeQL CLI version check for the "resolve extensions" command
2023-07-14 11:38:07 +01:00
Robert
752cf8ab16
Add some tests of listModelFiles
2023-07-13 10:29:52 +01:00
Robert
c512a11e7e
Split out listModelFiles from loadModeledMethods
2023-07-13 09:50:54 +01:00
Robert
ba27230e3c
Move loadModeledMethods to a separate file
2023-07-13 09:29:42 +01:00
Robert
52f7cac0a9
Move saveModeledMethods to a separate file
2023-07-13 09:20:00 +01:00
Robert
2db42e3eb0
Pull out createDataExtensionYamls into yaml.ts
2023-07-13 08:54:11 +01:00