Skip to content

Commit

Permalink
Added new view option: Limit only for specific instances (#490)
Browse files Browse the repository at this point in the history
* Changed copyright

* * (bluefox) Added new option for view: "Limit only for instances"
  • Loading branch information
GermanBluefox authored Nov 22, 2024
1 parent 437d432 commit 02b9628
Show file tree
Hide file tree
Showing 70 changed files with 8,695 additions and 8,389 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ npm run start
### **WORK IN PROGRESS**
-->
## Changelog
### **WORK IN PROGRESS**
* (bluefox) Added new option for view: "Limit only for instances"

### 2.10.7 (2024-07-23)
* (bluefox) Optimization of the module federation

Expand Down
1 change: 1 addition & 0 deletions packages/iobroker.vis-2/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"start": "craco start",
"old-start": "react-scripts start",
"types": "tsc ./src/Vis/visRxWidget.tsx --declaration --emitDeclarationOnly --outDir ../../types-vis-2",
"lint": "eslint --fix --ext .js,.jsx src",
"build": "craco build",
"test": "react-scripts test",
Expand Down
2 changes: 1 addition & 1 deletion packages/iobroker.vis-2/src/public/lib/js/ace/ace.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions packages/iobroker.vis-2/src/src/Attributes/View/Items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,14 @@ export function getFields(
hidden: 'data.sizex === undefined && data.sizey === undefined',
notStyle: true,
},
{
type: 'text',
label: 'Limit only for instances',
attr: 'limitForInstances',
hidden: '!data.limitScreen',
title: 'Enter the browser instances divided by comma',
notStyle: true,
},
{
type: 'checkbox',
label: 'Only for desktop',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2022-2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2022-2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2022-2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2022-2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023-2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2023 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
4 changes: 2 additions & 2 deletions packages/iobroker.vis-2/src/src/Vis/Widgets/Swipe/Swipe.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ioBroker.vis
* https://github.com/ioBroker/ioBroker.vis
* ioBroker.vis-2
* https://github.com/ioBroker/ioBroker.vis-2
*
* Copyright (c) 2024 Denis Haev https://github.com/GermanBluefox,
* Creative Common Attribution-NonCommercial (CC BY-NC)
Expand Down
Loading

0 comments on commit 02b9628

Please sign in to comment.