Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display error thrown by Plots Diff in Plots tree #3569

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Mar 28, 2023

1/2 main <- this <- #3570

Part of #3222

This PR handles dvc plots diff throwing an error. The error is displayed in the plots tree. In the normal way that we display "global errors". I will delay the 2nd part of this PR (displaying global errors in the webview) until #3523 is merged.

Demo

Screen.Recording.2023-03-28.at.1.09.30.pm.mov

Note: dvc plots diff will actually no longer throw an error under the above circumstances.

@mattseddon mattseddon added the product PR that affects product label Mar 28, 2023
@mattseddon mattseddon self-assigned this Mar 28, 2023
@mattseddon mattseddon changed the base branch from main to fix-error-collection March 28, 2023 02:12
@mattseddon mattseddon changed the base branch from fix-error-collection to switch-fetch-to-false March 28, 2023 02:13
@mattseddon mattseddon force-pushed the handle-global-error branch 3 times, most recently from c873fe5 to 92a6f56 Compare March 28, 2023 03:30
@mattseddon mattseddon marked this pull request as ready for review March 28, 2023 04:32
@mattseddon mattseddon requested a review from shcheklein March 28, 2023 05:24
Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mattseddon mattseddon force-pushed the switch-fetch-to-false branch from a167130 to 1ac8932 Compare April 2, 2023 06:43
@mattseddon mattseddon changed the base branch from switch-fetch-to-false to main April 2, 2023 06:44
@mattseddon mattseddon force-pushed the handle-global-error branch from 92a6f56 to e4643ba Compare April 2, 2023 07:11
@mattseddon mattseddon enabled auto-merge (squash) April 2, 2023 07:11
@codeclimate
Copy link

codeclimate bot commented Apr 2, 2023

Code Climate has analyzed commit e4643ba and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 88.4% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.1% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 0a97521 into main Apr 2, 2023
@mattseddon mattseddon deleted the handle-global-error branch April 2, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants