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

🐛 Update the enabled check for the Analysis button #1977

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Jun 21, 2024

On the application table, update the analysis button's enable/disable check such that analysis is only allowed to be started when all of the tasks for the selected applications are in a terminal state (they are not in-flight/queued).

Fixes: #1976

On the application table, update the analysis button's
enable/disable check such that analysis is only allowed
to be started when all of the selected applications do
not have a current in-flight task running.

Resolves: konveyor#1976

Signed-off-by: Scott J Dickerson <[email protected]>
@sjd78 sjd78 added this to the v0.5.0 milestone Jun 21, 2024
ibolton336
ibolton336 previously approved these changes Jun 21, 2024
@ibolton336 ibolton336 self-requested a review June 21, 2024 17:21
@ibolton336 ibolton336 dismissed their stale review June 21, 2024 17:21

Cancelled state handling

Signed-off-by: Scott J Dickerson <[email protected]>
@sjd78 sjd78 requested review from rszwajko and jortel June 21, 2024 18:43
Copy link

codecov bot commented Jun 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.22%. Comparing base (b654645) to head (66a093d).
Report is 174 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1977      +/-   ##
==========================================
+ Coverage   39.20%   42.22%   +3.01%     
==========================================
  Files         146      170      +24     
  Lines        4857     5450     +593     
  Branches     1164     1325     +161     
==========================================
+ Hits         1904     2301     +397     
- Misses       2939     3133     +194     
- Partials       14       16       +2     
Flag Coverage Δ
client 42.22% <ø> (+3.01%) ⬆️
server ?

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sjd78
Copy link
Member Author

sjd78 commented Jun 21, 2024

Screen Shots

Analysis button enabled when the selected app doesn't have a task:
screenshot-localhost_9000-2024 06 21-14_53_47

Analysis button disabled when one of the selected apps has a queued task:
screenshot-localhost_9000-2024 06 21-14_53_55

Analysis button enabled when selected an app whose previous task is complete:
screenshot-localhost_9000-2024 06 21-14_58_46

@sjd78 sjd78 requested a review from dymurray June 21, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Analysis button on application table remains disabled after starting 1 analysis
3 participants