37 Commits

Author SHA1 Message Date
pataar
db9b19ef0f
feat(pwa): add PWA support for https based instances (#654) 2022-02-18 20:54:25 +01:00
pataar
615ee73801
style: use prettier on other file formats as well (#648) 2022-02-16 22:10:16 +01:00
pataar
410610137a
build(vite): migrate to vitejs (#594) 2022-02-08 10:10:06 +01:00
Martin
ced16fbc1b
feat: new design of the web UI (#408)
* refactor(appbar): change buttons to new design

* refactor(appbar): change height and add pritnername

* refactor: small sidebar

* refactor(vuetify): define parts of the mainsail theme and expose colors to css

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: ui settings add missing divider

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: make topbar buttons hideable via ui settings

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move miniConsole buttons to toolbar and make'em collapsible

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: set matching colors for buttons on console page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: use colornames from theme and set play/resume button to green

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct visibility of hide buttons on collapse

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: add virtual tab button to console-input on touch devices

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove hide e-stop button setting

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: add reactivity to hide upload and print button functionality

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move logo to topbar and clip menu under topbar

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove unused TheSidebarPrinterMenu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: create and add about component to sidebar ...no dialog on click yet

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct appearance of the close icon from interface settings dialog

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* Revert "fix: correct appearance of the close icon from interface settings dialog"

This reverts commit f66e29d4f2da5d576bc22c35adfcd26bd1670ff7.
2021-11-13 16:07:15 +01:00
Stefan Dej
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
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
c2c5592452 change sidebar background image from png to svg
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-05-24 13:45:03 +02:00
Eike Ahmels
8eee177c6c image fix, grammar fix 2021-04-02 23:26:46 +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
eliteSCHW31N
a9d82f547d remove default background, add transparent background 2021-03-04 20:53:31 +01:00
eliteSCHW31N
50767fdd44 add custom wallpaper 2021-03-04 20:53:31 +01:00
Stefan Dej
983c5c9bda feature: add customizing sidebar logo
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-29 23:40:40 +01:00
Stefan Dej
ac0f570ec2 feature: custom sidebar background image & custom css
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 21:54:03 +01:00
Stefan Dej
c192cc2f2d feature: customizable sidebar background
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 03:50:39 +01:00
translucentfocus
eaa8288875 Optimized Imgs / Scaled & Repositioned Maskables 2020-11-28 13:11:45 +01:00
Stefan Dej
605c6ee05e bugfix: PWA maskable icons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-27 22:21:20 +01:00
meteyou
1e2c2d15e6 voron clean & update favicon, icons & pwa
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-22 01:35:27 +01:00
meteyou
6da293b494 feature: debug .env.development.local.example for moonraker connection
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-18 21:21:43 +01:00
translucentfocus
7442908405
Initial PWA Support & favicons moved to /img/icons
Inital Commit

Favicon file path fixes & use relative pathing
2020-09-27 22:22:18 -05:00
Stefan Dej
d6eb97ffe1 update guides to 0.2.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 00:04:31 +02:00
Stefan Dej
fb10211b52 typo heart.png
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 23:35:14 +02:00
Stefan Dej
29d5b81b47 feature: add config editor
bugfix: new file named "e" after upload in root directory

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-08 18:26:27 +02:00
Stefan Dej
981b2e854c update docs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-04 00:28:59 +02:00
Stefan Dej
0e598f83a6 bugfix: count missing update ticks of temp sensor to compensate temp chart 2020-07-26 22:53:22 +02:00
Stefan Dej
44a381c243 feature: file manager -> create/remove directores
feature: file manager -> show thumbnails (list + printstart)
2020-07-14 02:57:36 +02:00
Stefan Dej
fb242bc5d3 Update to Moonraker .08-alpha (emergency stop) 2020-07-05 23:43:35 +02:00
Stefan Dej
1e61749175 feature: babystepping, switch between idle interface & printing interface, first tests with PS thumbnails 2020-06-17 23:39:16 +02:00
translucentfocus
78dfbfb131 Renaming kwc to mainsail
Note: package-lock.json still has kwc in the name. I didn't change due to it being build-related
2020-05-25 13:54:36 -05: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
544d5e2db5 update npm packages & change to local dependency 2020-04-19 17:06:31 +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
69fff8fe0e dashboard:
- temp combine table+chart;
- add estimated time by: filament, slicer
- format control buttons

gcode files:
- add meta data
2020-04-12 03:56:32 +02:00
Stefan Dej
54aaf8d0c7 add tool fan, extrusion factor and speed factor to dashbaord; add macro buttons to dashboard; show printer stats in title & favicon 2020-03-26 01:34:51 +01:00
Stefan Dej
21b56a9c55 fix many problems; download gcode files 2020-03-07 21:47:00 +01:00
Stefan Dej
6beea6f546 initial upload 2020-02-18 01:06:48 +01:00