Skip to content

Commit

Permalink
FEAT: Add types, add copy rows (#186)
Browse files Browse the repository at this point in the history
* Remove any and add types

* Add copy button

* Add copy button

* daten durchreichen und struktur

* props

* Seite eingerichtet

* props

* fix nav, daten werden wieder angezeigt

* fixed action

* fixes

* fix

* add more types

* error in action

* fix

* menu

* Add types prevState and prevProps

* Fix delete row

* fix

* copy

* buttons gobal in HeaderMenu

* add subtable

* fix handle drag

* styleing und select alt entfernt

* erster erfolg pushen

* copy

* function umgebaut

* Copy completed

* RenameModal

* disabled fixed

* types

* add types

* remove checkbox_legacy

* remove button_legacy

* types

* errors fixed

* more types

* fix

* errors fixed

* fix

* refactor

* styling

* table

* fix dropbox

* types

* types

* translation

* translation

* rename

* translation

* build

* Revert "rename"

This reverts commit 27a0246.

* revert rename

* translation and styling
  • Loading branch information
MiRo1310 authored Oct 13, 2024
1 parent dfaa2c1 commit 15e82e1
Show file tree
Hide file tree
Showing 151 changed files with 4,788 additions and 4,092 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = {
rules: {
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "warn",
"@typescript-eslint/no-use-before-define": [
"error",
{
Expand Down Expand Up @@ -56,6 +57,7 @@ module.exports = {
"arrow-parens": ["error", "always"],
curly: ["error", "all"],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-namespace": "off",
},
overrides: [
{
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"grafana",
"iobroker",
"macarons",
"nbsp",
"novalue",
"Rolladen",
"roma",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ You can create different groups with separate menus, and then assign users to th

### **WORK IN PROGRESS**

- FEAT: #175 Copy function in Action, Renamed Switch to Toggle
- FIX: #176 Error in setDynamic value
- FIX: #181 Required values in setState

Expand Down
10 changes: 5 additions & 5 deletions admin/GenericApp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ declare class GenericApp<P = {}, S = {}> extends Router<
isConfigurationError: string;
expertMode: boolean;
toast: string;
theme: import("./types").Theme;
theme: import("./src/types").Theme;
themeName: string;
themeType: string;
bottomButtons: boolean;
width: import("./types").Width;
width: import("./src/types").Width;
confirmClose: boolean;
_alert: boolean;
_alertType: string;
Expand Down Expand Up @@ -80,19 +80,19 @@ declare class GenericApp<P = {}, S = {}> extends Router<
* @param {string} name Theme name
* @returns {import('./types').Theme}
*/
createTheme(name?: string): import("./types").Theme;
createTheme(name?: string): import("./src/types").Theme;
/**
* Get the theme name
* @param {import('./types').Theme} currentTheme Theme
* @returns {string} Theme name
*/
getThemeName(currentTheme: import("./types").Theme): string;
getThemeName(currentTheme: import("./src/types").Theme): string;
/**
* Get the theme type
* @param {import('./types').Theme} currentTheme Theme
* @returns {string} Theme type
*/
getThemeType(currentTheme: import("./types").Theme): string;
getThemeType(currentTheme: import("./src/types").Theme): string;
/**
* Changes the current theme
* @param {string} newThemeName Theme name
Expand Down
Loading

0 comments on commit 15e82e1

Please sign in to comment.