feat: add app widget (#206)

* refactor: move server api to api package

* feat: add app widget

* refactor: add element size for widget components on board

* feat: add resize listener for widget width

* feat: add widget app input

* refactor: add better responsibe layout, add missing translations

* fix: ci issues

* fix: deepsource issues

* chore: address pull request feedback
This commit is contained in:
Meier Lukas authored and GitHub committed 2024-03-12 21:23:25 +01:00
1 parent 7d5b999ab8
commit c4ff968cbc
31 files changed
+561 -78

No files matched your search

+5
View File
@@ -104,6 +104,11 @@ const optionsFactory = {
defaultValue: input?.defaultValue ?? [],
withDescription: input?.withDescription ?? false,
}),
app: (input?: Omit<CommonInput<string>, "defaultValue">) => ({
type: "app" as const,
defaultValue: "",
withDescription: input?.withDescription ?? false,
}),
};
type WidgetOptionFactory = typeof optionsFactory;