diff --git a/src/components/panels/MiniconsolePanel.vue b/src/components/panels/MiniconsolePanel.vue
index a059f2c97..57daa0bed 100644
--- a/src/components/panels/MiniconsolePanel.vue
+++ b/src/components/panels/MiniconsolePanel.vue
@@ -29,6 +29,9 @@
+
+
+
@@ -143,6 +146,14 @@ export default class MiniconsolePanel extends Mixins(BaseMixin) {
this.$store.dispatch('gui/saveSetting', { name: 'console.hideWaitTemperatures', value: newVal })
}
+ get hideTlCommands(): boolean {
+ return this.$store.state.gui.console.hideTlCommands
+ }
+
+ set hideTlCommands(newVal) {
+ this.$store.dispatch('gui/saveSetting', { name: 'console.hideTlCommands', value: newVal })
+ }
+
get customFilters(): any[] {
return this.$store.state.gui.console.customFilters
}
diff --git a/src/locales/en.json b/src/locales/en.json
index fb2676598..f3fb514a6 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -181,6 +181,7 @@
"SendCode": "Send code...",
"Empty": "Empty",
"HideTemperatures": "Hide temperatures",
+ "HideTimelapse": "Hide Timelapse",
"CommandList": "Command list"
},
"Heightmap": {
@@ -383,6 +384,7 @@
"Headline": "Console",
"SetupConsole": "Setup Console",
"HideTemperatures": "Hide temperatures",
+ "HideTimelapse": "Hide Timelapse",
"SendCode": "Send code..."
},
"MinSettingsPanel": {
diff --git a/src/pages/Console.vue b/src/pages/Console.vue
index dc3ac3b5f..64b5194e2 100644
--- a/src/pages/Console.vue
+++ b/src/pages/Console.vue
@@ -51,6 +51,9 @@
+
+
+
@@ -131,6 +134,14 @@ export default class PageConsole extends Mixins(BaseMixin) {
this.$store.dispatch('gui/saveSetting', { name: 'console.hideWaitTemperatures', value: newVal })
}
+ get hideTlCommands(): boolean {
+ return this.$store.state.gui.console.hideWaitTemperatures
+ }
+
+ set hideTlCommands(newVal) {
+ this.$store.dispatch('gui/saveSetting', { name: 'console.hideTlCommands', value: newVal })
+ }
+
get rows(): number {
return this.gcode?.split('\n').length ?? 1
}
diff --git a/src/store/gui/consolefilters/getters.ts b/src/store/gui/consolefilters/getters.ts
index cd3bdfba3..c4101713c 100644
--- a/src/store/gui/consolefilters/getters.ts
+++ b/src/store/gui/consolefilters/getters.ts
@@ -21,6 +21,13 @@ export const getters: GetterTree = {
if (rootState.gui.console.hideWaitTemperatures)
output.push('^(?:ok\\s+)?(B|C|T\\d*):')
+ if (rootState.gui.console.hideTlCommands) {
+ output.push('^_TIMELAPSE_NEW_FRAME')
+ output.push('^TIMELAPSE_TAKE_FRAME')
+ output.push('^TIMELAPSE_RENDER')
+ output.push('^_SET_TIMELAPSE_SETUP')
+ }
+
Object.keys(state.consolefilters).forEach((id: string) => {
const filter = state.consolefilters[id]
if (filter.bool) {
diff --git a/src/store/gui/index.ts b/src/store/gui/index.ts
index 534c06844..1d872ffaa 100644
--- a/src/store/gui/index.ts
+++ b/src/store/gui/index.ts
@@ -127,6 +127,7 @@ export const getDefaultState = (): GuiState => {
},
console: {
hideWaitTemperatures: true,
+ hideTlCommands: true,
direction: 'table',
entryStyle: 'default',
height: 300