Commit Graph
77 Commits
Author SHA1 Message Date
Stefan Dej b7e58d98ff refactor: move presets to own moonraker db namespace and create sub module of gui store (#405)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 15:22:28 +01:00
Stefan Dej e6eb4fae18 feat: mainsail dependencies panel on the dashboard (klipper, moonraker)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 19:42:00 +01:00
Stefan Dej 931d0a6d50 feat: add start/stop service buttons and display service state in top corner menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-30 01:36:19 +02:00
Stefan Dej 3dae42edb0 feature: collapsable and normalize panels (#372)
* feature: add panel component to normalize all panels
* feature: add expand function to panel component
* chore: remove not used computed value
* feature: add slot for override the icon in the panel
* chore: remove unused package (vue2-collapse)
* feature: change StatusPanel.vue to panel component
* feature: add prop to change toolbar color
* feature: change MinSettingsPanel.vue to panel component
* feature: change MoonrakerStatePanel.vue to panel component
* feature: change KlippyStatePanel.vue to panel component
* feature: change KlipperWarningsPanel.vue to panel component
* feature: change ControlPanel.vue to panel component
* feature: change PrintsettingsPanel.vue to panel component
* feature: change MiscellaneousPanel.vue to panel component
* feature: change ToolsPanel.vue to panel component
* feature: change MacrosPanel.vue to panel component
* feature: change MiniconsolePanel.vue to panel component
* feature: change FarmPrinterPanel.vue to panel component
* bugfix: add toolbar zindex to fix panel hover overlay
* bugfix: remove toolbar zindex and modify hover effect
* bugfix: farmprinter loading state (remove debug output)
* feature: add prop to disable margin botton of panel component
* feature: change HistoryListPanel.vue to panel component
* feature: move history statistics in HistoryStatisticsPanel.vue and use panel component
* feature: change ZoffsetPanel.vue to panel component
* feature: add slot after toolbar title in panel component
* feature: change Heightmap.vue to panel component
* feature: change Files.vue to panel component
* feature: change Viewer.vue to panel component
* feature: add buttons before toolbar in panel component
* feature: change ConfigFilesPanel.vue to panel component
* feature: change EndstopPanel.vue to panel component
* chore: fix typo in card class from ConfigFilesPanel.vue
* feature: change LimitsPanel.vue to panel component
* feature: change LogfilesPanel.vue to panel component
* feature: change SystemPanel.vue to panel component
* feature: change UpdatePanel.vue to panel component
2021-10-09 23:39:06 +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 855959a1f9 chore(type): fix type for build
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 23:24:57 +02:00
Stefan Dej 2cf4d8ba58 hotfix(gcodefiles): fix printed files filter
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 20:47:49 +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 c346510cdf bugfix: available_services types and getter in topbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-24 22:47:16 +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 7c5f613f5a feature: add welcome message in empty console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-07 00:50:41 +02:00
Stefan Dej 96f8a68448 feature: linux like console & customize console height (#321)
* feature: add linux/bash like console style

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

* bugfix: fix not full console position

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

* feature: configable console height on dashboard

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

* bugfix: old variable name in MiniconsolePanel.vue

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

* bugfix: console array cut on dashboard dont work with shell style

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-06 14:32:11 +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 Dej 1fda940f11 remove debug console outputs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-07-25 22:02:25 +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 d8de425d69 feature: show all available services (moonraker) in TopCornerMenu to restart the service
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-05-31 00:30:57 +02:00
Stefan Dej 037db5f14a feature: display moonraker warnings on the dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-05-31 00:15:14 +02:00
Stefan Dej 38c4da2f43 bugfix: add moonraker inotify support (#282)
* bugfix: update to moonraker file_manager inotify events

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

* feature: add root_update to enable gcode files with registered root directories

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-05-18 21:38:33 +02:00
Stefan Dej b49c57405c feature: multiple custom console filters
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-20 21:46:04 +02:00
Stefan Dej c078471360 fix init load of history data
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-10 14:04:26 +02:00
Stefan Dej 40ade2050f fix loading history entries (every 51 element lost)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-05 19:40:11 +02:00
Stefan Dej f3110e3587 last change of history status chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-05 00:20:01 +02:00
Stefan Dej 54c3511572 add border to pi chart sections
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-02 23:35:26 +02:00
Stefan Dej dfe2e8ccf6 fix history statistic starts starttime
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-02 23:19:43 +02:00
Stefan Dej 44dec77ad5 max event history
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-31 23:18:47 +02:00
Stefan Dej b2f36b84d9 add loop load to print history
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-31 00:59:11 +02:00
Stefan Dej b320ba4d60 init load of history data 14 days
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-30 00:15:04 +02:00
Stefan Dej 85de19ffeb fix chart colors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-28 22:57:44 +02:00
Stefan Dej 7bbf77885d change icons and fix gcode files list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-25 22:05:54 +01:00
Stefan Dej 9fc16ffe43 update history status in gcode filelist
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-24 23:12:21 +01:00
Stefan Dej 5eb30ce4bb update history status list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-23 21:59:53 +01:00
Stefan Dej 0b5188d187 update history to moonraker history totals
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-23 00:05:04 +01:00
Stefan Dej 63d55993b5 fix filament usage chart (add every day to dataset)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-21 20:38:22 +01:00
Stefan Dej 41f625efa5 move chip icons & colors to history module getters
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-21 20:17:32 +01:00
Stefan Dej 657f9392a2 add status in gcode files and code cleanup
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-21 01:24:29 +01:00
Stefan Dej ed3aca4a8b fix history all status chart colors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-20 23:50:09 +01:00
Stefan Dej 4260192e9c Merge branch 'master' into feature/history 2021-03-19 19:55:35 +01:00
Stefan Dej 8cb410b99e reverse compatibility for moonraker components/plugins
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-19 19:23:56 +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 88d1debd73 add context menu of history jobs (details, reprint, delete)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-17 22:16:40 +01:00
Stefan Dej 286523a997 add detail dialog to history list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-16 23:32:35 +01:00
Stefan Dej 38fa2bd75b add notify_history_changed
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-16 20:34:53 +01:00
Stefan Dej 4224553710 first implementation of print history
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-16 00:10:52 +01:00
Stefan Dej 70903ae3cf bugfix: upgrade notification with semver check
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 13:36:35 +01:00
Stefan Dej 7750a897e2 finish to move from mainsail.json to moonraker db
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 00:22:10 +01:00
Stefan Dej 80c53494f9 first tests with the moonraker database
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 00:22:10 +01:00
Stefan Dej 7e48b08f81 feature: customizeable tempchart length (moonraker: temperature_store_size)
bugfix: autoscale chart (ignore hidden series)

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 28aa03a55f remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 23:19:22 +01:00
Stefan Dej 6fb8d16143 bugfix: colorpicker return object instead of string (fix #193)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 22:16:10 +01:00