Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
Add missing ref
Bump version
Rebuild package
  • Loading branch information
luc-github committed Jun 27, 2024
1 parent f77d421 commit 5452a06
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 15 deletions.
Binary file modified dist/CNC/GRBL/index.html.gz
Binary file not shown.
Binary file modified dist/CNC/GRBLHal/index.html.gz
Binary file not shown.
Binary file modified dist/Plotter/HP-GL/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Marlin-embedded/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Marlin/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Repetier/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Smoothieware/index.html.gz
Binary file not shown.
Binary file modified dist/SandTable/GRBL/index.html.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/App/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
import { h } from "preact"
import { webUIbuild } from "../../targets"
export const webUIversion = "3.0.0-a67"
export const webUIversion = "3.0.0-a68"
export const Esp3dVersion = () => (
<span>
{webUIversion}.{webUIbuild}
Expand Down
7 changes: 4 additions & 3 deletions src/components/ExtraContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const ExtraContent = ({
<Fragment>
<span class="m-1" />
<FullScreenButton
panelRef={element}
panelRef={panelRef}
hideOnFullScreen={true}
asButton={true}
/>
Expand Down Expand Up @@ -326,10 +326,11 @@ const ExtraContent = ({
})
if (target == "page")
return (
<Fragment>
<div id={"page_"+id} ref={panelRef} style="height: 100%">
<ContainerHelper id={"page_"+id} />
<MainContent />
<ControlButtons />
</Fragment>
</div>
)
if (target == "panel") {
const displayIcon = iconsList[icon] ? iconsList[icon] : ""
Expand Down
16 changes: 8 additions & 8 deletions src/hooks/useSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const useSettings = () => {
connectionSettings.current.Screen = "none"
}
processData("core", "ESP800", true)
console.log(connectionSettings.current)
//console.log(connectionSettings.current)
document.title = connectionSettings.current.Hostname
if (
!connectionSettings.current.HostPath ||
Expand Down Expand Up @@ -326,7 +326,7 @@ const useSettings = () => {
if (elem) elem.parentNode.removeChild(elem)

if (themepack != "default") {
console.log("Loading theme: " + themepack)
//console.log("Loading theme: " + themepack)
createNewRequest(
espHttpURL(
useSettingsContextFn.getValue("HostDownloadPath") +
Expand Down Expand Up @@ -380,15 +380,15 @@ const useSettings = () => {
onSuccess: (result) => {
const jsonResult = JSON.parse(result)

console.log("preferences.json")
console.log(jsonResult)
//console.log("preferences.json")
//console.log(jsonResult)
const [preferences_settings, haserrors] = importPreferencesSection(
defaultPreferences.settings,
jsonResult.settings
)
console.log("Format preferences.settings")
//console.log("Format preferences.settings")
formatPreferences(preferences_settings)
console.log(preferences_settings)
//console.log(preferences_settings)
uisettings.set(
JSON.parse(JSON.stringify(preferences_settings))
)
Expand All @@ -411,8 +411,8 @@ const useSettings = () => {
if (jsonResult.extensions) {
interfaceSettings.current.extensions = jsonResult.extensions
}
console.log("interfaceSettings.current")
console.log(interfaceSettings.current)
//console.log("interfaceSettings.current")
//console.log(interfaceSettings.current)

//Mobile view
if (uisettings.getValue("mobileview", preferences_settings))
Expand Down
6 changes: 3 additions & 3 deletions src/pages/dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ const Dashboard = () => {

useEffect(() => {
if (!intialisationDone) {
console.log("Init")
//console.log("Init")
intialisationDone = true
console.log(uisettings.getValue("enableshortcuts"))
//console.log(uisettings.getValue("enableshortcuts"))
setIsKeyboardEnabled(uisettings.getValue("enableshortcuts"))
shortcuts.enable(uisettings.getValue("enableshortcuts"))
} else {
console.log("Init Done")
//console.log("Init Done")
}
}, [])

Expand Down

0 comments on commit 5452a06

Please sign in to comment.