Commit Graph
65 Commits
Author SHA1 Message Date
Stefan Dej 7ac6a723b4 feat: add table view for print status stats (#1192)
fix https://github.com/mainsail-crew/mainsail/issues/891
2023-01-07 22:42:01 +01:00
Stefan Dej 685665bd46 feat: add option to change date & time format in settings (#1069) 2022-10-09 19:59:47 +02:00
Stefan Dej 0570568322 fix: fix dep loading issue after update vite (#1058) 2022-09-04 19:37:02 +02:00
Stefan Dej 4be40b6457 fix: echarts getters in heightmap, tempchart & history statistics (#859) 2022-05-29 11:58:12 +02:00
Stefan Dej 8b4465300d fix: resize issues with tempchart and other components (#808) 2022-05-15 22:36:00 +02:00
th33xitusandStefan Dej 97912022c2 fix: duplicate checkbox for pwm fan (fixes #799) (#802)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-05-15 20:00:38 +02:00
th33xitusandStefan Dej aee5efcd3d feat: temperature panel rework (#748)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-04-24 23:26:45 +02:00
Stefan Dej b521b1cd1e fix: resize tempchart on window resize event (#750) 2022-04-11 23:46:11 +02:00
Stefan Dej adf922c048 feat: translate job status in history (#713) 2022-03-13 21:31:52 +01:00
Stefan Dej 3b34ad547e fix: search temperature_store_size in data_store and server (#705) 2022-03-07 20:37:19 +01:00
pataar f7bb1e168c refactor: replace the mdiclock for an emoji on the TempChart (#690) 2022-03-04 20:51:34 +01:00
pataar 213bffd3e4 refactor: replace font icons with their svg counterparts (#646) 2022-03-02 22:55:27 +01:00
pataar 60ce6553a9 build(lint): upgrade vue ruleset to ‘recommended’ (#663) 2022-02-20 11:00:41 +01:00
pataar fe92b97940 perf: replace echart library and load it modular (#645) 2022-02-17 21:56:55 +01:00
pataar 615ee73801 style: use prettier on other file formats as well (#648) 2022-02-16 22:10:16 +01:00
Stefan Dej 455a3aa194 feat: multiselect in history jobs (#509)
select jobs to show stats only from this jobs and you can delete selected jobs from the history
2022-02-15 23:34:15 +01:00
Stefan Dej 7890d1e004 fix: import bugfixes from release v2.1.2 (#639)
(cherry picked from commit ebf74860f4)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-02-14 23:50:02 +01:00
pataar 04b6992f3c style: add prettier as default formatter (#614) 2022-02-13 22:09:25 +01:00
pataar 410610137a build(vite): migrate to vitejs (#594) 2022-02-08 10:10:06 +01:00
Stefan Dej 25d1267a07 fix: issue with tempchart/temphistory if the browser go into sleep mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 23:43:11 +01:00
Stefan Dej 7f6e6e5bdf feat: backup/restore/default moonraker db (#476)
* refactor: reset dbCheckboxes

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

* refactor: rework moonraker db reset

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

* feat: add function to create a mainsail db backup

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

* refactor: fix type of dbCheckboxes

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

* refactor: first restore test

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

* feat: restore db from json file

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

* refactor: rework gui store

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

* fix: rework gui store issues

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

* fix: rework gui store issues with extruder panel

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

* refactor: rename gui/macrogroups to gui/macros and move back to mainsail namespace

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

* fix: ignore simple hide macros settings in expert macro mode

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

* fix: init load bug

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

* refactor: rename gui/consolefilter to gui/console and move back to mainsail namespace and update gui/macros

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

* refactor: remove old function in gui/macros

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

* refactor: rework gui/presets

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

* refactor: rework gui/gcodehistory

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

* refactor: add all gui restart actions in gui restart action

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

* refactor: rework gui/remoteprinters

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

* fix: control store gets

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

* refactor: rework reset moonraker db in interface settings

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

* refactor: rework backup moonraker DB

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

* refactor: rework restore moonraker db

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

* bugfix: backup/restore moonraker db locale

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

* bugfix: backup/restore moonraker db locale, add tempchart

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

* fix: change tempchart settings wrong store path

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

* fix: add view locale to db backup/restore and delete old locale

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

* feat: use /config/.theme/default.json when reset moonraker db to fill in default values after reset

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

* feat: use /config/.theme/default.json when mainsail will be loaded the first time

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

* refactor: add description to backup dialog

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

* fix: save macrogroup update

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 17:06:43 +01: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 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 d224a320fd remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-05-30 00:00:31 +02:00
Stefan Dej bf0bde624e bugfix: tempchart interval duplicates
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-05-29 23:52:19 +02:00
Stefan Dej 9d24bd0c9d cleanup for tooltip filament usage
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-11 21:33:43 +02:00
Stefan Dej 36c2678b29 fix tooltip date for safari browser in history > statistics > filament usage
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-11 21:32:39 +02:00
Emperor 8f6ccf320f add locals - Statistics Panel 2021-04-08 18:57:09 +02:00
Emperor db22c444e2 add locals - Temp Chart 2021-04-08 18:57:09 +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 b3e9d85701 bugfix: destroy resize event before component destroy
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-03 22:11:51 +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 94363d5810 fix tooltip output format of filament usage statistic
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-27 13:14:31 +01:00
Stefan Dej 59543418b0 sync tooltips in history statistics
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-25 22:08:01 +01:00
Stefan Dej 721964cf2c fix tooltip in history allprintstatus chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-24 22:28:04 +01:00
Stefan Dej f70a1813f4 history change chart colors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-23 22:01:53 +01:00
Stefan Dej f43a6d9c37 fix chart sizes after page switch
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-19 10:08:31 +01:00
Stefan Dej 62f4a602d9 change history filament usage chart from line to bar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-16 20:46:38 +01:00
Stefan Dej 8e77e84a6e fix allPrintStatusChart in history
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-16 00:59:36 +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 914a4baad7 bugfix: fix tempchart resize error after switching page
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-12 00:34:02 +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 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 3850d6773a fix margins in micellaneous and tempchart tooltip
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-04 22:45:23 +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
Stefan Dej 306d510719 fix axis label in tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 19:48:55 +01:00
Stefan Dej cb6706415e bugfix: chart rendering disabled when the chart is hidden
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej e872c3e975 tempchart: add units to y axis
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 0128831423 bugfix: disable rendering of tempchart, when dashboard is not focused
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 184d2430c4 update heightmap lib
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00