Skip to content

Commit faf30c6

Browse files
author
Joel Vandal
committed
Merge remote-tracking branch 'origin/main' into ui-i18n
2 parents 5f9564e + d885b6e commit faf30c6

73 files changed

Lines changed: 3942 additions & 1960 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.trivyignore.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Trivy ignore file
2+
# Add patterns to ignore specific vulnerabilities

.github/trivy.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Trivy Security Scanner Configuration
2+
# Documentation: https://aquasecurity.github.io/trivy/latest/docs/configuration/
3+
4+
scan:
5+
scanners:
6+
- vuln
7+
- secret
8+
9+
skip-dirs:
10+
- node_modules
11+
- .git
12+
- coverage
13+
- ci
14+
15+
severity:
16+
- CRITICAL
17+
- HIGH
18+
- MEDIUM
19+
- LOW
20+
21+
pkg:
22+
types:
23+
- os
24+
- library
25+
include-dev-deps: true
26+
27+
format: "sarif"
28+
ignorefile: ".github/.trivyignore.yaml"
29+
exit-code: 0

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
jobs:
55
build:
6-
uses: 'flowfuse/github-actions-workflows/.github/workflows/build_node_package.yml@v0.42.0'
6+
uses: 'flowfuse/github-actions-workflows/.github/workflows/build_node_package.yml@v0.46.0'
77
with:
88
node: '[
99
{"version": "20", "tests": true, "lint": true},

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
name: github-pages
1515
url: ${{ steps.deployment.outputs.page_url }}
1616
steps:
17-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1818
with:
1919
fetch-depth: 0
20-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
20+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2121
with:
2222
node-version: 20
2323
cache: npm

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
14+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1515
- name: Install Dependencies
1616
run: npm ci
1717
- name: Install Node-RED Dependencies
@@ -20,13 +20,13 @@ jobs:
2020
- name: Run Linting Tests
2121
run: npm run lint
2222
- name: Run Dashboard E2E (Cypress) Tests
23-
uses: cypress-io/github-action@b8ba51a856ba5f4c15cf39007636d4ab04f23e3c # v6.10.2
23+
uses: cypress-io/github-action@2ad32e649e4db26c07674ebae31a297601dbcbaf # v6.10.8
2424
with:
2525
install: false
2626
config-file: cypress.config.js
2727
build: npm run build
2828
start: npm run cy:server
29-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
29+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3030
if: failure()
3131
with:
3232
name: cypress-output

.github/workflows/publish-private.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010

1111
jobs:
1212
build:
13-
uses: 'flowfuse/github-actions-workflows/.github/workflows/build_node_package.yml@v0.42.0'
13+
uses: 'flowfuse/github-actions-workflows/.github/workflows/build_node_package.yml@v0.46.0'
1414
with:
1515
node: '[
1616
{"version": "20", "tests": true, "lint": true},
@@ -20,7 +20,7 @@ jobs:
2020
needs: build
2121
if: |
2222
github.ref == 'refs/heads/main'
23-
uses: 'flowfuse/github-actions-workflows/.github/workflows/publish_node_package.yml@v0.42.0'
23+
uses: 'flowfuse/github-actions-workflows/.github/workflows/publish_node_package.yml@v0.46.0'
2424
with:
2525
package_name: node-red-dashboard
2626
publish_package: true

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
contents: read
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
16+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1717
- name: Setup Node
18-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
18+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
1919
with:
2020
node-version: 20
2121
- name: Install Dependencies
@@ -25,6 +25,6 @@ jobs:
2525
- name: Build
2626
run: npm run build
2727
- name: Publish package to public npm registry
28-
uses: JS-DevTools/npm-publish@ad693561f8a5b5d4c76f14407da60aa15cb10f90 # v4.0.1
28+
uses: JS-DevTools/npm-publish@4ce4bd0f334d5316473155078da1955d42148494 # v4.1.4
2929
with:
3030
token: ${{ secrets.NPM_PUBLISH_TOKEN }}

.github/workflows/sast-scan.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: SAST Scan
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
scan:
18+
name: SAST Scan
19+
uses : flowfuse/github-actions-workflows/.github/workflows/sast_scan.yaml@v0.46.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ FlowFuse also comes with a collection of [FlowFuse Dashboard Blueprints](https:/
3131

3232
## Features
3333

34-
FlowFuse Dashboard provides a base set of nodes for building your own user interfaces and data visualisations. Much like it's predecessor, it provides a set of easy-to-use, core nodes, but provides complete flexibility for customisation and control over theming, layout and behaviour if you want to go further.
34+
FlowFuse Dashboard provides a base set of nodes for building your own user interfaces and data visualisations. Much like its predecessor, it provides a set of easy-to-use, core nodes, but provides complete flexibility for customisation and control over theming, layout and behaviour if you want to go further.
3535

3636
### Easy Integration
3737

cypress/fixtures/flows/dashboard-chart-line-max-3-points.json renamed to cypress/fixtures/flows/dashboard-chart-line-max-limits.json

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
{
33
"id": "chart-1",
44
"type": "ui-chart",
5-
"z": "9524c548fb0b956c",
5+
"z": "b508b2cf4781499a",
66
"group": "dashboard-ui-group",
7-
"name": "line-append-max-3-points",
8-
"label": "line-append-max-3-points",
7+
"name": "line-append-max-3-seconds",
8+
"label": "line-append-max-3-seconds",
99
"order": 2,
1010
"chartType": "line",
1111
"category": "",
@@ -16,18 +16,22 @@
1616
"xAxisType": "time",
1717
"xAxisFormat": "",
1818
"xAxisFormatType": "auto",
19+
"xmin": "",
20+
"xmax": "",
1921
"yAxisLabel": "",
2022
"yAxisProperty": "",
23+
"yAxisPropertyType": "property",
2124
"ymin": "",
2225
"ymax": "",
26+
"bins": "",
2327
"action": "append",
2428
"stackSeries": false,
2529
"pointShape": "circle",
2630
"pointRadius": 4,
2731
"showLegend": true,
28-
"removeOlder": 1,
29-
"removeOlderUnit": "3600",
30-
"removeOlderPoints": "3",
32+
"removeOlder": "3",
33+
"removeOlderUnit": "1",
34+
"removeOlderPoints": "",
3135
"colors": [
3236
"#1f77b4",
3337
"#aec7e8",
@@ -50,16 +54,17 @@
5054
"width": 6,
5155
"height": "4",
5256
"className": "",
53-
"x": 1690,
54-
"y": 640,
57+
"interpolation": "linear",
58+
"x": 580,
59+
"y": 40,
5560
"wires": [
5661
[]
5762
]
5863
},
5964
{
6065
"id": "da1332f160b6a255",
6166
"type": "inject",
62-
"z": "9524c548fb0b956c",
67+
"z": "b508b2cf4781499a",
6368
"name": "",
6469
"props": [
6570
{
@@ -77,8 +82,8 @@
7782
"topic": "",
7883
"payload": "[]",
7984
"payloadType": "json",
80-
"x": 1490,
81-
"y": 680,
85+
"x": 370,
86+
"y": 80,
8287
"wires": [
8388
[
8489
"chart-1"
@@ -88,7 +93,7 @@
8893
{
8994
"id": "13bf93c81c0bd0a7",
9095
"type": "change",
91-
"z": "9524c548fb0b956c",
96+
"z": "b508b2cf4781499a",
9297
"name": "rand",
9398
"rules": [
9499
{
@@ -104,8 +109,8 @@
104109
"from": "",
105110
"to": "",
106111
"reg": false,
107-
"x": 1490,
108-
"y": 640,
112+
"x": 370,
113+
"y": 40,
109114
"wires": [
110115
[
111116
"chart-1"
@@ -115,11 +120,11 @@
115120
{
116121
"id": "12a55e898bb4162f",
117122
"type": "ui-button",
118-
"z": "9524c548fb0b956c",
123+
"z": "b508b2cf4781499a",
119124
"group": "dashboard-ui-group",
120125
"name": "random",
121126
"label": "random",
122-
"order": 0,
127+
"order": 1,
123128
"width": 0,
124129
"height": 0,
125130
"emulateClick": true,
@@ -136,8 +141,9 @@
136141
"buttonColor": "",
137142
"textColor": "",
138143
"iconColor": "",
139-
"x": 1340,
140-
"y": 640,
144+
"enableClick": true,
145+
"x": 220,
146+
"y": 40,
141147
"wires": [
142148
[
143149
"13bf93c81c0bd0a7"
@@ -161,33 +167,36 @@
161167
"id": "dashboard-ui-page-1",
162168
"type": "ui-page",
163169
"name": "import demos",
164-
"ui": "dashboard-ui-base",
170+
"ui": "72c1e5a9ec204878",
165171
"path": "/page4",
166172
"icon": "home",
167173
"layout": "grid",
168174
"theme": "dashboard-ui-theme",
169-
"order": 1,
175+
"order": 2,
170176
"className": "",
171177
"visible": "true",
172178
"disabled": "false"
173179
},
174180
{
175-
"id": "dashboard-ui-base",
181+
"id": "72c1e5a9ec204878",
176182
"type": "ui-base",
177-
"name": "base",
183+
"name": "My Dashboard",
178184
"path": "/dashboard",
185+
"appIcon": "",
179186
"includeClientData": true,
180187
"acceptsClientConfig": [
181188
"ui-notification",
182189
"ui-control"
183190
],
184191
"showPathInSidebar": false,
192+
"headerContent": "page",
185193
"navigationStyle": "default",
186-
"titleBarStyle": "default"
194+
"titleBarStyle": "default",
195+
"showReconnectNotification": true,
196+
"notificationDisplayTime": 5,
197+
"showDisconnectNotification": true,
198+
"allowInstall": true
187199
},
188-
189-
190-
191200
{
192201
"id": "dashboard-ui-theme",
193202
"type": "ui-theme",
@@ -207,4 +216,4 @@
207216
"density": "default"
208217
}
209218
}
210-
]
219+
]

0 commit comments

Comments
 (0)