diff --git a/.github/workflows/issue_automation.yml b/.github/workflows/issue_automation.yml index 3e5b9e016..13830c66a 100644 --- a/.github/workflows/issue_automation.yml +++ b/.github/workflows/issue_automation.yml @@ -28,6 +28,11 @@ jobs: labels = labels.filter(label => label !== 'triage'); setLabels = true; } + if (context.payload.issue.title.match(/\[task\]/i)) { + labels.push('task'); + labels = labels.filter(label => label !== 'triage'); + setLabels = true; + } if (labels.length === 0) { labels.push('triage'); @@ -37,7 +42,7 @@ jobs: } case 'closed': { - if (labels.includes('bug') || labels.includes('request') || labels.includes('improvement')) { + if (labels.includes('bug') || labels.includes('request') || labels.includes('improvement') || labels.includes('task')) { labels.push('done'); setLabels = true; } diff --git a/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 b/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 index 930fd8744..c44c78425 100644 --- a/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 +++ b/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 @@ -1,17 +1,22 @@

{{ _("GCode Viewer") }}

-
- +
+
-
- -
+ + + {% trans %}If provided, the GCode Viewer will search for a line beginning with this string. If found, all GCode up to that point will be skipped. This can be used to skip "purge/nozzle wipe" GCode in the viewer. Note the search is case sensitive. Example: ; layer 1{% endtrans %} + +
+
+
+ +
+ {{ _('on desktop')}}
-
- -
+ {{ _('on mobile')}}
@@ -20,13 +25,4 @@
-
- -
- - - {% trans %}If provided, the GCode Viewer will search for a line beginning with this string. If found, all GCode up to that point will be skipped. This can be used to skip "purge/nozzle wipe" GCode in the viewer. Note the search is case sensitive. Example: ; layer 1{% endtrans %} - -
-