Commit Graph
92 Commits
Author SHA1 Message Date
Stefan DejandEike Ahmels 4ece97a535 feat: macro management (#396)
* feature: add multiple macro management settings (simple/expert)

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: create and remove Macrogroups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: edit function for macro groups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: create/edit/delete macrogroups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: init data in heightmap dont exist without bed_mesh

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore: extract macro params (#392)

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* feat: finish macro management settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: macro management in dashboard settings and display panels

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: align of icons and text in settings dashboard

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: move gcode macros in seperate component

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: combine "show status lines" in edit macro groups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: display macrogroups and macros in paused state

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: macro group rights and display errors

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: remove create macrogroup and just add new group without name

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: hide macrogroups when macromanagement is simple

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: change to Roboto-Mono font in console

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore: add robotoMono font

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: remove debug outputs

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: update regex for extract params from macros

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: macro params regex update

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: hide params with '_' as first char

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: switch simple macros panel to macro-button component

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: fix padding of macro params dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: add tooltips to macro management icon buttons

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: filter not existing macrogroups in panellist

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: delete layout position when deleting macrogroup

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Eike Ahmels <hui_buh-@gmx.net>
2021-10-27 22:37:15 +02:00
Stefan Dej ae82bfe7f7 feat: add function to change/select time calculations for estimate and ETA times
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-23 01:51:08 +02:00
Stefan Dej b99463ee99 fix: remove [display_status] from min settings, when [display] exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-22 18:33:23 +02:00
Stefan Dej 5dbffdb167 chore: merge master in develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-09 00:33:17 +02:00
Stefan Dej 7ae0fe2209 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	src/App.vue
#	src/components/panels/ControlPanel.vue
#	src/components/panels/FarmPrinterPanel.vue
#	src/pages/Files.vue
#	src/store/farm/printer/getters.ts
#	src/store/farm/printer/mutations.ts
#	src/store/files/getters.ts
#	src/store/printer/mutations.ts
#	src/store/server/history/getters.ts
#	src/store/socket/getters.ts
2021-09-09 00:27:19 +02:00
Stefan Dej 62afec1934 hotfix(store): fix error of migrate drv_status in store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-07 23:58:40 +02:00
Stefan Dej f1094e9c29 chore(eslint): config and fix eslint rules (#340)
* chore(eslint): init & config eslint

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore(eslint): fix eslint rules

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 16:08:00 +02:00
Stefan Dej eb1e1d4f5c chore: fix some eslint warnings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 23:25:56 +02:00
Stefan Dej 00caf8a655 feature(editor): add JSON syntax highlighting
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 14:57:19 +02:00
Stefan Dej ef9b17a9f4 bugfix(heightmap): fixed profiles list for KevinOConnor/klipper#4598
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 18:05:24 +02:00
Stefan Dej 24cf380b17 bugfix: add all available sensors to tempchart
on the first klipper load after adding a sensor, it will not be included in the moonraker history

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-19 21:35:15 +02:00
Stefan Dej 6bd2977190 bugfix: add pwm series to chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-16 23:12:47 +02:00
Stefan Dej 0e6897a295 bugfix: hide heaters, temperature_fans and temperature_sensors with _ as first letter in the name in tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-15 19:30:37 +02:00
Stefan Dej da28b87ae1 feature: hide heaters, temperature_fans and temperature_sensors with _ as first letter in the name
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-15 18:29:45 +02:00
Stefan Dej 4cb68488b7 feature: add logo favicon and progress favicon in logo color
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-03 19:14:46 +02:00
Stefan Dej aefd4caf5e Feature/motion report (#317)
* test new flow and velocity

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* test build for live speed & flow

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: fix ToolSlider.vue for printsettings and machine limits

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* remove debug output

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* rework MachineLimits

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: live extruder, toolhead speed and position data in StatusPanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-01 14:05:44 +02:00
Stefan Dej 7a55cad11d feature: change to motion_report with fallback to toolhead position in status panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-07-26 15:54:56 +02:00
Stefan Dej 76453e86f2 bugfix: system loads cannot be displayed with temperature_fan for mcu temp sensor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-07-25 23:31:38 +02:00
Stefan DejandEike Ahmels baa25c4bcd V2.0.0-beta (#308)
* test vue-echarts and dataset>source instead of series>data

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix disposed state of chart & delete update interval of settings page

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* init TS migation & dashboard

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: dashbaord console

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add "disabled" status to the filament runout sensor on the dashboard

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix klipper restart process

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix status panel during a print

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert g-code files to typescript

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert history files to typescript

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert machine limits to typescript

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert update manager to typescript

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert endstops & logfiles to typescript

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix temp display in tools panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert machine > config files to TS

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert select printer dialog to TS

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert select printer menu to TS

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert farm page to TS

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix debug output of farm printer getters

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix import webcam streams in farm view

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* better handling when changing printers

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert heightmap to TS

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert heightmap to TS

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* Console QOL (#300)

* CHORE

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* NEW: console ts refactor, linux autocomplete, gui helplist, multiline

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* FIX: console autocomplete flood fix

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* fix merged console

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fixed return of ConsoleTable.vue isCommand

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: add toast after creating file in ConfigFilesPanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: file upload message

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add toolbar to files panels

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: disable scrollbars in TempChart.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: sidebar z-index and farm printer toolbar

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: sidebar & topbar z-index and farm printer toolbar

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* update toolbars in gcode-files and history

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: new settings dialog (#302)

* create settings dialog and integrate general, console, control, marcos, presets, webcams

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: renamed webcam gui state variable

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: temperature_fan chamber in farm printers dashboard

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: only display RPM in tools panel, when its available

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: reading empty remote printers list

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: loading additionalSensors in temp panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: bed_mesh loading
rework heightmap settings
save heightmap settings in moonraker db

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add remote printers to settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix types

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add beforeDestroy to echarts

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add heightmap visualMap scaling and format tooltip

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: logo & primary color customizing

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* remove keep-alive in app.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* round tempchart data

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* normalize toolbar buttons

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix series attributes & update echarts-gl

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix hostname in sidebar

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* rework websocket loadings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix rework websocket loadings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* Fixes for console QOL PR (#301)

* FIX: command help dialog added

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* FIX: console fixes

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* rework events store

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: check customFilters if string or array

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: edit preset dont work (existing name check)

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: save webcam with index 0

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: tool combobox input dont work

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: tooltip position & z-index

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* rework console

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix output name of filament sensor

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* store performance updates and StatusPanel.vue optimizing

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* console bugfixes

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix icon-rotate in temperatures panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add auto-grow to console input fields

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix dialog action button colors

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix refreshMetadata of gcocde files

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add multi fileupload to drag&drop upload

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* convert SystemPanel to TS

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add init and getters for system panels

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add init and getters for system panels

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* finish SystemPanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: raspberry throttled flags in topbar

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: fix type in TheThrottledStates.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add new editor (#307)

* init test

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* theme test

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: switch to codemirror editor

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: fix type in TheThrottledStates.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* reformat flags output and deactivate debug output

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add types to throttle states

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* display "dirty" in the board firmware version string

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix mini console array cut

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* delete old comment

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix config files on small devices

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: display macro description in settings tab

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* change settings icons

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* rename dashboard panel & change slider text in settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* responsive optimations for settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix throttled state flags filter

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* Code highlighting for codemirror (#309)

* init test

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* theme test

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: switch to codemirror editor

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* NEW: klipper_config editor theme

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* NEW: code highlighting for codemirror

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

Co-authored-by: Stefan Dej <meteyou@gmail.com>

* feature: hide/show jobs with special print status

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* redesign console help modal

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: default state of sidebar was wrong on mobile devices

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: mobile view interface settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: optimize mobile view interface settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: block empty console commands

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* push version number

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add current / max flow in status panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add big gcode thumbnail to status panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: fix favicon and setting tab names

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* cleanup old editor

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: add redirect for updates from 1.6.0 to 2.0.0

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Eike Ahmels <hui_buh-@gmx.net>
2021-07-16 23:21:37 +02:00
Stefan Dej 1919aa6921 feature: add filament_motion_sensors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-05-10 18:09:06 +02:00
Stefan Dej 2865a8f83a bugfix: fix icon issue in edit tool dialog of temperature_sensors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-18 12:07:35 +02:00
Stefan Dej e9929cd1bf bugfix: fix shared_heater min_extrude_temp in control panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-11 18:47:28 +02:00
Stefan Dej 2761e7a3c4 fix console send command
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-11 13:30:36 +02:00
Stefan Dej 86d45b8507 feature: add state avg to heaters and temperature_fans in ToolsPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-10 17:52:29 +02:00
Stefan Dej a28ca91f73 display only hours as max unit in total printtime
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-10 16:46:11 +02:00
Stefan Dej fe05d5c489 feature: send an api e-stop instead of M112 gcode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-09 21:00:28 +02:00
Stefan Dej 3da9dd22b0 feature: redesign status panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-06 00:28:18 +02:00
Stefan Dej 7735bedc51 round new tempchart values
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-02 23:08:43 +02:00
Stefan Dej 761f08b87d optimize tempchart workflow
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-29 21:24:16 +02:00
Stefan Dej 98b8c5ce51 fix status estimated times
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-22 22:44:31 +01:00
Stefan Dej d643e63017 feature: add ETA to page title
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-22 00:11:27 +01:00
Stefan Dej 56b9172efa bugfix: also change hover color (emphasis) from dataset
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-21 14:06:05 +01:00
Stefan Dej 0dfb06d656 bugfix: only accept data later than the last entry of the dataset (tempchart)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-21 02:05:41 +01:00
Stefan Dej bbdbde3869 bugfix: pwm scale with uppercase fans
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-19 19:55:00 +01:00
Stefan Dej 31d898c6ef rename moonraker plugins in components (update for https://github.com/Arksine/moonraker/commit/1dc920019cba92bd329d6f407cdeb75398a2fd72)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-19 10:17:55 +01:00
Stefan Dej 437f459b94 bugfix: disable dataset on hover
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 00:41:01 +01:00
Stefan Dej 1854c04d7a feature: display power/speed axis in tempchart only with a enabled dataset
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-05 00:04:48 +01:00
Stefan Dej ab6e0c07dc feature: display bed_mesh variance and make profile name clickable
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-04 23:33:51 +01:00
Stefan Dej e22a88d397 bugfix: fan slider off_below
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-04 22:35:11 +01:00
Eike Ahmels 54205d940a Merge remote-tracking branch 'upstream/master' into feature/misc_fan_values 2021-03-04 08:05:51 +01:00
Stefan Dej 68b1863ca1 bugfix: set default values of printer limits
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-03 21:40:05 +01:00
Stefan Dej 3c7dc54bea feature: add tacho value to miscellaneous fans and temperature_fans
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-01 22:01:57 +01:00
Eike Ahmels 01df98b8ec merged upstream master 2021-02-24 22:11:46 +01:00
Eike Ahmels 0895026c02 removed fan_misc changes from this pr 2021-02-24 10:19:57 +01:00
Eike Ahmels 12a89c93a9 fixed scaling, always 100% max, internal scaling to "correct" klipper value 2021-02-23 22:51:34 +01:00
Eike Ahmels b8e7bab442 fixed for klipper parsed settings object 2021-02-23 19:06:31 +01:00
Eike Ahmels 8047b7703c new fan config is accounting for off_below and max_power 2021-02-23 09:13:41 +01:00
Stefan Dej 14195daa5a optimize dataset color and chart hover
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 22:19:43 +01:00
Eike Ahmels 9a84111fb3 removed console.log 2021-02-22 10:34:16 +01:00
Eike Ahmels 81541d33f7 new respect off_below and max_power for fans 2021-02-22 10:33:12 +01:00