diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c2e9f45e..d51f581e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ # Changelog All notable changes to Mainsail will be documented in this file. +## [2.13.2](https://github.com/mainsail-crew/mainsail/releases/tag/v2.13.2) - 2024-12-25 +### Bug Fixes and Improvements + +- **Editor**: Fix maximal height of the sidebar ([#2079](https://github.com/mainsail-crew/mainsail/pull/2079)) +- **Editor**: Fix docs link for Kalico ([#2080](https://github.com/mainsail-crew/mainsail/pull/2080)) +- **Tools**: Use gcode commands instead of config gcode macros ([#2088](https://github.com/mainsail-crew/mainsail/pull/2088)) +- **macro-prompts**: Preserve outer quotes ([#2076](https://github.com/mainsail-crew/mainsail/pull/2076)) +- Fix print start from dashboard for subdirectory files ([#2074](https://github.com/mainsail-crew/mainsail/pull/2074)) +- Hide horizontal scrollbar in StartPrintDialog.vue ([#2075](https://github.com/mainsail-crew/mainsail/pull/2075)) +- Fix z_tilt button for z_tilt_ng with Kalico ([#2078](https://github.com/mainsail-crew/mainsail/pull/2078)) + +### Localization + +- **zh**: Update chinese locale ([#2081](https://github.com/mainsail-crew/mainsail/pull/2081)) + ## [2.13.1](https://github.com/mainsail-crew/mainsail/releases/tag/v2.13.1) - 2024-12-07 ### Bug Fixes and Improvements diff --git a/package-lock.json b/package-lock.json index 6e6a39756..2b31fe94d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mainsail", - "version": "2.13.1", + "version": "2.13.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mainsail", - "version": "2.13.1", + "version": "2.13.2", "dependencies": { "@codemirror/commands": "^6.0.1", "@codemirror/lang-css": "^6.0.0", diff --git a/package.json b/package.json index 3f8a41906..b8e9a4b87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mainsail", - "version": "2.13.1", + "version": "2.13.2", "private": true, "decription": "a klipper web interface", "author": { diff --git a/src/components/TheEditor.vue b/src/components/TheEditor.vue index 42dc26266..049bd1db5 100644 --- a/src/components/TheEditor.vue +++ b/src/components/TheEditor.vue @@ -166,7 +166,7 @@ import { Component, Mixins, Ref, Watch } from 'vue-property-decorator' import BaseMixin from '@/components/mixins/base' import { capitalize, formatFilesize, windowBeforeUnloadFunction } from '@/plugins/helpers' import Panel from '@/components/ui/Panel.vue' -import { availableKlipperConfigReferenceTranslations } from '@/store/variables' +import { klipperRepos } from '@/store/variables' import CodemirrorAsync from '@/components/inputs/CodemirrorAsync' import { mdiClose, @@ -346,13 +346,15 @@ export default class TheEditor extends Mixins(BaseMixin) { get klipperConfigReference(): string { const currentLanguage = this.currentLanguage - const translations = availableKlipperConfigReferenceTranslations - let url = 'https://www.klipper3d.org/Config_Reference.html' + const klipperRepo = klipperRepos[this.klipperAppName] ?? klipperRepos.Klipper - if (translations.includes(currentLanguage)) { - url = `https://www.klipper3d.org/${currentLanguage}/Config_Reference.html` + let url = klipperRepo.url + if (klipperRepo.docsLanguages?.includes(currentLanguage)) { + url += `${currentLanguage}/` } + url += 'Config_Reference.html' + return url } diff --git a/src/components/dialogs/StartPrintDialog.vue b/src/components/dialogs/StartPrintDialog.vue index e0642a80c..363f955dd 100644 --- a/src/components/dialogs/StartPrintDialog.vue +++ b/src/components/dialogs/StartPrintDialog.vue @@ -1,5 +1,10 @@