From 6bddada8c2b36e254c333ae86a16731d9c2a8ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 21 Jun 2022 10:12:53 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20A?= =?UTF-8?q?dd=20task=20labeling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue_automation.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; } From c3531bc5b498b2bda0b92dcc80014915ad26217f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 21 Jun 2022 15:29:11 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=84=20GCV:=20Fix=20settings=20mark?= =?UTF-8?q?up.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/gcodeviewer_settings.jinja2 | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) 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 %} - -
-