Dave Bartolomeo
c78f01758a
Alternate fix for import highlighting with instantiations
2023-10-09 16:58:00 +01:00
Philip Ginsbach
353e22d6e8
link to the PR from the changelog entry
2023-10-09 16:58:00 +01:00
Philip Ginsbach
599d31e5ac
add changelog entry for TextMate instantiation argument syntax
2023-10-09 16:57:25 +01:00
Philip Ginsbach
64df792eda
TextMate grammar: imports can have instantiation arguments
2023-10-09 16:56:21 +01:00
Robert
27c4bd8349
Merge pull request #2910 from github/robertbrignull/multiple-models-method-row
...
Add ability for MethodRow to render multiple modelings of the same method
2023-10-09 16:17:17 +01:00
Robert
edd2aa5e8f
Merge branch 'main' into robertbrignull/multiple-models-method-row
2023-10-09 15:38:00 +01:00
Robert
0265353370
Use index as react key
2023-10-09 14:44:43 +01:00
Koen Vlaswinkel
623df4c2ee
Merge pull request #2919 from github/koesie10/show-multiple-models-listener
...
Listen to modeling setting changes in the model editor and method modeling panel
2023-10-09 15:38:30 +02:00
Robert
8b0825ab3c
Use better name for variable
2023-10-09 14:32:56 +01:00
Robert
c620939895
Merge pull request #2913 from github/robertbrignull/SaveModeledMethods
...
Remove method and modeledMethods from SaveModeledMethods message
2023-10-09 14:16:30 +01:00
Koen Vlaswinkel
e4a290fe37
Merge pull request #2925 from github/koesie10/method-modeling-codeowner
...
Set SecExp as codeowner for modeling panel
2023-10-09 15:13:56 +02:00
Koen Vlaswinkel
3230cc9166
Set SecExp as codeowner for modeling panel
2023-10-09 14:56:38 +02:00
Koen Vlaswinkel
5c368cec8b
Merge pull request #2921 from github/koesie10/modeling-panel-multiple-models
...
Add ability for method modeling panel to render multiple modelings of the same method
2023-10-09 14:27:30 +02:00
Koen Vlaswinkel
323c5368ba
Switch from CodiconButton to VSCodeButton
2023-10-09 13:52:55 +02:00
Robert
c3e18910fc
Fix typo in comment
2023-10-09 12:26:09 +01:00
Robert
603c799717
Merge pull request #2923 from github/robertbrignull/telemetry-changelog
...
Update CHANGELOG.md for telemetry changes
2023-10-09 12:24:39 +01:00
Robert
aa045835fd
Merge branch 'main' into robertbrignull/SaveModeledMethods
2023-10-09 11:35:47 +01:00
Robert
850c04a289
Clarify method docs
2023-10-09 11:30:35 +01:00
Robert
4d19955740
Update CHANGELOG.md for telemetry changes
2023-10-09 11:08:31 +01:00
Robert
b623f92c4a
Merge pull request #2824 from github/robertbrignull/telemetry
...
Respect "telemetry.telemetryLevel" as well as "telemetry.enableTelemetry"
2023-10-09 10:59:26 +01:00
Koen Vlaswinkel
08342f1960
Merge pull request #2905 from github/koesie10/convert-modeled-method-fs
...
Convert `modeled-method-fs.ts` to handle multiple models per method
2023-10-09 11:54:31 +02:00
Robert
af334a98e3
Merge pull request #2912 from github/robertbrignull/simplify_messages/RevealMethodMessage
...
Convert RevealMethodMessage to only include method signature
2023-10-09 10:46:19 +01:00
Koen Vlaswinkel
6be98f3f8d
Fix test
2023-10-06 16:57:31 +02:00
Koen Vlaswinkel
3b6263fb07
Remove size from CodiconButton
2023-10-06 16:48:49 +02:00
Koen Vlaswinkel
29aa4a3f29
Add tests for multiple modeled methods panel
2023-10-06 16:42:41 +02:00
Koen Vlaswinkel
3a494dff36
Add support for unmodeled methods
2023-10-06 16:26:53 +02:00
Koen Vlaswinkel
a01a76cb73
Add initial multiple modelings panel
2023-10-06 16:25:25 +02:00
Koen Vlaswinkel
a29112e045
Add multiple models to MethodModeling story
2023-10-06 15:54:02 +02:00
Koen Vlaswinkel
ee1bf8896e
Change MethodModeling to accept multiple models
2023-10-06 15:50:31 +02:00
Koen Vlaswinkel
2410d2bfdd
Merge pull request #2918 from github/koesie10/modeling-panel-view-state
...
Add view state to method modeling panel
2023-10-06 15:49:37 +02:00
Charis Kyriakou
0e5551b650
Make method modeling panel available to canary users ( #2920 )
2023-10-06 13:25:33 +00:00
Koen Vlaswinkel
951bd13881
Use ModelConfig for all model settings
...
This switches all places where we're retrieving some model configuration
to use the `ModelConfig` or `ModelConfigListener` types. This makes it
much easier to mock these settings in tests.
This also adds a listener to the `ModelEditorView` to send the new view
state when any of the settings is changed. This should make it easier
to test settings changes in the model editor without having to re-open
the model editor.
2023-10-06 14:29:07 +02:00
Koen Vlaswinkel
08944a292c
Update method modeling panel after changes to config
...
This updates the method modeling panel's view state when the
`codeQL.model.showMultipleModels` setting changes. This will ensure that
the setting updates without needing to restart VS Code since this view
is much harder to restart than the model editor.
2023-10-06 14:15:23 +02:00
Koen Vlaswinkel
cf0057ecd9
Add view state to method modeling panel
...
This adds a view state to the method modeling panel similar to the
model editor. This will be used to send the state of the show multiple
models feature flag to the webview so this can be used to selectively
show/hide components in the method modeling panel.
2023-10-06 14:04:06 +02:00
Charis Kyriakou
1d691c2b7f
UI polish for modeling panel ( #2917 )
...
* Don't push content down with unsaved tag
* Adjust spacing between components
2023-10-06 11:57:52 +01:00
Charis Kyriakou
20c63921f7
Wire up modeling panel empty states ( #2915 )
2023-10-06 11:27:16 +01:00
Koen Vlaswinkel
9c275130a5
Fix duplicate modeled methods
...
Co-authored-by: Robert <robertbrignull@github.com >
2023-10-06 12:09:00 +02:00
Henry Mercer
b1df4a4f0a
Merge pull request #2916 from github/henrymercer/remove-ml-powered-queries
...
Packaging: Remove ML-powered queries pack from known list
2023-10-06 11:02:27 +01:00
Henry Mercer
08a4457e39
Packaging: Remove ML-powered queries pack from known list
...
ML-powered queries are [now deprecated](https://github.blog/changelog/2023-09-29-codeql-code-scanning-deprecates-ml-powered-alerts/ ).
2023-10-06 10:38:14 +01:00
Charis Kyriakou
db3d24236c
Add empty states for modeling panel ( #2914 )
2023-10-06 09:34:54 +01:00
Robert
9d40d9a703
Remove method and modeledMethods from SaveModeledMethods message
2023-10-05 16:56:05 +01:00
Robert
0fabcda49b
Convert RevealMethodMessage to only include method signature
2023-10-05 16:41:56 +01:00
Robert
2b0bd840e6
Place setup before initialising listener
2023-10-05 15:25:42 +01:00
Robert
d499ff3cf4
Merge branch 'main' into robertbrignull/telemetry
2023-10-05 15:19:07 +01:00
Charis Kyriakou
1806108166
Remove unnecessary TODOs ( #2900 )
2023-10-05 08:04:17 +00:00
Andrew Eisenberg
02af432d5f
Merge pull request #2885 from github/aeisenberg/multi-token
...
Adds `MultiCancellationToken`
2023-10-04 13:33:46 -07:00
Andrew Eisenberg
76ec9e2e50
Make DisposableObject a concrete class
2023-10-04 20:10:42 +00:00
Robert
5ba64a1db3
Add test for when there's no modeled method
2023-10-04 18:46:17 +01:00
Robert
f87b1c46de
Add some simple tests of rendering multiple models
2023-10-04 18:46:17 +01:00
Robert
8eef4eb4f2
Add story with multiple modelings
2023-10-04 18:46:17 +01:00