From 89c34643fc8cabbb63f290c7501091b09c88bd84 Mon Sep 17 00:00:00 2001 From: ajnart Date: Wed, 18 Jan 2023 17:54:18 +0900 Subject: [PATCH 1/4] :pencil2: Try to fix locales on vercel --- next-i18next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next-i18next.config.js b/next-i18next.config.js index b1b50ec42..5d52e6dcf 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -1,3 +1,5 @@ +const path = require('path'); + module.exports = { // https://www.i18next.com/overview/configuration-options#logging i18n: { @@ -23,6 +25,7 @@ module.exports = { 'uk', 'zh', ], + localePath: path.resolve('./public/locales'), fallbackLng: 'en', localeDetection: true, returnEmptyString: false, From 3853cd6a72f1d404af1ce1e74821f4b565b54ed7 Mon Sep 17 00:00:00 2001 From: Thomas Camlong <49837342+ajnart@users.noreply.github.com> Date: Wed, 18 Jan 2023 18:13:22 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=94=A8=20Change=20demo=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 14fca34f2..971a217ad 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@

Read the Docs

- Demo ↗️ Install ➡️ + Demo ↗️ Install ➡️

--- From 1e6703ec3fef245f02e034fbd9f3984c1592cf91 Mon Sep 17 00:00:00 2001 From: Manuel <30572287+manuel-rw@users.noreply.github.com> Date: Wed, 18 Jan 2023 13:30:20 +0100 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=90=9B=20Fix=20config=20migrator=20wr?= =?UTF-8?q?apper=20positons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Overview/AvailableElementsOverview.tsx | 2 +- src/tools/config/migrateConfig.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Dashboard/Modals/SelectElement/Components/Overview/AvailableElementsOverview.tsx b/src/components/Dashboard/Modals/SelectElement/Components/Overview/AvailableElementsOverview.tsx index d746ae334..edb689821 100644 --- a/src/components/Dashboard/Modals/SelectElement/Components/Overview/AvailableElementsOverview.tsx +++ b/src/components/Dashboard/Modals/SelectElement/Components/Overview/AvailableElementsOverview.tsx @@ -50,7 +50,7 @@ export const AvailableElementTypes = ({ { id: uuidv4(), // Thank you ChatGPT ;) - position: previousConfig.categories.length + 1, + position: previousConfig.wrappers.length + 1, }, ], categories: [ diff --git a/src/tools/config/migrateConfig.ts b/src/tools/config/migrateConfig.ts index 595635a72..f6e8b9c37 100644 --- a/src/tools/config/migrateConfig.ts +++ b/src/tools/config/migrateConfig.ts @@ -47,7 +47,7 @@ export function migrateConfig(config: Config): ConfigType { wrappers: [ { id: 'default', - position: 1, + position: 0, }, ], }; From beabe75fb1ed57a1bcdee28c66685e121cbd6232 Mon Sep 17 00:00:00 2001 From: Manuel <30572287+manuel-rw@users.noreply.github.com> Date: Wed, 18 Jan 2023 15:26:31 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=94=96=20Bump=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/constants.ts b/data/constants.ts index bad03062e..f09f2c3b9 100644 --- a/data/constants.ts +++ b/data/constants.ts @@ -1,3 +1,3 @@ export const REPO_URL = 'ajnart/homarr'; -export const CURRENT_VERSION = 'v0.11.0'; +export const CURRENT_VERSION = 'v0.11.1'; export const ICON_PICKER_SLICE_LIMIT = 36;