Commit Graph
32 Commits
Author SHA1 Message Date
Stefan Dejandpataar 94ce369f98 feat: display gcodeviewer always and store klipper settings in moonraker DB as a fallback (#725)
* refactor: save necessary klipper settings in database

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

* refactor: use klipper cache data as fallback for the gcode viewer

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

* fix: update gcodeviewer klipper cache action

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

* feat: display gcodeviewer always in the navi

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

* fix: typo in klipper cache fallback in gcodeviewer

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

* refactor: remove debug output

Co-authored-by: pataar <pietering1@gmail.com>

* style: fix code format

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

Co-authored-by: pataar <pietering1@gmail.com>
2022-03-21 15:42:58 +01:00
pataar 213bffd3e4 refactor: replace font icons with their svg counterparts (#646) 2022-03-02 22:55:27 +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 f6fe02a347 fix: hide console, when klipper is not connected to moonraker
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 17:01:40 +01:00
Stefan Dej 8ef89d42f0 fix: enable g-code files, history and jobqueue when klipper is not ready
also disable all start print buttons in each component

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 16:55:50 +01:00
Stefan DejandFrY Sennberg 216099c524 feat: gui for the timelapse moonraker plugin (#417)
* feature: initial upload of timelapse support

- add navipoint timelapse
- show filelist of timelapse
- display status and add important settings

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

* feature: hide frame count if its zero

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

* feature: add timelapse option to start print dialog

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

* bugfix: block "print start" dialog, if printer is printing

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

* chore: simplify getConsoleFilterRules getter

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

* feature: add console filter for timelapse gcodes

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

* feature: hide timelapse gcodes in console

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

* chore: update timelapse settings

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

* feature: start timelapse settings in settings menu

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

* feature: add rest of the timelapse settings

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

* timelapse: rearrange and add missing settings  (#364)

* timelapse: rearrange and add missing settings
* timelapse: missing locals
* timelapse: fixed typos and added get/setter of missing settings
* timelapse: added missing settings getDefaultState

* feature: added more options to start print dialog (#366)

* feature: cleanup print start dialog

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

* feature: order timelapse settings and add headlines

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

* feature: add timelapse blocked settings functions (if config exists in configfile)

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

* bugfix: make settings dialog bigger to display timelapse (last line of settings) complete

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

* bugfix: remove headline "camera settings" in timelapse settings

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

* feat: add missing settings and add setting descriptions (#397)

Note: "cameraOptions" are harcoded but should be taken from webcam config (more detail in the dev dc)

* refactor: update timelapse from develop

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

* refactor: update timelapse file manager

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

* fix: uppercase settings doesn't work with moonraker confighelper (#399)

* fix: uppercase settings doesn't work with moonraker confighelper

* fix: uppercase settings doesn't work with moonraker confighelper

* fix: uppercase settings doesn't work with moonraker confighelper

* refactor: fix camera type in timelapse store

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

* refactor: fix merge from develop

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

* refactor: list of available webcams in timelapse settings

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

* fix: check if console exist before checking customFilters for convert to new namespace

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

* refactor: remove debug outputs

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

* feat: add re-rendering option and add snackbar for rendering progress

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

* feat: display zip files in TimelapseFilesPanel.vue

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

* feat: video preview in timelapse

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

* refactor: change icon for zip files

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

* fix(locale): add timelapse to en.json

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

* refactor: add no status message in TL status panel

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

* refactor: add en locale for print start button in files

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

Co-authored-by: FrY Sennberg <fryakatkop@gmail.com>
2021-11-19 23:50:52 +01:00
Stefan Dej fb0bc9755e chore: fix eslint rules and update from develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 20:47:58 +02:00
Stefan Dej b2447ee9d9 Merge branch 'develop' into feature/gcodeviewer
# Conflicts:
#	package-lock.json
#	src/components/TheSettingsMenu.vue
#	src/routes/index.ts
#	src/store/gui/index.ts
2021-08-28 16:41:58 +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
Juan Rosario 5a5f0c5fb3 Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-02 07:28:26 -05:00
Stefan Dej 6999f0a724 cleanup en language file and fix vue-i18n-extract missing keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-02 01:48:20 +02:00
Stefan Dej 8a29847465 bugfix: rename machine url to fix reload issue in machine
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-01 23:38:06 +02:00
Juan Rosario 2ecb3e461c Initial implementation of GCode Viewer in Mainsail 2021-08-01 11:13:44 -05: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 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 00722ab1ca split extract sidebar and topbar from App.vue and display full klipper version number in sidebar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-09 23:16:46 +02:00
Stefan Dej 85770b8489 add names to page components & add dynamic page filter in navi
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-04-08 22:42:01 +02:00
Eike Ahmels 51dda65a6e feature: new editor (#243)
* using monaco

* dirty

* wasm gcode editor

* fixing stuff, working now, except on ios

* style fixes

* ios editor fix

* removed comments

* multi language added
2021-03-29 00:27:59 +02: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 b1e13bce28 change gcode files icon in navi
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-12 13:00:28 +01:00
Stefan Dej 5831e43fba feature: add farm mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-10 02:53:17 +01:00
Stefan Dej e6c19065b9 bugfix: navipoint webcam and nginx redirect use the same url (fix #81)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-23 21:14:11 +02:00
Stefan Dej f351268745 bugfix: Files.vue context menu "print start" -> wrong action
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-03 21:03:24 +02:00
Stefan Dej 7f6a1bcabe bugfix: FW restart fixed
feature: Klippy State Panel
2020-07-07 20:51:20 +02:00
Stefan Dej de9485cc84 update README.md, load tempchart history, update to moonraker 2020-05-09 01:47:30 +02:00
Stefan Dej efc70ca5aa test with new websocket implementation 2020-04-25 21:17:27 +02:00
Stefan Dej 6bc72dcb8c modify nginx config in README;
Settings > Machine > Endstop Status
Settings > Machine > Runout Sensor
2020-04-18 03:13:44 +02:00
Stefan Dej bb18992f80 add interface settings and save gui.json on virtual_sdcard 2020-04-14 00:08:52 +02:00
Stefan Dej 101904bd6d console autocomplete;
tempchart target temp;
settings machinelimits
add webcamsupport
2020-04-12 00:13:40 +02:00
Stefan Dej b26bc80060 start printing 2020-03-06 00:53:27 +01:00
Stefan Dej 6beea6f546 initial upload 2020-02-18 01:06:48 +01:00