From d4b5fa62ba5f30f5b7af627a27861f623e2eb4f2 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Mon, 17 Jan 2022 12:23:25 +0100 Subject: [PATCH 1/4] Added unit to edit form Signed-off-by: Christian Wolf --- src/components/RecipeEdit.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/RecipeEdit.vue b/src/components/RecipeEdit.vue index 7430a280d..ba3061efa 100644 --- a/src/components/RecipeEdit.vue +++ b/src/components/RecipeEdit.vue @@ -23,15 +23,15 @@ /> Date: Mon, 17 Jan 2022 13:11:31 +0100 Subject: [PATCH 2/4] Added unit in view of recipes Signed-off-by: Christian Wolf --- src/components/RecipeTimer.vue | 6 +----- src/components/RecipeView.vue | 9 +++------ 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/components/RecipeTimer.vue b/src/components/RecipeTimer.vue index ae0f54ae3..4716ba083 100644 --- a/src/components/RecipeTimer.vue +++ b/src/components/RecipeTimer.vue @@ -6,7 +6,7 @@ :class="countdown === null ? 'icon-play' : 'icon-pause'" @click="timerToggle" > -

{{ t("cookbook", label) }}

+

{{ label }}

{{ displayTime }}

@@ -21,10 +21,6 @@ export default { return { hours: 0, minutes: 0 } }, }, - phase: { - type: String, - default: "", - }, label: { type: String, default: "", diff --git a/src/components/RecipeView.vue b/src/components/RecipeView.vue index daf07291e..c99b520fa 100644 --- a/src/components/RecipeView.vue +++ b/src/components/RecipeView.vue @@ -72,23 +72,20 @@ From 7858cdab8ad3a200addcdd2531e35ce26db6c06f Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Mon, 17 Jan 2022 13:14:13 +0100 Subject: [PATCH 3/4] Update Changelog Signed-off-by: Christian Wolf --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2de21181..b767454cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ### Fixed - Added app info XML back to allow automatic translations [#878](https://github.com/nextcloud/cookbook/pull/878) @christianlupus +- Added unit hints in the labels of the timers + [#879](https://github.com/nextcloud/cookbook/pull/879) @christianlupus ## 0.9.9 - 2022-01-13 From 0aa16b2407ad9c1e86086cf0bb4189f44411cec7 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Mon, 17 Jan 2022 13:42:15 +0100 Subject: [PATCH 4/4] Revert "Fix bug in MinifyCssExtractPlugin to avoid compile time error" This reverts commit ceffc31b4195f02540c00418926663d8b1b3c048. Signed-off-by: Christian Wolf --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 275273148..a9e8dfd5f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,7 @@ const path = require('path') const { VueLoaderPlugin } = require('vue-loader') const LodashModuleReplacementPlugin = require('lodash-webpack-plugin') const { CleanWebpackPlugin } = require('clean-webpack-plugin') -const MiniCssExtractPlugin = require("mini-css-extract-plugin").default +const MiniCssExtractPlugin = require("mini-css-extract-plugin") module.exports = {