feat: add widget preview pages (#9)

* feat: add widget definition system

* fix: wrong typecheck command in turbo generator

* chore: fix formatting

* feat: add widget preview page

* chore: fix formatting and type errors

* chore: fix from widget edit modal and remove some never casts

* chore: address pull request feedback
This commit is contained in:
Meier Lukas
2024-01-02 15:36:59 +01:00
committed by GitHub
parent fa19966fcc
commit 782897527f
48 changed files with 1226 additions and 81 deletions

View File

@@ -26,4 +26,36 @@ export default {
create: "Benutzer erstellen",
},
},
widget: {
clock: {
option: {
is24HourFormat: {
label: "24-Stunden Format",
description: "Use 24-hour format instead of 12-hour format",
},
isLocaleTime: {
label: "Use locale time",
},
timezone: {
label: "Timezone",
},
},
},
weather: {
option: {
location: {
label: "Standort",
},
showCity: {
label: "Stadt anzeigen",
},
},
},
},
common: {
search: {
placeholder: "Suche nach etwas...",
nothingFound: "Nichts gefunden",
},
},
} as const;

View File

@@ -26,4 +26,36 @@ export default {
create: "Create user",
},
},
widget: {
clock: {
option: {
is24HourFormat: {
label: "24-hour format",
description: "Use 24-hour format instead of 12-hour format",
},
isLocaleTime: {
label: "Use locale time",
},
timezone: {
label: "Timezone",
},
},
},
weather: {
option: {
location: {
label: "Location",
},
showCity: {
label: "Show city",
},
},
},
},
common: {
search: {
placeholder: "Search for anything...",
nothingFound: "Nothing found",
},
},
} as const;