Changed location of status label settings.

Moved status label settings to a place that makes a bit more sense, and lets
them be defined differently for each bug report platform.
This commit is contained in:
Jamie Greunbaum
2024-05-19 21:58:14 -04:00
parent be16db4d76
commit fd156e56f3
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -69,9 +69,9 @@ func __return_list_of_bugs_thread(callback:Callable) -> void:
if response_data is Array:
# If the response is an array, we can make the assumption that this is
# a list of returned bugs.
var resolved_labels : Array = ProjectSettings.get_setting("bugbot/markers/resolved/resolved_statuses")
var in_progress_labels : Array = ProjectSettings.get_setting("bugbot/markers/in_progress/in_progress_statuses")
var unresolved_labels : Array = ProjectSettings.get_setting("bugbot/markers/unresolved/unresolved_statuses")
var resolved_labels : Array = ProjectSettings.get_setting("bugbot/reporting/gitea/status_labels/resolved_statuses")
var in_progress_labels : Array = ProjectSettings.get_setting("bugbot/reporting/gitea/status_labels/in_progress_statuses")
var unresolved_labels : Array = ProjectSettings.get_setting("bugbot/reporting/gitea/status_labels/unresolved_statuses")
for bug_in:Dictionary in response_data:
var bug : BugbotBugData = BugbotBugData.new()
bug.id = bug_in["id"]