Koen Vlaswinkel
110d930b68
Merge pull request #1543 from github/koesie10/outcome-panel
...
Add outcome panels
2022-09-27 15:20:24 +02:00
Koen Vlaswinkel
f408418f23
Merge remote-tracking branch 'origin/main' into koesie10/outcome-panel
2022-09-27 14:03:13 +02:00
Robert
0b638b6ae1
Merge pull request #1538 from github/robertbrignull/submit-variant-analysis
...
Implement submitting a live-results variant analysis
2022-09-27 10:36:24 +01:00
Robert
ce7c7119c7
Return a VariantAnalysis from runRemoteQuery
2022-09-27 10:11:49 +01:00
Robert
5dce5e83b0
Promise resolves successfully but result is undefined
2022-09-26 15:08:37 +01:00
Robert
ac3b94dac8
Merge pull request #1541 from github/robertbrignull/loading-component
...
Add loading component
2022-09-26 14:55:41 +01:00
Robert
519c3039b8
Don't wait for dialog box
2022-09-26 14:55:00 +01:00
Koen Vlaswinkel
0a5c272b17
Merge pull request #1539 from github/koesie10/alert-components
...
Add Alert component for showing warnings and errors
2022-09-26 15:00:38 +02:00
Robert
32ec043cbe
Hook into main variant analysis component
2022-09-26 13:52:37 +01:00
Robert
454a1eab39
Adjust styling
2022-09-26 13:48:32 +01:00
Koen Vlaswinkel
d3701944bf
Add outcome panels
...
This creates the component for showing the outcome panels. It does not
implement the content of each individual panel; it only implements the
tabs, panel views, and the general warnings.
2022-09-26 14:03:03 +02:00
Koen Vlaswinkel
43bcd69e39
Use proper casing for alert type text
2022-09-26 14:01:22 +02:00
Koen Vlaswinkel
53a17d5728
Use better color variables for alerts
2022-09-26 13:59:55 +02:00
Andrew Eisenberg
b0dab966f3
Merge pull request #1498 from alexet/alexet/prepare-new-qs
...
QueryServer: Abstract over the query running parts.
2022-09-23 11:10:39 -07:00
Andrew Eisenberg
e4a3161283
Merge pull request #1540 from github/aeisenberg/safe-max-fix
...
Ensure `safeMax` is safe for undefined values
2022-09-23 10:49:02 -07:00
Robert
47e53da89c
Fix typo
2022-09-23 17:25:49 +01:00
Robert
f8f81cfb40
Add loading component
2022-09-23 17:20:13 +01:00
Andrew Eisenberg
fd43bed99d
Merge remote-tracking branch 'alexet/alexet/prepare-new-qs' into alexet/prepare-new-qs
2022-09-23 08:56:38 -07:00
Andrew Eisenberg
ffc3d406c2
Merge branch 'main' into alexet/prepare-new-qs
2022-09-23 08:56:10 -07:00
Andrew Eisenberg
11bf3c9462
Ensure safeMax is safe for undefined values
...
I came across this when I had a query that threw an error while running
for unrelated reasons. At this point, the query results were in a bad
state, but this caused `safeMax` to be called with `undefined` and
it prevented the extension from starting. This changed fixed the error.
2022-09-23 08:21:44 -07:00
Robert
9b2c40b298
Move duplicate definition to constant
2022-09-23 15:41:28 +01:00
Robert
abf6c6f108
Remove unnecessary async
2022-09-23 15:41:11 +01:00
Robert
910c1b7352
Stub isVariantAnalysisLiveResultsEnabled instead of updating setting
2022-09-23 14:43:48 +01:00
Robert
f47d6ec21c
Stub getRepositoryFromNwoStub
2022-09-23 14:43:16 +01:00
Robert
0e23dd59db
Remove settings duplicated in beforeEach
2022-09-23 14:11:00 +01:00
Koen Vlaswinkel
160a0aebfe
Add Alert component for showing warnings and errors
2022-09-23 15:10:15 +02:00
Robert
4d3385825b
Move test to pure-tests directory
2022-09-23 13:05:07 +01:00
Robert
80862944d8
Add tests of parseVariantAnalysisQueryLanguage
2022-09-23 12:31:11 +01:00
Robert
91344a74f6
Fix tests that use parseResponse
2022-09-23 12:31:01 +01:00
Robert
7538ad1ba4
Add parseVariantAnalysisQueryLanguage method
2022-09-23 12:21:14 +01:00
Robert
24c2663fe7
Use separate describe blocks for live results enabled vs disabled
2022-09-23 12:03:27 +01:00
Robert
50aaf3b537
Move more implementation of fetching the controller repo into getControllerRepo
...
This involved changing a few different methods to take a Repository object
instead of taking owner and repo separately. Overall I think this is a good change.
2022-09-23 11:01:25 +01:00
Robert
847082cd30
Set live results mode to off both before and after tests
2022-09-23 10:41:14 +01:00
Koen Vlaswinkel
8c7c197b22
Merge pull request #1537 from github/koesie10/icons-storybook
...
Add Storybook stories for icons
2022-09-23 09:28:14 +02:00
dependabot[bot]
1f95eb2f49
Bump sinon from 13.0.1 to 14.0.0 in /extensions/ql-vscode ( #1535 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 13.0.1 to 14.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v13.0.1...v14.0.0 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 10:38:00 -07:00
Robert
7874a34947
Add tests for runRemoteQuery when in live results mode
2022-09-22 17:33:35 +01:00
Koen Vlaswinkel
a74c8a7cee
Merge pull request #1536 from github/koesie10/eslint-plugin-react-hooks
...
Add ESLint plugin for React hooks
2022-09-22 17:39:12 +02:00
Koen Vlaswinkel
3aced3c4d3
Add Storybook stories for icons
...
This will add Storybook stories for the error, success, and warning
icons, as well as for the generic `Codicon` component.
To show the available icons for the `Codicon` component, a static JSON
list is generated from the contents of a CSV file included as part of
the `@vscode/codicons` npm package. The command to regenerate the file
is included in the story.
2022-09-22 17:37:33 +02:00
Koen Vlaswinkel
bec23f36d2
Add ESLint plugin for React hooks
...
This will add the ESLint plugin for React hooks which will automatically
check that all dependencies are listed in `useMemo`, `useEffect`, etc.
See: https://www.npmjs.com/package/eslint-plugin-react-hooks
2022-09-22 17:10:45 +02:00
Koen Vlaswinkel
92bbf3a2e8
Merge pull request #1534 from github/koesie10/variant-analysis-header-domain-model
...
Use domain model for VariantAnalysisHeader
2022-09-22 15:27:32 +02:00
Koen Vlaswinkel
5c478e98d9
Merge pull request #1532 from github/koesie10/split-common-components
...
Split CodePaths and FileCodeSnippet into multiple files
2022-09-22 15:09:42 +02:00
Koen Vlaswinkel
f26988731e
Add missed dependency in useMemo
2022-09-22 15:03:35 +02:00
Koen Vlaswinkel
e6f9ce050b
Extract potentially reusable functions to shared file
2022-09-22 15:00:09 +02:00
Robert
52f993f748
Implement submitting a variant analysis
2022-09-22 12:20:24 +01:00
Charis Kyriakou
99fe65f6f7
Update skipped repo groups structure for variant analysis ( #1533 )
2022-09-22 12:02:30 +01:00
Robert
7d721d9544
Add getControllerRepoId method
2022-09-22 11:35:16 +01:00
Koen Vlaswinkel
1005ecdc6a
Fix mock view
2022-09-22 12:06:04 +02:00
Koen Vlaswinkel
c9f65be721
Use domain model for VariantAnalysisHeader
...
This will change the VariantAnalysisHeader to take the VariantAnalysis
domain model instead of a large amount of props.
It also adds the `canceled` status to the `VariantAnalysisStatus` to
represent a stopped variant analysis.
2022-09-22 11:58:26 +02:00
Koen Vlaswinkel
9ad28f36b4
Split CodePaths and FileCodeSnippet into multiple files
2022-09-22 11:12:03 +02:00
Koen Vlaswinkel
9c076152cb
Merge pull request #1523 from github/koesie10/refactor-common-components
...
Refactor CodePaths and FileCodeSnippet components
2022-09-22 11:03:56 +02:00