diff --git a/dev/dev-notes.md b/dev/dev-notes.md
index f5d3ad44f..2062d6be5 100644
--- a/dev/dev-notes.md
+++ b/dev/dev-notes.md
@@ -16,15 +16,7 @@ Don't forget to [join the Discord](https://discord.gg/R6QDyJgbD2)!
# Todo's
-Documentation
-- [ ] V0.1.0 Release Notes
-- [ ] Nextcloud Migration How To
-- [ ] New Docker Setup with Sqlite
-- [ ] Update Env Variables
-- [ ] New Roadmap / Milestones
-
Frontend
-- [x] Prep / Cook / Total Time Indicator + Editor
- [ ] No Meal Today Page instead of Null
- [ ] Recipe Print Page
- [ ] Recipe Editor Data Validation Client Side
@@ -32,12 +24,7 @@ Frontend
- [ ] Advanced Search Page, draft started
- [ ] Filter by Category
- [ ] Filter by Tags
-- [ ] Search Bar redesign
- - [x] Initial
- - [ ] Results redesign
-- [x] Replace Backups card with something like Home Assistant
-- [x] Replace import card with something like Home Assistant
- - [x] Select which imports to do
+- [ ] Search Bar Results Redesign
Backend
- [ ] Database Import
@@ -46,11 +33,10 @@ Backend
- [ ] Meal Plans
- [x] Settings
- [x] Themes
-- [x] Remove Print / Debug Code
+- [ ] Remove Print / Debug Code
- [ ] Support how to sections and how to steps
- [ ] Recipe request by category/tags
-
SQL
- [ ] Setup Database Migrations
diff --git a/docs/docs/roadmap.md b/docs/docs/roadmap.md
index 85d079eba..f752f9bbe 100644
--- a/docs/docs/roadmap.md
+++ b/docs/docs/roadmap.md
@@ -38,7 +38,7 @@ Feature placement is not set in stone. This is much more of a guideline than any
- [ ] Additional Backup / Import Features
- [ ] Import Recipes Force/Rebase options
- [x] Upload .zip file
-- [ ] Improved Color Picker
+- [x] Improved Color Picker
- [x] Meal Plan redesign
### Backend
- [ ] PostgreSQL Support
diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index 98c56b8ca..630fa1cce 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -58,6 +58,7 @@ export default {
mounted() {
this.$store.dispatch("initTheme")
this.$store.dispatch("requestRecentRecipes")
+ this.$store.dispatch("initLang")
this.darkModeSystemCheck()
this.darkModeAddEventListener()
},
diff --git a/frontend/src/components/Settings/General/index.vue b/frontend/src/components/Settings/General/index.vue
new file mode 100644
index 000000000..3e3ac3cef
--- /dev/null
+++ b/frontend/src/components/Settings/General/index.vue
@@ -0,0 +1,50 @@
+
+
+ General Settings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/Settings/Theme/ColorPickerDialog.vue b/frontend/src/components/Settings/Theme/ColorPickerDialog.vue
index 4bb01301e..3504e9e49 100644
--- a/frontend/src/components/Settings/Theme/ColorPickerDialog.vue
+++ b/frontend/src/components/Settings/Theme/ColorPickerDialog.vue
@@ -1,44 +1,9 @@
-
-
-
+
+
{{ buttonText }}
+
+
-
+
@@ -71,7 +36,7 @@ export default {
return {
dialog: false,
swatches: false,
- color: "#1976D2FF",
+ color: "#1976D2",
mask: "!#XXXXXXXX",
menu: false,
};
diff --git a/frontend/src/i18n.js b/frontend/src/i18n.js
index 2b285c50a..41d46703c 100644
--- a/frontend/src/i18n.js
+++ b/frontend/src/i18n.js
@@ -1,23 +1,27 @@
-import Vue from 'vue'
-import VueI18n from 'vue-i18n'
+import Vue from "vue";
+import VueI18n from "vue-i18n";
-Vue.use(VueI18n)
+Vue.use(VueI18n);
-function loadLocaleMessages () {
- const locales = require.context('./locales', true, /[A-Za-z0-9-_,\s]+\.json$/i)
- const messages = {}
+function loadLocaleMessages() {
+ const locales = require.context(
+ "./locales",
+ true,
+ /[A-Za-z0-9-_,\s]+\.json$/i
+ );
+ const messages = {};
locales.keys().forEach(key => {
- const matched = key.match(/([A-Za-z0-9-_]+)\./i)
+ const matched = key.match(/([A-Za-z0-9-_]+)\./i);
if (matched && matched.length > 1) {
- const locale = matched[1]
- messages[locale] = locales(key)
+ const locale = matched[1];
+ messages[locale] = locales(key);
}
- })
- return messages
+ });
+ return messages;
}
export default new VueI18n({
- locale: process.env.VUE_APP_I18N_LOCALE || 'en',
- fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || 'en',
- messages: loadLocaleMessages()
-})
+ locale: "en",
+ fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || "en",
+ messages: loadLocaleMessages(),
+});
diff --git a/frontend/src/main.js b/frontend/src/main.js
index 76a58cfef..a99f64d6a 100644
--- a/frontend/src/main.js
+++ b/frontend/src/main.js
@@ -4,7 +4,7 @@ import vuetify from "./plugins/vuetify";
import store from "./store/store";
import VueRouter from "vue-router";
import { routes } from "./routes";
-import i18n from './i18n'
+import i18n from "./i18n";
Vue.config.productionTip = false;
Vue.use(VueRouter);
@@ -14,12 +14,13 @@ const router = new VueRouter({
mode: process.env.NODE_ENV === "production" ? "history" : "hash",
});
+
new Vue({
vuetify,
store,
router,
i18n,
- render: (h) => h(App)
+ render: h => h(App),
}).$mount("#app");
// Truncate
diff --git a/frontend/src/pages/SettingsPage.vue b/frontend/src/pages/SettingsPage.vue
index 441029ef3..bc1d2a924 100644
--- a/frontend/src/pages/SettingsPage.vue
+++ b/frontend/src/pages/SettingsPage.vue
@@ -13,7 +13,8 @@
"
>
-
+
+
@@ -39,6 +40,7 @@