Commit Graph
41 Commits
Author SHA1 Message Date
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
Juan Rosario 037e610136 Added more settings. 2021-08-05 18:47:56 -05:00
Juan Rosario 824c68f766 Hide the loading required button earlier 2021-08-05 08:51:56 -05:00
Juan Rosario 7c60c9dd35 Work on settings 2021-08-05 08:10:07 -05:00
Juan Rosario 30fce076bd Added a live tracking button 2021-08-02 20:10:56 -05:00
Juan Rosario d197b78490 Failed render check. 2021-08-02 06:59:46 -05:00
Juan Rosario bf06dd67c5 Turn off loading progress after changing render quality. 2021-08-02 06:56:49 -05:00
Juan Rosario 382943ab7c Loading progress indicator 2021-08-02 06:51:44 -05:00
Juan Rosario 183b5d8e8e Cache off canvas
Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.
2021-08-01 17:25:17 -05:00
Juan Rosario 069e689306 Add render quality and force line mode settings 2021-08-01 15:54:09 -05:00
Juan Rosario 2ecb3e461c Initial implementation of GCode Viewer in Mainsail 2021-08-01 11:13:44 -05:00