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

🐛 Always show analysis details in drawer #1103

Merged
merged 3 commits into from
Jul 12, 2023

Conversation

ibolton336
Copy link
Member

@ibolton336 ibolton336 commented Jul 10, 2023

@ibolton336
Copy link
Member Author

Screenshot 2023-07-10 at 12 24 23 PM

@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Patch coverage: 83.33% and project coverage change: +0.03 🎉

Comparison is base (db4c8f2) 44.04% compared to head (ea1daf8) 44.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1103      +/-   ##
==========================================
+ Coverage   44.04%   44.08%   +0.03%     
==========================================
  Files         177      177              
  Lines        4493     4498       +5     
  Branches     1007     1007              
==========================================
+ Hits         1979     1983       +4     
- Misses       2503     2504       +1     
  Partials       11       11              
Flag Coverage Δ
unitests 44.08% <83.33%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
client/src/app/api/rest.ts 54.00% <80.00%> (+0.24%) ⬆️
client/src/app/Constants.ts 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

</Button>
) : null}

{notAvailable}
Copy link
Collaborator

@mturley mturley Jul 10, 2023

Choose a reason for hiding this comment

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

This notAvailable should be on the else end of the task ? <Button> : null ternary instead of null, right? Currently you get both the "Analysis details" button and then "not available" text below it (which will always appear).

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah - I was wondering what we should show in this case for the "catch all status". I think your suggestion makes sense.

Signed-off-by: ibolton336 <ibolton@redhat.com>
Copy link
Collaborator

@mturley mturley left a comment

Choose a reason for hiding this comment

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

LGTM

@ibolton336 ibolton336 merged commit aedaf9c into konveyor:main Jul 12, 2023
6 of 7 checks passed
ibolton336 added a commit to ibolton336/tackle2-ui that referenced this pull request Jul 21, 2023
- It was reported (no bz) that the analysis details should always be
accessible from the side drawer. This PR removes the spinner for
in-progress analysis status & replaces it with a link to the code viewer
modal. Resolves konveyor#1013
- Also, this PR hides the facts tab when no facts are present. Resolves

Signed-off-by: ibolton336 <ibolton@redhat.com>
@ibolton336 ibolton336 deleted the dont-show-spinner branch July 21, 2023 18:03
sjd78 added a commit that referenced this pull request Jul 21, 2023
#1191)

When an analysis task is running, and the application drawer is open,
show both loading text and spinner and the existing tags. Once the
analysis is complete, the loading text/spinner will be removed and any
new tags will be shown.

Bug-Url: https://issues.redhat.com/browse/MTA-465

The Reports tab is also mentioned on MTA-465. This was already addressed
with #1103.

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
ibolton336 added a commit that referenced this pull request Jul 21, 2023
… (#1190)

cherry-pick: 
0b20ab3 
&& 
0ff95b8

- It was reported (no bz) that the analysis details should always be
accessible from the side drawer. This PR removes the spinner for
in-progress analysis status & replaces it with a link to the code viewer
modal. Resolves #1013
- Also, this PR hides the facts tab when no facts are present. Resolves
Assists with resolving https://issues.redhat.com/browse/MTA-465

---------

Signed-off-by: ibolton336 <ibolton@redhat.com>
sjd78 added a commit to sjd78/tackle2-ui that referenced this pull request Jul 21, 2023
Backport of konveyor#1191

When an analysis task is running, and the application drawer is open,
show both loading text and spinner and the existing tags. Once the
analysis is complete, the loading text/spinner will be removed and any
new tags will be shown.

Bug-Url: https://issues.redhat.com/browse/MTA-465

The Reports tab is also mentioned on MTA-465. This was already addressed
with konveyor#1103 (backported with konveyor#1190)

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
sjd78 added a commit to sjd78/tackle2-ui that referenced this pull request Jul 21, 2023
Backport of konveyor#1191

When an analysis task is running, and the application drawer is open,
show both loading text and spinner and the existing tags. Once the
analysis is complete, the loading text/spinner will be removed and any
new tags will be shown.

Bug-Url: https://issues.redhat.com/browse/MTA-465

The Reports tab is also mentioned on MTA-465. This was already addressed
with konveyor#1103 (backported with konveyor#1190)

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
sjd78 added a commit that referenced this pull request Jul 21, 2023
…r when a Task is running (#1192)

Backport of #1191

When an analysis task is running, and the application drawer is open,
show both loading text and spinner and the existing tags. Once the
analysis is complete, the loading text/spinner will be removed and any
new tags will be shown.

Bug-Url: https://issues.redhat.com/browse/MTA-465

The Reports tab is also mentioned on MTA-465. This was already addressed
with #1103 (backported with #1190)

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants