Commit Graph
60 Commits
Author SHA1 Message Date
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 615ee73801 style: use prettier on other file formats as well (#648) 2022-02-16 22:10:16 +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 1e54c92b00 fix: default color mode in gcodeviewer was wrong (#559)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-20 22:51:51 +01:00
Stefan Dej 8eb67ae2b6 fix: read nozzle_diameter from klipper config in gcodeviewer (#558)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-20 22:38:31 +01:00
Stefan Dej 06bf0acdc3 fix: workaround to display download status in gcode-viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-16 20:37:33 +01:00
steadyjaw 4ac9b56775 refactor: change default colors (#523)
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-08 00:45:04 +01:00
steadyjaw 0d89f42935 Fix: zSlider and clear button in gcodeviewer (#522)
* refactor: enable zSlider when tracking
* fix: set zSlider to max on start tracking
* fix: disable tracking when pressing CLEAR

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-07 21:41:29 +01:00
steadyjaw 3d14e8ba46 fix: button and input placement based on screen width (#515) 2022-01-06 10:48:15 +01:00
Stefan Dej 814f23213e refactor: remove debug outputs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 00:52:18 +01:00
Stefan Dej f2a33a8e48 fix: recover gcode viewer after switching tabs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 00:35:04 +01:00
steadyjaw 8021d5a7ad refactor: some fixes in 2.1.0 beta and minor changes to ui (#457)
* fix: truncated settings menu

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

* refactor: change probe chips to label

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

* refactor(timelapse): change button color and make responsive

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

* refactor: change display helpers of some buttons

* fix(#390): encodeURI of thumbnails in files page

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

* fix: responsivity of timelapse-page

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

* refactor(timelapse): more responsiveness

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

* refactor(timelapse): no frames found visibility

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

* refactor: tooltip on disabled retract /extrude buttons

* refactor(editor): show "read-only" in title if file is not writable

* fix: visibility of reload button

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

* refactor: select printer dialog new ui style

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

* refactor: add attach prop to inputs w dropdowns

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

* fix: paddings of panels on spec. viewports

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

* refactor: hide spin buttons on number inputs

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

* refactor:  hide-spin-buttons after merging timelapseTab

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2021-12-07 00:36:12 +01:00
Stefan Dej eaba28e24b fix: reload required bug
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-29 23:44:10 +01:00
steadyjaw ad52728131 fix: UI fixes and changes on timelapse page (#430)
* fix: truncated settings menu

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

* refactor: change probe chips to label

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

* refactor(timelapse): change button color and make responsive

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

* refactor: change display helpers of some buttons

* fix(#390): encodeURI of thumbnails in files page

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

* fix: responsivity of timelapse-page

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

* refactor(timelapse): more responsiveness

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2021-11-23 00:14:08 +01:00
steadyjaw 8a4a4ce234 refactor: button overhaul and minor changes to the ui (#413)
* 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 f66e29d4f2.

* refactor: close ui settings on ESC and change close icon to tile

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

* refactor: change font style in wide sidebar and extend width of wide menu

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

* refactor: change menu style ui-settings-entry to dropdown

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

* refactor: correct variablenames in locales

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

* refactor: re-do menuStyle setting implementation

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

* refactor(miniconsole): change collapse button to tile and remove empty cols and row in template

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

* refactor: gui variables and button appearance in toolbars

* move some vars to configure gui appearance to variables.ts

* force buttons in bars to 100% height

* set icon button width to toolbar-heigth

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

* refactor(heightmap): add autofocus and close on ESC to dialogs

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

* refactor(throttledStates): bigger dropdownlist in favor of readability

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

* refactor(confFiles): change imageviewer topbar to darkcolor and move close button to left

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

* fix: camera-dropdown visability condition

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

* refactor(history): ad close on ESC on dialogs

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

* refactor: button overhaul

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

* fix: correct navigation width and change variablenames

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

* fix: change more close buttons to tiles

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2021-11-19 21:07:22 +01:00
Stefan Dej 840d8c1c96 fix: wrong download link for load current file in g-code viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 23:23:30 +01:00
Stefan Dej cb2da07479 feat: change overlaps-scrollbar instead of perfect-scrollbar (#400)
perfect-scrollbar have issues with touch devices

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 17:38:56 +01:00
Stefan Dej 7ce9dc30a6 refactor: change panel buttons to toolbar text/icon buttons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 14:04:11 +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 eadc796e01 Feature: exclude objects (#362)
* feature: add exclude objects on the dashboard
* chore: fix ts issues from status panel
* chore: update gcodeviewer to v2.1.12
* feature: add object selection to gcode viewer

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-26 17:32:11 +02:00
Stefan Dej 10a867227f chore: change tracking button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 20:40:41 +02:00
Stefan Dej f93ee19b9a bugfix: add resize listener to gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 20:40:15 +02:00
Stefan Dej d3c1d1409d feature: add some rendering options to gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 00:45:49 +02:00
Stefan Dej c8551abdda feature: optimize g-code viewer workflow and button positions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 16:44:14 +02:00
Stefan Dej 58bbe40a8c bugfix: fix issue with enable/disable live tracking
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 01:03:45 +02:00
Stefan Dej 638dd0dcb3 feature: automatic rendering after changing color mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 00:13:53 +02:00
Stefan Dej 5b622fdcd9 feature: move color mode select from settings to gcode viewer page and remove debounce of z slider
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 00:04:55 +02:00
Stefan Dej 395ead7ce1 bugfix: force redraw after changing z-slider and fix rendering snackbar after fileupload with url
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 23:24:42 +02:00
Stefan Dej 2c38aad7fd feature: add snackbar for display the downloading gcode file and option to cancel it
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 23:00:15 +02:00
Stefan Dej 1c1ce285bd bugfix: remove viewer from vuex
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 22:16:17 +02:00
Stefan Dej bb15bbec08 feature: add snackbar for display the rendering process and cancel it
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 21:06:58 +02:00
Stefan Dej 542e094348 feature: add backup and restore gcode viewer state
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 19:09:07 +02:00
Stefan Dej 61232dfd95 chore: update gcodeviewer to v2.1.10
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-12 15:00:23 +02:00
Stefan Dej c0a1bdd1d6 chore(editor): update gcodeviewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 11:43:11 +02:00
Stefan Dej 62e2147f0b bugfix(gcodeviewr): fix z slider height
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 02:04:00 +02:00
Stefan Dej 586977cc89 chore(gcodeviewr): fix some types
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 01:12:02 +02:00
Stefan Dej 2f88def03a chore(gcodeviewr): convert to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 01:06:24 +02: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
Juan Rosario b078b141f1 Created forceRedraw to deal with a timing issue when starting tracking. 2021-08-26 18:00:40 -05:00
Juan Rosario 5659365588 A timeout is needed to reset the visual 2021-08-26 14:34:54 -05:00
Juan Rosario c27857d1bb Set tracking position to 0 when starting tracking. 2021-08-26 14:08:56 -05:00
Juan Rosario e896590eb0 Update to @sindarius/gcodeviewer 2.0.4
Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.
2021-08-25 21:47:43 -05:00
Juan Rosario be470f91f7 Multiple UI Updates
Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area
2021-08-06 19:37:33 -05:00
Juan Rosario 601c52af40 Move loading progress bar 2021-08-06 14:51:32 -05:00
Juan Rosario 0cf99e8bba Force line rendering is saved
Addressed an issue where watchers could try to fire on  a viewer that is not initialized
2021-08-06 14:36:42 -05:00
Juan Rosario 189c7e428f Bed and Delta 2021-08-06 13:57:48 -05:00
Juan Rosario c6c67996b5 Set ZClipPlane for WebGL1 viewers 2021-08-06 06:52:45 -05:00
Juan Rosario 8cc9018b58 min and max feed coloring settings 2021-08-05 20:28:29 -05:00