Граф коммитов

2763 Коммитов

Автор SHA1 Сообщение Дата
Robert 5c5c2e485d Show download percentage in UI 2023-01-25 16:35:08 +01:00
Robert 2dc45ae5f6 Add downloadPercentage to VariantAnalysisScannedRepositoryState 2023-01-25 16:35:08 +01:00
Robert ad6cbe60fd
Merge pull request #1989 from github/robertbrignull/credentials_in_app
Add credentials to App
2023-01-25 15:15:30 +00:00
Nora c1392e5c68 Update copy 2023-01-25 13:58:45 +00:00
Nora dcfa990adb Use vscode icon for edit 2023-01-25 13:54:48 +00:00
Nora 89483a7b43 Use vscode icon for preview 2023-01-25 13:52:40 +00:00
Nora bc6b829d17 Use vscode icon for trash 2023-01-25 13:50:13 +00:00
Nora 2c701e0663 Inline shorting in menu 2023-01-25 13:49:56 +00:00
Nora 0771e93c1e Use vscode icons 2023-01-25 11:34:42 +00:00
Nora 64e73c6426
Merge pull request #2005 from github/nora/update-panel-remote-icon
DB panel: use cloud icon for variant analysis repositories
2023-01-25 11:52:09 +01:00
Robert 9e25d19924 Fix merge conflict 2023-01-25 10:41:40 +00:00
Nora 5342b5b83a Fix tests for error color 2023-01-25 10:19:49 +00:00
Robert c5494b6fd2 Merge branch 'main' into robertbrignull/credentials_in_app 2023-01-25 10:15:29 +00:00
Nora 1ec39053cb Replace remote icon with cloud 2023-01-25 09:55:53 +00:00
Nora 0936185d2f Replace remote database icon 2023-01-25 09:47:07 +00:00
Nora ec9b5fe1d3 Replace local database icon 2023-01-25 09:47:06 +00:00
Nora 3c56c549bc Replace error icon 2023-01-25 09:47:06 +00:00
Nora 407aa14d4d
Merge pull request #2002 from github/elena-nora/move-query-history-files
Move query history files to new folders
2023-01-25 10:36:25 +01:00
Nora 76a35deb66 Move query history files to new folders 2023-01-24 17:04:25 +00:00
Robert 8e80106b4f Add documentation 2023-01-24 15:40:38 +00:00
Robert 697a004005 Combine test credentials methods into testCredentialsWithRealOctokit 2023-01-24 15:40:21 +00:00
Nora 4f2b1af811 Update copy 2023-01-24 15:13:57 +00:00
github-actions[bot] 8ed826c78c
Bump CLI Version to v2.12.1 for integration tests (#1999) 2023-01-24 10:36:15 +00:00
Koen Vlaswinkel f7a9830455
Merge pull request #1788 from github/koesie10/remove-unsupported-version-constraints
Remove unsupported version constraints
2023-01-24 10:49:51 +01:00
Robert cc76ca80da Don't change compileAndRunQuery 2023-01-23 16:05:18 +00:00
Robert 3316d1712d Make use of asError instead of reimplementing 2023-01-23 15:49:31 +00:00
Koen Vlaswinkel 140d369098 Remove unsupported version constraints
This removes all CodeQL CLI version constraints for unsupported CLI
versions (< 2.7.6). The oldest supported CLI version is 2.7.6 since GHES
3.3 recommends using CodeQL CLI 2.7.6.
2023-01-23 14:13:05 +01:00
Shati Patel 2c19b32cb3
Minor polish to the "bump CLI" automation (#1996) 2023-01-20 18:42:20 +00:00
github-actions[bot] 3ce6735475
Bump CLI Version to v2.12.0 for integration tests (#1995) 2023-01-20 17:54:30 +00:00
Taj c7f72c5aa9
Ensure cli using latest version from the supported_cli_versions.json (#1992) 2023-01-20 17:13:14 +00:00
Elena Tanasoiu a17e41cbf1
Merge pull request #1993 from github/elena/extend-tests
Add remote queries and variant analyses to our serialization tests
2023-01-20 15:14:48 +00:00
Charis Kyriakou 3b5b85caed
Disable select item button in new db panel (#1994) 2023-01-20 13:45:15 +00:00
Nora 708e55244e
Merge pull request #1991 from github/nora/order-context-menu-actions
Sort and group context menu actions
2023-01-20 13:42:54 +01:00
Elena Tanasoiu b58d82e53a
Fix typo 2023-01-20 12:15:35 +00:00
Elena Tanasoiu a2df1eaee4
Add remote queries and variant analyses to our serialization tests
This was just testing local queries.
2023-01-20 12:11:06 +00:00
Nora dadd3499ac Sort and group context menu actions 2023-01-20 11:02:03 +00:00
Charis Kyriakou 526c4f3ab7 Remove root 'remote' node 2023-01-20 09:53:23 +00:00
Charis Kyriakou 65623c07a2 Turn off support for local dbs in new panel 2023-01-20 09:53:23 +00:00
Charis Kyriakou 8a6b361e84
Fix rename that went too far (#1988) 2023-01-19 09:09:58 +00:00
Robert 03993f376f Add credentials to App 2023-01-18 17:36:38 +00:00
Elena Tanasoiu 4dc1b12785
Merge pull request #1984 from github/elena/move-tests
Move tests for serialization/deserialization in their own file
2023-01-18 17:29:27 +00:00
Charis Kyriakou c2dcfe92bc
Update db panel rendering tests to not rely on order of root nodes (#1987) 2023-01-18 17:47:35 +01:00
Charis Kyriakou 1bd749dee0
Convert integration tests to unit tests (#1986) 2023-01-18 16:42:38 +00:00
Elena Tanasoiu e97a7c4993
Move tests for serialization/deserialization in their own file
We didn't have a query-serialization.test.ts file. Now we do.

We can build on these tests when we begin to save other types of data.
2023-01-18 12:21:39 +00:00
Nora 9c011c5fd1 Create testfile in no workspaces and copy paste 2023-01-18 12:36:45 +01:00
Nora f97dbb136d
Merge pull request #1981 from github/nora/db-panel-selection
Extract db panel selection tests to new file
2023-01-18 12:35:59 +01:00
Charis Kyriakou ec1cf015bf
Removed unnecessary awaits (#1982) 2023-01-18 10:58:37 +00:00
Nora 79289802c0 Create new selection test file and copy paste tests 2023-01-18 10:42:57 +00:00
Nora e1bc8ae95a
Merge pull request #1980 from github/nora/db-panel-rendering
Extract db panel render tests to new file
2023-01-18 11:41:39 +01:00
Robert 0bd6ba7898
Merge pull request #1978 from github/robertbrignull/compare_view_telemetry
Telemetry for compare view
2023-01-18 10:13:57 +00:00
Robert 84c6c1ef6b
Merge pull request #1976 from github/robertbrignull/local_results_telemetry
Emit telemetry for user interactions in the local results view
2023-01-18 10:13:20 +00:00
Nora 5b6587cc18 Create new file and copy paste tests 2023-01-18 10:07:52 +00:00
Shati Patel e230bf47d0
When adding repo, check whether name exists in specified parent list (#1977) 2023-01-18 10:01:47 +00:00
Nora 6c523db0ad
Merge pull request #1975 from github/nora/review-user-messages
Polish user facing messages
2023-01-18 10:05:19 +01:00
Robert 37e3e041e8 Piggyback on changeSort message 2023-01-17 16:46:02 +00:00
Robert 3a4ce9abb1 Telemetry for compare view 2023-01-17 16:34:30 +00:00
Koen Vlaswinkel b0168aa04a
Merge pull request #1964 from github/koesie10/packages-auth
Use stdin for supplying auth to CodeQL
2023-01-17 17:30:25 +01:00
Robert 4009f03dd2 Send telementry on other links and UI elements 2023-01-17 15:49:50 +00:00
Nora fe17f61b5e Rename remote to variant analysis 2023-01-17 14:18:24 +00:00
Robert f1dbc22a9a output telemtry from local results view on state changes 2023-01-17 12:58:11 +00:00
Robert 10776759c7 Support telemetry from local results view 2023-01-17 12:55:50 +00:00
Nora e6c6e8a2be Merge comments 2023-01-17 12:30:11 +00:00
Nora 07868d90e9 Remove unneeded expectations and adjust test 2023-01-17 10:14:08 +00:00
Nora 40f08393b2 Add test for expanded state cleanup 2023-01-17 10:14:08 +00:00
Nora c6c7b71b8a Add test for renaming expanded items 2023-01-17 10:14:08 +00:00
Nora 0bccdbb8d6 Add tests for adding and removing item to expanded state 2023-01-17 10:14:08 +00:00
Robert 611f6e39e0
Merge pull request #1953 from github/robertbrignull/telemetry_ui
Report telemetry on actions taken in the UI
2023-01-17 09:36:06 +00:00
Elena Tanasoiu a1f5e5b277
Merge pull request #1944 from github/elena/fix-removal
Display modal when removing an item from query history
2023-01-17 08:57:03 +00:00
Koen Vlaswinkel 7b5e5a6407
Merge pull request #1963 from github/koesie10/webpack-production-build
Use Webpack in production mode for releases
2023-01-17 09:49:59 +01:00
Koen Vlaswinkel 2957979b15 Update comment for CodeQL CLI authentication 2023-01-17 09:35:48 +01:00
Koen Vlaswinkel e8799ad275 Handle race condition when authenticating to the CLI 2023-01-17 09:31:58 +01:00
Elena Tanasoiu 57b6c9bb2c
Don't mention splat/slurp in comments or descriptions 2023-01-16 17:20:22 +00:00
Elena Tanasoiu 80dfe4ba69
Rename slurpQueryHistory -> deserializeQueryHistory 2023-01-16 17:20:22 +00:00
Elena Tanasoiu 06bc4c8fe3
Rename splatQueryHistory -> serializeQueryHistory 2023-01-16 17:20:22 +00:00
Elena Tanasoiu c62f381a2f
Remove extra log message 2023-01-16 17:19:26 +00:00
Elena Tanasoiu 3547fdfd54
Add tests for modal behaviour
Tests whether we choose "Yes" / "No" in the new modal window.

"Yes" -> remove the item and show you a toast notification
"No" -> don't remove item

This only shows up for in progress items.
2023-01-16 17:19:25 +00:00
Elena Tanasoiu ab0e67c251
Split removal tests based on state of query
We now have special behaviour for removing an "in progress" query so the
tests will be different.

Let's have a separate section for "in progress" queries. We'll add extra
behaviour testing in the next commit.
2023-01-16 17:19:25 +00:00
Elena Tanasoiu fa1f355b93
Show dialog with "Are you sure?" for in-progress queries
When you attempt to delete a query that's still in progress from your
query history, you get a prompt asking if you're sure.

If you pick "Yes", the item is removed and you see a toast notification
with a link towards the GitHub Action.
2023-01-16 17:19:25 +00:00
Robert 3777eb382f Make isCanary a string 2023-01-16 16:56:30 +00:00
Nora 4cb3c4cb50
Merge pull request #1968 from github/nora/rename-db-config-file
Rename DbConfigFile and Schema
2023-01-16 17:46:54 +01:00
Robert 44a0cad146 Make useTelemetryOnChange signature simpler 2023-01-16 16:44:32 +00:00
Robert 293ec1f204 Add debounce to variant-analysis-selected-repository-ids 2023-01-16 16:36:00 +00:00
Robert 38cbb95ecc Avoid === true on a boolean 2023-01-16 16:34:13 +00:00
Robert 18ddb3a297 Use isCanary() method 2023-01-16 16:12:20 +00:00
Robert 2453038387 Merge branch 'main' into robertbrignull/telemetry_ui 2023-01-16 16:10:18 +00:00
Charis Kyriakou 856e516b20
Renamed Run Query command (#1962) 2023-01-16 15:48:06 +00:00
Nora 6f78fffd10 Merge comments 2023-01-16 15:23:48 +00:00
Charis Kyriakou 957f6a023c
Mark App interface properties as read-only (#1969) 2023-01-16 15:20:28 +00:00
Nora afcb84fcd8 Rename db config file 2023-01-16 10:58:28 +00:00
Nora c19f58b0e3 Rename schema file 2023-01-16 10:22:55 +00:00
Nora 7f1bcedf9b Extract config file to constant 2023-01-16 10:11:00 +00:00
Shati Patel 817db85c36
Add "describe" blocks around `db-panel` tests (#1965) 2023-01-16 10:07:35 +00:00
Koen Vlaswinkel b4bb1b6ad7 Upload sourcemaps for release builds
To allow us to reconstruct a stack trace, this will upload the
sourcemaps for all release builds.
2023-01-16 10:58:00 +01:00
Koen Vlaswinkel 20a06238a2 Use stdin for supplying auth to CodeQL
This will supply the GitHub access token to certain CodeQL CLI commands
such that private packages can be resolved. It will only do so if the
user has an existing auth session. If they don't, they will now get a
prompt to login. However, this will only happen for commands which
actually use authentication, which is limited to packaging commands.
2023-01-13 15:02:51 +02:00
Koen Vlaswinkel f6f8b68ce9 Use Webpack in production mode for releases
This will set the `mode` of Webpack to `production` for release builds.
It will also stop inlining the sourcemap and instead produce a separate
file which is excluded by `.vscodeignore`.

In terms of the bundled extension, this will add 1 file
(`out/webview.js.LICENSE.txt`). It decreases the size of the VSIX file
from 4.28MB to 1.77MB.
2023-01-13 14:23:51 +02:00
Robert 47f63f6df6 Implement debounce for telemetry events 2023-01-13 12:17:15 +00:00
Robert 98a29d2459 Convert useStateWithTelemetry to useTelemetryOnChange 2023-01-13 12:17:13 +00:00
Koen Vlaswinkel f82fde35ee
Merge pull request #1799 from github/koesie10/bundle-extension
Bundle extension files using ESBuild
2023-01-13 14:13:35 +02:00
Robert e9830ee854 Add telemetry message to remote queries view 2023-01-13 11:21:10 +00:00
Shati Patel 277da3c971
Rename feature flag (#1961) 2023-01-13 11:07:26 +00:00