Skip to content

Commit

Permalink
Merge pull request #561 from kartoza/timlinux/issue434
Browse files Browse the repository at this point in the history
Fix more status indicators
  • Loading branch information
timlinux authored Nov 4, 2024
2 parents 093b834 + 31becfa commit 2e638ba
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 141 deletions.
2 changes: 2 additions & 0 deletions geest/core/json_tree_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def getItemTooltip(self):
def getStatusIcon(self):
"""Retrieve the appropriate icon for the item based on its role."""
status = self.getStatus()
if self.isAnalysis():
return None
if status == "Completed successfully":
return QIcon(resources_path("resources", "icons", "completed-success.svg"))
elif status == "Required and not configured":
Expand Down
2 changes: 2 additions & 0 deletions geest/gui/panels/tree_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ def clear_button_clicked(self):
This method is needed to avoid passing bool via the slot.
"""
self.run_only_incomplete = False
self._clear_workflows()
self.save_json_to_working_directory()

Expand Down Expand Up @@ -1045,6 +1046,7 @@ def run_incomplete(self):
self.run_only_incomplete = True
self.items_to_run = 0
self._count_workflows_to_run()
self._clear_workflows()
self._queue_workflows()

def _queue_workflows(self):
Expand Down
79 changes: 14 additions & 65 deletions geest/resources/icons/failed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 14 additions & 76 deletions geest/resources/icons/required-not-configured.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2e638ba

Please sign in to comment.